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

Asked by Zachary Phillips

Binary package hint: gnome-terminal

Evertime I try to install updates or download any application off the ubuntu applications menu this thing pops up and says an error occured. When I try to type 'dpkg --configure -a' or 'sudo dpkg --configure -a' in a terminal it doesn't help. I'm using 8.04. version of ubuntu. I cannot download any applications. In the terminal it says '[sudo] password for zachary:'

ProblemType: Bug
Architecture: lpia
Date: Sat Feb 7 23:36:20 2009
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.22.1-0ubuntu2
PackageArchitecture: lpia
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.24-19-lpia i686

Question information

Revision history for this message
Zachary Phillips (zjohnny94) said :
#1
Revision history for this message
Pedro Villavicencio (pedro) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

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

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
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

Revision history for this message
p.r.midgley (peterrennymidgley) said :
#4

question 326773 and answer marcobra on2009-02-11: did not work :version 0.6.22-2 ubuntu 4.1:*secrity update:denial of service via crafted mDNS packet-debian/patches/80-cve-2008.patch:verify port is>0 in server.c-cve-2008-5081 please can you help me??

Revision history for this message
p.r.midgley (peterrennymidgley) said :
#5

question 326773 and answer marcobra on2009-02-11: did not work :version 0.6.22-2 ubuntu 4.1:*secrity update:denial of service via crafted mDNS packet-debian/patches/80-cve-2008.patch:verify port is>0 in server.c-cve-2008-5081 please can you help me??

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

@p.r. midgely

Please don't append a new question on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you

Revision history for this message
p.r.midgley (peterrennymidgley) said :
#7

Thank you Marcobra, your answer to foreever on 2009-02-19: did the trick .
  can i say the line with, sudo dpkg -P --force , the capital 'P' is what i mist the first time.
    Again thank you.

Can you help with this problem?

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

To post a message you must log in.