LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sudo dpkg --configure -a not resolving blocking of synaptic & updating
#11
What does : sudo apt-get install -f produce?

Sent from my Nexus 6 using Tapatalk

Reply
#12
(10-24-2016, 04:47 PM)Jerry link Wrote: What does : sudo apt-get install -f produce?
Sent from my Nexus 6 using Tapatalk
Still stuck...
Code:
mike@mike-G750JS:~$ sudo apt-get install -f
[sudo] password for mike:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
mike@mike-G750JS:~$
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
Reply
#13
If you have a Systemback restore point, use it.  Otherwise reinstall the operating system.
Want to thank me?  Click my [Thank] link.
Reply
#14
Might be worth a final try... Open Synaptic and click reload; once completed close then try in a terminal the
Code:
sudo dpkg --configure -a
Sounds like a package didn't completely install???

OR might be worth to look at
https://ubuntuforums.org/showthread.php?t=843690

If not then maybe as torreydale suggests.. (Systemback backups are life savers lol)
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#15
Try:

Code:
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

then:

Code:
sudo dpkg --remove --force-remove-reinstreq 4.4.0-42-generic

Code:
sudo apt-get dist-upgrade

Reboot.

If any of the above commands don't complete, continue to the next command regardless.
Reply
#16
(10-26-2016, 09:08 AM)Jerry link Wrote: Try:

Code:
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update

then:

Code:
sudo dpkg --remove --force-remove-reinstreq 4.4.0-42-generic

Code:
sudo apt-get dist-upgrade

Reboot.

If any of the above commands don't complete, continue to the next command regardless.
Many thanks Jerry, and many thanks for your message re. Teamviewer but unfortunately I missed this as was away from PC.

I tried what you suggested above to the letter, but it failed, as the previous advice given by firenice, torreydale & jocklad. So rather than waste any more time on this I merely reinstalled LL3.0, using the existing '/home' partition as part of the refreshed setup - only took me an hour max - quicker than trying to find any other solution. Problem sorted. I think the problem may have originally arisen from me forgetting to use 'sudo update-grub' following a kernel update - maybe this explains why I had two older unused kernels still around within the system - just guessing here.

Worth noting (new observation for me), that though '/home' did preserve the browser bookmarks for firefox, slimjet & qupzilla browsers, I did need to reinstall the software that didn't come preinstalled with the fresh install of LL3.0, e.g. slimjet, qupzilla, clementine & others. Also the configuration files in '/home' did not appear to preserve the symlinks between the OS-drive and the data-storage-drive on my PC (setup1 in sig) - the symlinks for the folders Documents, Downloads, etc were shown as 'whited-out' folders with 'double arrows'. I deleted these in '/home' and simply reinstalled them - didn't take long.

Many thanks Jerry & all the team for your continued support & the great job you do generally.
Much appreciated

Regards
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
Reply
#17
It's happened again!!! All the advice above in this thread didn't work as before.
It seems to be a weakness of LL on setup(1) in sig, though I'm now just running LL3.2 as a single OS on its own.
Locked out of synaptic, light tweaks (kernel removal & autoremove) & install updates... >Sad

Ran sudo dpkg --configure -a, and this is what I got as before (except the kernel involved is a later version than before):
Code:
mike@mike-G750JS:~$ sudo dpkg --configure -a
[sudo] password for mike:
Setting up linux-headers-4.4.0-51-generic (4.4.0-51.72) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-51-generic /boot/vmlinuz-4.4.0-51-generic

Stuck on the last line - how long should I wait if it's going to do anything at all? How patient should I be?!

When I try to open Synaptic I get this error message as before & can't go further with this notification appearing:
Code:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

I run sudo dpkg --configure -a numerous times, but to no avail, as before

uname -a gives the following:
Code:
mike@mike-G750JS:~$ uname -a
Linux mike-G750JS 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

...so I tried to use Lite Tweaks/Kernel Removal, to removal kernel 4.4.0-51 which is listed there but I get this message when I attempt a clean:
Code:
Kernel Cleaner has failed

I'm wasting a lot of time on this - I'd be really grateful if anyone could help, even if we have to go down the 'Teamviewer' route though that will take a bit of organisation given time zones & people's busy lives. I'm pretty much at my wits end with this problem as it's wasting so much time which I haven't got. I 'solved' the problem the first time by doing a clean-install of LL but I can't keep doing this...

The cause of the problem was likely to be my fault - I may have inadvertently interrupted 'Install Updates' (which in turn interrupted the kernel update) when I turned off my PC.  I think there needs to be some visible sign that updates are being installed rather than it disappearing off screen into the background only reappearing with a notification when it's completed...

Sorry to be a pain again, with this.
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
Reply
#18
I can maybe give a couple ideas to try in the meanwhile... ??  ??? ???

Rebooting and choosing LL Advanced options should give the option to choose which kernel to boot with; perhaps a previous would be listed then allowing you to remove the latest...

Or if you have a systemback back up revert to the most recent prior to the cancelled update...

Hope you get it straightened out..
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#19
My guess is your old home partition is preserving kernel info for kernels that do not actually exist. Update grub will just keep adding them in. You'll need to use root to fix this which is risky, so this could be bad advice. Open a terminal and type sudo passwd root. Enter a new nix password twice and exit the terminal. Logout and reboot. Select other from lightdm login and type root, and enter the root password you set up. You will boot into root. You'll get an ioctl error which you can just ignore, x out the message, and root will load the xfce desktop. Clean out the kernel info from home there. To get rid of the root login afterwards open a terminal and type sudo passwd -dl root. Warning -- could be ugly. Don't go this route if you're not sure of what you're doing.

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#20
(11-30-2016, 02:50 PM)trinidad link Wrote: My guess is your old home partition is preserving kernel info for kernels that do not actually exist. Update grub will just keep adding them in. You'll need to use root to fix this which is risky, so this could be bad advice. Open a terminal and type sudo passwd root. Enter a new nix password twice and exit the terminal. Logout and reboot. Select other from lightdm login and type root, and enter the root password you set up. You will boot into root. You'll get an ioctl error which you can just ignore, x out the message, and root will load the xfce desktop. Clean out the kernel info from home there. To get rid of the root login afterwards open a terminal and type sudo passwd -dl root. Warning -- could be ugly. Don't go this route if you're not sure of what you're doing.

TC

Thanks TC & firnice03 for the advice.

Time's a bit short, so I went for the 'easier option' to reinstall LL3.2 (though not a total clean-install like last time) rather than faff around any more 'in the dark' doing things that might not work or just get me in piled-high-and-deep! With this reinstall, I preserved the '/home' instead of overwriting it as I wanted to keep as many of my settings as possible & not have to reinstall these.  And it's worked: thankfully the configuration files in '/home' didn't carry over the 'mess' into the new installation !  I just had to revisit "Install Updates", "Lite Software" & one or two things from "Synaptic".  I did have to reset my symlinks, though that only took around 5-10 minutes.  I had to reinstall Virtualbox, though all my VMs were automatically reloaded and links preserved to my DATA partition.

Thanks guys for your continued interest & offers of help - much appreciated

Mike

PS. @firenice03: I'd already tried advanced options but "the computer said no"  - it just got stuck at the kernel I selected
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)