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

Asked by alexaramirez on 2008-11-04

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

ProblemType: Bug
Architecture: i386
Date: Tue Nov 4 16:39:28 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-keyring-manager
Package: gnome-keyring-manager 2.20.0-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-keyring-manager
Uname: Linux 2.6.24-16-generic i686
UnreportableReason: This is not a genuine Ubuntu package

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
2008-11-18
Last query:
2008-11-18
Last reply:
2008-11-16
alexaramirez (sheena-aina) said : #1

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 .

Wyatt Smith (wyatt-smith) said : #3

You just need to run the dpkg command as root.

sudo dpkg --configure -a

But to completely update your system I would recommend all of these commands

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get autoremove

Hope this helps

alexaramirez (sheena-aina) said : #4

thanks. but i still dont get it. what program will i use to run the dpkg command as root? thanks, im used to Microsoft unlike Ubuntu.

Wyatt Smith (wyatt-smith) said : #5

These commands can be typed or copied into the terminal. You can open a terminal from the menu Applications-> Accessories-> Terminal

You will be asked for you password. When you type it you will not see the cursor move.

alexaramirez (sheena-aina) said : #6

thanks. but there are still problems
this flashed next:

Unable to get exclusive lock

This usually means that another package management application (like apt-get or aptitude) isalready running. Please close that application first.

help pls. thanks

Best Wyatt Smith (wyatt-smith) said : #7

Make sure that any other package management applications are closed (Synaptic Package Manager, Add/Remove Programs). Only one can manager can work at a time since it locks the directory.

Bill Duncan (caribouhilltop) said : #8

Thanks for the help - my problem is solved

MarioAmezquita (der-hund001) said : #9

how can I close this kind of window? When I run sudo dpkg --configure -a I can't continue with the rest of steps. Please, Help!!

 ┌────────────────────┤ Configuración de sun-java6-jre ├─────────────────────┐
 │ │
 │ Operating System Distributor License for Java v1.1 (DLJ) ↑
 │ ▮
 │ Operating System Distributor License for Java version 1.1 (DLJ) ▒
 │ ▒
 │ SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE JAVA PLATFORM ▒
 │ STANDARD EDITION DEVELOPER KIT ("JDK" - THE "SOFTWARE") TO YOU ONLY UPON ▒
 │ THE CONDITION THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS LICENSE ▒
 │ AGREEMENT (THE "AGREEMENT"). PLEASE READ THE AGREEMENT CAREFULLY. BY ▒
 │ INSTALLING, USING, OR DISTRIBUTING THIS SOFTWARE, YOU ACCEPT ALL OF THE ▒
 │ TERMS OF THE AGREEMENT. ▒
 │ ▒
 │ 1. DEFINITIONS. "Software" means the code identified above in binary ▒
 │ form, any other machine readable materials including, but not ▒
 │ limited to, libraries, source files, header files, and data files), ↓
 │
 │ <Aceptar>
 │ │
 └───────────────────────────────────────────────────────────────────────────

mario Press the "TAB" keyboard key and press enter when the <Aceptar> change color...

Hope this helps

alexaramirez (sheena-aina) said : #11

Thanks Wyatt Smith, that solved my question.

Arun Lele (arun-lele1) said : #12

I am new to ubuntu.Even after running all those commands the problem persists & dpkg manual correctionrequired is repeated.I shall be glad to know how to get over the problem step by step.
Thanking you in anticipation,
Arun Lele

BALA (balachemz-99) said : #13

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

MizzKay (kashkayla) said : #14

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