Laptop was shutdown during install of new program

Asked by Edward T on 2009-01-12

Binary package hint: firefox-3.0

I Made this happen no bug just want to know how to fix it

this what it says when I try and open any package mangers

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

Can you please tell me what I can do.

ProblemType: Bug
Architecture: i386
Date: Mon Jan 12 23:31:25 2009
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0.5+nobinonly-0ubuntu0.8.04.1
PackageArchitecture: i386
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-23-generic i686

Question information

English Edit question
Ubuntu dpkg Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Edward T (edtyrie) said :
Revision history for this message
Miloš Mandarić (mandzo18) said :

This is not Firefox bug. Try:
sudo apt-get -f install

Revision history for this message
Chris Crisafulli (itnet7) said :

Thanks for submitting this question in efforts to help make Ubuntu better!

 Please try running: sudo dpkg --configure -a in a terminal.


Chris Crisafulli

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

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.

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:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Can you help with this problem?

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

To post a message you must log in.