![]() |
sudo dpkg --configure -a not resolving blocking of synaptic & updating - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20) +--- Thread: sudo dpkg --configure -a not resolving blocking of synaptic & updating (/showthread.php?tid=3409) |
sudo dpkg --configure -a not resolving blocking of synaptic & updating - m654321 - 10-21-2016 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 As always, any help is much appreciated. Mike Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - Jocklad - 10-21-2016 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 :-[ :-[ Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - torreydale - 10-21-2016 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. Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - m654321 - 10-21-2016 (10-21-2016, 10:53 AM)Jocklad link Wrote: Had same problem this morning.But that's the point I was making in my post: I used "sudo dpkg --configure -a" & it didn't work ... Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - m654321 - 10-21-2016 (10-21-2016, 12:39 PM)torreydale link Wrote: m654321,I did what you suggested, ticking on the kernels listed but cleaning failed Mike Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - torreydale - 10-21-2016 Quote:I did what you suggested, ticking on the kernels listed but cleaning failed Then follow the procedure seen here: http://kevinjmorse.ca/articles/gzip-stdout-no-space-left-device-when-doing-apt-get-f-install Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - Jocklad - 10-21-2016 (10-21-2016, 01:07 PM)m654321 link Wrote: [quote author=Jocklad link=topic=3543.msg26815#msg26815 date=1477047214]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. Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - m654321 - 10-24-2016 (10-21-2016, 01:26 PM)torreydale link Wrote:Hi torreydale,Quote:I did what you suggested, ticking on the kernels listed but cleaning failed 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 I'd be grateful if anyone could help me with this ... Cheers Mike Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - torreydale - 10-24-2016 Open a terminal and try this first: Code: sudo apt-get install linux-generic 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 Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating - m654321 - 10-24-2016 (10-24-2016, 10:38 AM)torreydale link Wrote: Open a terminal and try this first: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 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 Thanks for trying torreydale - anyone else got any ideas? I'm getting close to the end of my tether with this one... > ![]() Mike |