Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
10-21-2016, 10:46 AM
(This post was last modified: 10-21-2016, 10:53 AM by m654321.)
Synaptic Package Manager wouldn't open fully in LL3.0 today, but came up with message to run this command: sudo dpkg --configure -a.
I assume this happened because a process was abruptly terminated in a previous session, before it had reached completion.
I got the following output when I ran the command mentioned, but it seems to hang indefinitely (more than an hour) on the last line of code...
Code: mike@mike-G750JS:~$ sudo dpkg --configure -a
[sudo] password for mike:
Setting up linux-image-4.4.0-42-generic (4.4.0-42.62) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-42-generic
vmlinuz(/boot/vmlinuz-4.4.0-42-generic
) points to /boot/vmlinuz-4.4.0-42-generic
(/boot/vmlinuz-4.4.0-42-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.0-42-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-42-generic /boot/vmlinuz-4.4.0-42-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-42-generic /boot/vmlinuz-4.4.0-42-generic
As always, any help is much appreciated.
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 508
Threads: 55
Joined: Jan 2015
10-21-2016, 10:53 AM
(This post was last modified: 10-21-2016, 11:00 AM by Jocklad.)
Had same problem this morning.
Had to use sudo dpkg --configure -aa
Found it in one of Goldfingers threads.....worked fine.
Jocklad
OOps my mistake it is sudo dpkg --configure -a :-[ :-[
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
10-21-2016, 12:39 PM
(This post was last modified: 10-21-2016, 01:00 PM by torreydale.)
m654321,
I've researched this some, and others online actually provided more information to be able to nail down the problem. But a common denominator seems to be some things that Lite Tweaks may be able to help. Open Lite Tweaks, and run the Safe option Autoremove Packages, but also use the Kernel Removal option to remove old kernels. Run "sudo update-grub", and then try the "sudo dpkg --configure -a" command again. Post your output afterwards.
Want to thank me? Click my [Thank] link.
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
(10-21-2016, 10:53 AM)Jocklad link Wrote: Had same problem this morning.
Had to use sudo dpkg --configure -aa
Found it in one of Goldfingers threads.....worked fine.
Jocklad
OOps my mistake it is sudo dpkg --configure -a :-[ :-[ But that's the point I was making in my post: I used "sudo dpkg --configure -a" & it didn't work ...
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
(10-21-2016, 12:39 PM)torreydale link Wrote: m654321,
I've researched this some, and others online actually provided more information to be able to nail down the problem. But a common denominator seems to be some things that Lite Tweaks may be able to help. Open Lite Tweaks, and run the Safe option Autoremove Packages, but also use the Kernel Removal option to remove old kernels. Run "sudo update-grub", and then try the "sudo dpkg --configure -a" command again. Post your output afterwards. I did what you suggested, ticking on the kernels listed but cleaning failed
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
Quote:I did what you suggested, ticking on the kernels listed but cleaning failed
Mike
Then follow the procedure seen here: http://kevinjmorse.ca/articles/gzip-stdo...-f-install
Want to thank me? Click my [Thank] link.
Posts: 508
Threads: 55
Joined: Jan 2015
(10-21-2016, 01:07 PM)m654321 link Wrote: [quote author=Jocklad link=topic=3543.msg26815#msg26815 date=1477047214]
Had same problem this morning.
Had to use sudo dpkg --configure -aa
Found it in one of Goldfingers threads.....worked fine.
Jocklad
OOps my mistake it is sudo dpkg --configure -a :-[ :-[ But that's the point I was making in my post: I used "sudo dpkg --configure -a" & it didn't work ...
[/quote]
It did work for me but I did do a system cleanup before trying it.
Hopefully Torreydales link will fix you up.
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
10-24-2016, 08:51 AM
(This post was last modified: 10-24-2016, 09:21 AM by m654321.)
(10-21-2016, 01:26 PM)torreydale link Wrote: Quote:I did what you suggested, ticking on the kernels listed but cleaning failed
Mike
Then follow the procedure seen here: http://kevinjmorse.ca/articles/gzip-stdo...-f-install Hi torreydale,
Thanks for your efforts to help. I used the link you gave me to get rid of the unwanted kernels that seem to be lying around, though it didn't work - details on that in a minute.
In the terminal, uname -a revealed that I have kernel version 4.4.0-38-generic installed. Lite Tweaks reveals I have 4.4.0-22-generic and 4.4.0-42-generic are lying around inside the system: the former was from the time of LL3.0 installation, and I think the latter appears to be the most recent one I was trying to update to, but it appears that this didn't complete and probable gave rise to the request from Terminal to run sudo dpkg --configure -a
I ran the command in the link you gave me (to remove one of the kernels) - unsuccessful - this was the output:
Code: mike@mike-G750JS:~$ sudo dpkg --remove linux-image-extra-4.4.0-42-generic
[sudo] password for mike:
dpkg: dependency problems prevent removal of linux-image-extra-4.4.0-42-generic:
linux-image-generic depends on linux-image-extra-4.4.0-42-generic; however:
Package linux-image-extra-4.4.0-42-generic is to be removed.
dpkg: error processing package linux-image-extra-4.4.0-42-generic (--remove):
dependency problems - not removing
Errors were encountered while processing:
linux-image-extra-4.4.0-42-generic
mike@mike-G750JS:~$
I'd be grateful if anyone could help me with this ...
Cheers
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
10-24-2016, 10:38 AM
(This post was last modified: 10-24-2016, 10:50 AM by torreydale.)
Open a terminal and try this first:
Code: sudo apt-get install linux-generic
Reboot.
If that doesn't help, open a terminal and do the following:
Code: sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -y
Reboot while holding the keft Shift key. When the GRUB menu appears, use the advanced option to select the new kernel. When you get to your desktop, you can use Lite Tweaks to remove any residual kernels.
Want to thank me? Click my [Thank] link.
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
10-24-2016, 04:35 PM
(This post was last modified: 10-24-2016, 04:38 PM by m654321.)
(10-24-2016, 10:38 AM)torreydale link Wrote: Open a terminal and try this first:
Code: sudo apt-get install linux-generic
Reboot.
If that doesn't help, open a terminal and do the following:
Code: sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -y
Reboot while holding the keft Shift key. When the GRUB menu appears, use the advanced option to select the new kernel. When you get to your desktop, you can use Lite Tweaks to remove any residual kernels. Thanks, but it didn't work - just stuck in an eternal " sudo dpkg --configure -a loop", i.e:
Terminal output from 1st option you suggested... Code: mike@mike-G750JS:~$ sudo apt-get install linux-generic
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
mike@mike-G750JS:~$
Terminal output from the 2nd option you suggested... Code: mike@mike-G750JS:~$ sudo apt-get install linux-headers-linuxlite-4.4.0 linux-image-linuxlite-4.4.0 -y
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
mike@mike-G750JS:~$
Thanks for trying torreydale - anyone else got any ideas? I'm getting close to the end of my tether with this one... >
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
|