E:dpkg was interrupted

Asked by Jorje

On last update I got this message " E: dpkg was interrupted , manually run dpkg--config-a'" and then, E:_cache-open() failed, please report.

I am new user of Ubuntu, what should I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
EmmaJane
Solved:
Last query:
Last reply:
Revision history for this message
Best EmmaJane (emmajane) said :
#1

There is a potential solution for you in the forums:

http://ubuntuforums.org/showthread.php?t=653495

Close the Add/Remove window and open a terminal and run these commands.

Applications -> Accessories -> Terminal
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

"sudo" is a command that allows you to behave as the administrative user ("root"). In this case you are going:

dpkg --configure -a
means: reconfigure all unpacked but unconfigured packages

apt-get update
means: you will ask what the latest version is for all of your installed software

apt-get upgrade
means: you will upgrade all installed software

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#2

" E: dpkg was interrupted , manually run dpkg--config-a'"

→ I think this is easy - just run "sudo dpkg --configure -a" in terminal...

Revision history for this message
Jorje (gilisan) said :
#3

Thanks emmajane, that solved my question.