You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



sudo dpkg --configure -a not resolving blocking of synaptic & updating

Author (Read 11551 times)

0 Members and 1 Guest are viewing this topic.

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #8 on: October 24, 2016, 04:51:06 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
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-stdout-no-space-left-device-when-doing-apt-get-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: [Select]
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
« Last Edit: October 24, 2016, 05:21:06 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in 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
 

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #7 on: October 21, 2016, 10:10:45 AM »
 

Jocklad

  • Banned
  • Gold Level Poster
  • *******
  • 508
    Posts
  • Reputation: 67
  • Linux Lite Member
    • View Profile

  • MEMORY: 8Gb
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 ...
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
« Reply #6 on: October 21, 2016, 09:26:46 AM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
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-stdout-no-space-left-device-when-doing-apt-get-f-install
Want to thank me?  Click my [Thank] link.
 

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #5 on: October 21, 2016, 09:14:52 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
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 netbook) installed in 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
 

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #4 on: October 21, 2016, 09:07:34 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
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 netbook) installed in 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
 

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #3 on: October 21, 2016, 08:39:25 AM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
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.
« Last Edit: October 21, 2016, 09:00:51 AM by torreydale »
Want to thank me?  Click my [Thank] link.
 

Re: sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #2 on: October 21, 2016, 06:53:34 AM »
 

Jocklad

  • Banned
  • Gold Level Poster
  • *******
  • 508
    Posts
  • Reputation: 67
  • Linux Lite Member
    • View Profile

  • MEMORY: 8Gb
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  :-[ :-[
« Last Edit: October 21, 2016, 07:00:15 AM by Jocklad »
 

sudo dpkg --configure -a not resolving blocking of synaptic & updating
« Reply #1 on: October 21, 2016, 06:46:37 AM »
 

m654321

  • Gold Level Poster
  • *******
  • 893
    Posts
  • Reputation: 86
  • Linux Lite Member, 'Advocate' & Donator
    • View Profile

  • CPU: Intel Pentium [email protected] (2cores) on an Asus X71Q

  • MEMORY: 4Gb

  • VIDEO CARD: Intel GM45 Express Chipset

  • Kernel: 4.x
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: [Select]
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
« Last Edit: October 21, 2016, 06:53:02 AM by m654321 »
64bit OS (32-bit on Samsung netbook) installed in 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
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section