0

A while back I was trying to update from 12.10 and my roommate unpluged my laptop and ever since then I have not been able to open software updater or start up disk creator. It does not give an error message but it won't open. What can I do to solve this problem?

sudo apt-get update                                  
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
sudo apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
Jos
  • 29,224
  • Open a terminal (CTRL + ALT + T) and enter sudo apt-get update && sudo apt-get upgrade. Paste the output of that command into your question. – Jos Feb 21 '15 at 14:22
  • ok so i ran sudo dpkg --configure -a and now it will run all the way through 'sudo apt-get update' but i still can't ubdate. – Jesse Easter Feb 21 '15 at 14:40
  • OK the dpkg warning was expected, and you have managed to clean up the mess from the interrupted update. You say you can't update. What happens if you try sudo apt-get upgrade? – Jos Feb 21 '15 at 14:44
  • @Jos this shouldn't work on an unsupported release. Ubuntu 12.10 is unsupported since May 16, 2014. – user300458 Feb 21 '15 at 15:36
  • @user300458 Ah yes, you are correct. – Jos Feb 21 '15 at 15:42
  • https://askubuntu.com/q/91815/300458 – user300458 Feb 21 '15 at 17:24

1 Answers1

1

When you interrupt the package manager a couple of things can happen..

  • it could have been stopped while either installing/configuring a package
  • left the lock on the upgrade process so you can't run two upgrades at once.

In a general sense, exit any package managers (synaptic, software center) and issur the following from a terminal prompt.

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
Scott Goodgame
  • 2,636
  • 15
  • 20