View Full Version : [ubuntu] ¨Error: dpkg was interrupted, you must manually run¨
BrentonEccles
January 31st, 2009, 04:19 AM
I was downloading the restricted formats applications through Terminal,
sudo apt-get install ubuntu-restricted-extras
...and, my computer reset during... and now Iḿ trying to re-do it so I can run those restricted files and ... I get the following:
dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
How can I fix this?
Thank-you for your help.
snova
January 31st, 2009, 04:20 AM
Open a terminal, and run:
sudo dpkg --configure -a
cdtech
January 31st, 2009, 04:31 AM
I always like to force the install since it was interrupted and never completed using:
sudo dpkg --configure -a && sudo apt-get -f install
This will finish installing half installed packages.......
BrentonEccles
January 31st, 2009, 04:43 AM
AH, darn!!!
Now I get: Ünable to lock the administration directory (/var/lib/dpkg/), are you root?
Help?
snova
January 31st, 2009, 04:46 AM
Make sure you aren't running any package management programs.
If you're sure you aren't, then remove the lock file:
sudo rm /var/lib/dpkg/lock
BrentonEccles
January 31st, 2009, 04:52 AM
Still getting the same issue.
This is so tear generatingly depressing.
BrentonEccles
January 31st, 2009, 05:16 AM
Is there any way i can just rebegin the installation from scratch?
cdtech
January 31st, 2009, 05:13 PM
Have you tried booting into recovery mode then try running the commands suggested.........
abn91c
January 31st, 2009, 05:22 PM
Still getting the same issue.
This is so tear generatingly depressing.
Make sure synaptic is not open before you try the commands
albinootje
January 31st, 2009, 05:37 PM
Still getting the same issue.
This is so tear generatingly depressing.
You need to practice a little bit more patience as a Linux beginner, because those new things can be useful later on, so take a deep breath, and try the following :
Boot into "recovery mode", by hitting <escape> when the Grub menu tells you about hitting <escape> to get into the Grub menu.
Then choose "recovery mode".
After that choose "drop to root shell prompt".
Then type in :
dpkg --configure -a <enter>
apt-get -f install <enter>
reboot <enter>
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.