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
  • 30,529
  • 8
  • 89
  • 96

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,646
  • 16
  • 20