[Solved] System reporting errors, how to fix?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

[Solved] System reporting errors, how to fix?

Post by danost »

Cinnamon on mint 17.3 reporting errors, please see attachment
Now when trying to install programs from repository, error message "can't install file, check internet connection", my internet connection works for everything else.
When I try to uninstall what was only partly installed (per the above line), error message, "can't uninstall file, check internet connection"
What to do for this "internet" problem, internet is actually working fine for all else, internet, email, etc.
Last edited by danost on Wed Jan 31, 2018 1:23 pm, edited 1 time in total.
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

Post all output of this command from terminal. All the output with copy/paste , not screenshot.

Code: Select all

sudo apt-get install -f
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

This is I hope what you requested:

4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up emacs24 (24.3+1-2ubuntu1.1) ...
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: /usr/lib/emacsen-common/emacs-install: not found
dpkg: error processing package emacs24 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs24 | emacs24-lucid | emacs24-nox; however:
Package emacs24 is not configured yet.
Package emacs24-lucid is not installed.
Package emacs24-nox is not installed.

dpkg: error processing package emacs (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of git-el:
git-el depends on emacs | emacsen; however:
Package emacs is not configured yet.
Package emacsen is not installed.
Package emacs24 which provides emacsen is not configured yet.

dpkg: error processing package git-el (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of git-all:
git-all depends on git-el; however:
Package git-el is not configured yet.

dpkg: error processing package git-all (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs24
emacs
git-el
git-all
E: Sub-process /usr/bin/dpkg returned an error code (1)
dan@dan-H81M-S1 ~ $
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

This is the output of the other code you sent me to use.

Errors were encountered while processing:
emacs24
emacs
git-el
git-all
E: Sub-process /usr/bin/dpkg returned an error code (1)
dan@dan-H81M-S1 ~ $ inxi -Fxz
System: Host: dan-H81M-S1 Kernel: 4.4.0-59-generic x86_64 (64 bit gcc: 4.8.4)
Desktop: Cinnamon 2.8.8 (Gtk 3.10.8~8+qiana)
Distro: Linux Mint 17.3 Rosa
Machine: Mobo: Gigabyte model: H81M-S1 v: x.x
Bios: American Megatrends v: FF date: 06/20/2014
CPU: Dual core Intel Core i3-4170 (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14765
clock speeds: max: 3700 MHz 1: 3700 MHz 2: 3692 MHz 3: 3695 MHz
4: 3700 MHz
Graphics: Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1280x960@60.0hz
GLX Renderer: Mesa DRI Intel Haswell
GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-59-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 1500.3GB (12.8% used)
ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB temp: 35C
ID-2: /dev/sdb model: WDC_WD5000AADS size: 500.1GB temp: 34C
Partition: ID-1: / size: 913G used: 176G (21%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 4.16GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 212 Uptime: 4:03 Memory: 1591.4/3821.0MB
Init: Upstart runlevel: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.111) inxi: 2.2.28
dan@dan-H81M-S1 ~ $
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

Code: Select all

sudo rm /var/lib/dpkg/info/emacs24.postinst

Code: Select all

sudo apt-get install -f
and post again all output
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

output for sudo rm /var/lib/dpkg/info/emacs24.postinst

dan@dan-H81M-S1 ~ $ sudo rm /var/lib/dpkg/info/emacs24.postinst
rm: cannot remove ‘/var/lib/dpkg/info/emacs24.postinst’: No such file or directory
dan@dan-H81M-S1 ~ $
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

you have used the command several times, that does not provide output, delete only and that's it

use the second command and post the output
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

I am trying to understand and follow your instructions:

dan@dan-H81M-S1 ~ $ inxi -Fxz
System: Host: dan-H81M-S1 Kernel: 4.4.0-59-generic x86_64 (64 bit gcc: 4.8.4)
Desktop: Cinnamon 2.8.8 (Gtk 3.10.8~8+qiana)
Distro: Linux Mint 17.3 Rosa
Machine: Mobo: Gigabyte model: H81M-S1 v: x.x
Bios: American Megatrends v: FF date: 06/20/2014
CPU: Dual core Intel Core i3-4170 (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14765
clock speeds: max: 3700 MHz 1: 3700 MHz 2: 3700 MHz 3: 3700 MHz
4: 3700 MHz
Graphics: Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1280x960@60.0hz
GLX Renderer: Mesa DRI Intel Haswell
GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.4.0-59-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: eth0 state: down mac: <filter>
Drives: HDD Total Size: 1500.3GB (12.8% used)
ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
ID-2: /dev/sdb model: WDC_WD5000AADS size: 500.1GB
Partition: ID-1: / size: 913G used: 176G (21%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 4.16GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 211 Uptime: 15 min Memory: 1267.8/3821.0MB
Init: Upstart runlevel: 2 Gcc sys: 4.8.4
Client: Shell (bash 4.3.111) inxi: 2.2.28
dan@dan-H81M-S1 ~ $
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

No, this command

Code: Select all

sudo apt-get install -f
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

This is the result of: sudo apt-get install -f

dan@dan-H81M-S1 ~ $ sudo apt-get install -f
[sudo] password for dan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
calibre-bin fonts-mathjax libchm1 libjs-mathjax libjs-sphinxdoc
libjs-underscore libpodofo0.9.0 python-apsw python-bzrlib python-cherrypy3
python-cssselect python-cssutils python-dateutil python-keyring
python-launchpadlib python-lazr.restfulclient python-lazr.uri
python-markdown python-mechanize python-oauth python-pygments
python-pyparsing python-repoze.lru python-routes python-secretstorage
python-simplejson python-wadllib python-webob tla tla-doc
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up emacs24 (24.3+1-2ubuntu1.1) ...
Setting up emacs (45.0ubuntu1) ...
Setting up git-el (1:2.15.1-1~ppa0~ubuntu14.04.1) ...
/var/lib/dpkg/info/git-el.postinst: 7: /var/lib/dpkg/info/git-el.postinst: /usr/lib/emacsen-common/emacs-package-install: not found
dpkg: error processing package git-el (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of git-all:
git-all depends on git-el; however:
Package git-el is not configured yet.

dpkg: error processing package git-all (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
git-el
git-all
E: Sub-process /usr/bin/dpkg returned an error code (1)
dan@dan-H81M-S1 ~ $
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

I ran "apt-get autoremove" as root, it removed several files,
then ran dan-H81M-S1 Desktop # sudo apt-get install -f again, results below:

dan@dan-H81M-S1 ~ $ sudo apt-get install -f
[sudo] password for dan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up git-el (1:2.15.1-1~ppa0~ubuntu14.04.1) ...
/var/lib/dpkg/info/git-el.postinst: 7: /var/lib/dpkg/info/git-el.postinst: /usr/lib/emacsen-common/emacs-package-install: not found
dpkg: error processing package git-el (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of git-all:
git-all depends on git-el; however:
Package git-el is not configured yet.

dpkg: error processing package git-all (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
git-el
git-all
E: Sub-process /usr/bin/dpkg returned an error code (1)
dan@dan-H81M-S1 ~ $
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

Ok, now run

Code: Select all

sudo rm /var/lib/dpkg/info/git-el.postinst
And then

Code: Select all

sudo apt-get install -f
and post again the output
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

If one day my understanding and use of Linux is as good as your English, I will be very happy !
Below are the results of using your last two commands in terminal:

dan@dan-H81M-S1 ~ $ sudo rm /var/lib/dpkg/info/git-el.postinst
rm: cannot remove ‘/var/lib/dpkg/info/git-el.postinst’: No such file or directory
dan@dan-H81M-S1 ~ $ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 286 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up git-el (1:2.15.1-1~ppa0~ubuntu14.04.1) ...
Setting up git-all (1:2.15.1-1~ppa0~ubuntu14.04.1) ...
dan@dan-H81M-S1 ~ $
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

Ok, now it's all configure properly....
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

This is absolutely amazing, I can't thank you enough !
I wonder if I will ever reach the point where I can understand and use Linux as well as you ?
Again, many many thanks
Dan
minitux
Level 5
Level 5
Posts: 854
Joined: Tue Sep 12, 2017 10:05 am

Re: System reporting errors, how to fix?

Post by minitux »

Please, Mark the topic as [Solved] bye.
danost
Level 3
Level 3
Posts: 107
Joined: Wed Oct 26, 2011 12:29 pm

Re: System reporting errors, how to fix?

Post by danost »

I forgot how to mark this issue as solved, Please remind me how to do that, thank you Dan
User avatar
Sir Charles
Level 7
Level 7
Posts: 1895
Joined: Thu Jan 04, 2018 1:00 pm

Re: System reporting errors, how to fix?

Post by Sir Charles »

danost wrote:I forgot how to mark this issue as solved, Please remind me how to do that, thank you Dan
You can edit the title of your first post buy clicking on the "pen" icon and adding [SOLVED] to the tilte.

PS. I have been following this thread and I am glad that your problem was solved. I learned a great deal myself. Thank you both, danost and minitux!
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.
Post Reply