E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report.

Asked by BALA

Pls help me out as early as possible

Question information

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

Please do what the error message recommends.

So manually run the following command in a Terminal:

sudo dpkg --configure -a

Hope it helps,

Regards,

Mark

Revision history for this message
BALA (balachemz-99) said :
#2

Hi
Still i didn't get a remedy for my problem

Revision history for this message
Takmadeus (takmadeus) said :
#3

Go to:

Applications > Accessories > Terminal

In there just type:

sudo dpkg --configure -a

And then type your password....

wait just a couple of minutes and then you can run your package manager again ;)

Revision history for this message
nils (nilsjon) said :
#4

[sudo] password for nils:
sudo: dpkg--configure-a: command not found
nils@nils-desktop:~$ sudo dpkg --configure -a
Ställer in tdsodbc (0.82-3) ...
rmdir: misslyckades att ta bort "/var/lib/odbc": Filen eller katalogen finns inte
dpkg: fel vid hantering av tdsodbc (--configure):
 underprocess post-installation script gav felkod 1
Fel uppstod vid hantering:
 tdsodbc
nils@nils-desktop:~$

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Please also subcribe this bug https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/108601/

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please be sure your system is fully updated/upgraded with no pending packages or errors:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --configure -a
sudo apt-get -f install

Please take care of space when you type the sudo dpkg --configure -a command... so you must type:

sudo <space> --configure <space> -a <space>

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask BALA for more information if necessary.

To post a message you must log in.