_cache->open() failed, please report

Bug #124373 reported by Lionel Scheepmans
314
This bug affects 14 people
Affects Status Importance Assigned to Milestone
synaptic (Ubuntu)
Invalid
Wishlist
Michael Vogt

Bug Description

Bonjour,

J'ai quelque problèmes qui se sont enchaîné avec mon installation ubuntu 7.04.
Je n'arrive plus a lancer synaptic après avoir encodé mon mot de passe il m'affiche ceci:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."

Peut être ce problème est-il lié à un autre bug car après avoir configuré ma webcam dans amsn ce dernier programme ne veut plus démarrer non plus il affiche une icône rouge dans le tableau de bord mais elle est inactive. J'ai ensuite installé via le site skype une nouvelle version du logicielle dans l'espoir de pouvoir utiliser ma webcam mais l'installation a échouée et c'est peut être une autre raison du bug.

Le plus gênant c'est que je ne sais plus faire les mises à jour de sécurité car je reçois le même message en utilisant le gestionnaire de mise à jour.

Merci d'avance pour votre aide.

Lionel

Revision history for this message
Kees Cook (kees) wrote :

Thanks for your report! This isn't a security problem (basically, the mentioned command needs to be run). This will be the master bug report for such issues. Also, please only report bugs in English, since that is the common language spoken by most developers.

Revision history for this message
Kees Cook (kees) wrote :

And, to note, the solution is to open a Terminal and run:

  sudo dpkg --configure -a

Revision history for this message
Lionel Scheepmans (lionel-sentiers) wrote :

Ok the problem is resolv whith the "sudo dpkg --configure -a"
Thanks for you help and i promise to whrite only in english for next time in this site.
But do you know where i can found help and a right place for bug report in french for Ubuntu ?

Kees Cook (kees)
Changed in synaptic:
status: Confirmed → Triaged
Revision history for this message
Koen (koen-beek) wrote :

Bonjour Lionel,

  si tu a une question sur ubuntu tu peut la poser en français a l'adresse suivante https://answers.launchpad.net/ubuntu/+addquestion
  il faut sélectionner le langage a utiliser

  si il s'avère qu'il s'agit d'un bug il faut mieux utiliser l'Anglais puisque c'est le langage utilise pour communiquer entre développeurs

Changed in synaptic:
status: Triaged → Invalid
Kees Cook (kees)
Changed in synaptic:
status: Invalid → Confirmed
Revision history for this message
Tony (ajwatkin) wrote :

I am experiencing the same error message Lionel got but, for me, running the dpkg command which worked for Lionel does not resolve the problem on my PC.

Is there anything else I can do?

Thank you,

Tony

Revision history for this message
Tony (ajwatkin) wrote :

Me again . . .

I tried again today and it worked. I hadn't allowed enough time yesterday for the command to complete.

Tony

Revision history for this message
geo127 (gisihos) wrote :

hello i am new here can anyone tell me what i can do exactly to resolve the problem

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

You need to go to Applications - Accessories - Terminal, right-click and paste this in:

sudo dpkg --configure -a

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

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:

Open a Terminal from the menu Applications → Accessories → Terminal and type:

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

Thank you

Revision history for this message
sandra mclean (sandra-mclean2) wrote : Re: [Bug 124373] Re: _cache->open() failed, please report

thanks for that,
went to terminal to attempted to put my password in and it doesn't appear to be working
cheers
sandra

________________________________
From: Vadim Peretokin <email address hidden>
To: <email address hidden>
Sent: Friday, 14 November, 2008 3:03:38 PM
Subject: [Bug 124373] Re: _cache->open() failed, please report

You need to go to Applications - Accessories - Terminal, right-click and
paste this in:

sudo dpkg --configure -a

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

The password won't show for security reasons. Just type it in and press
enter.

Revision history for this message
sandra mclean (sandra-mclean2) wrote :

thanks yes i've done that,
but the terminal tells me password has failed
cheers
sandra

________________________________
From: Vadim Peretokin <email address hidden>
To: <email address hidden>
Sent: Sunday, 16 November, 2008 2:03:01 PM
Subject: Re: [Bug 124373] Re: _cache->open() failed, please report

The password won't show for security reasons. Just type it in and press
enter.

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Password failed? You need to put in the same password you use to login to
your Ubuntu.

Revision history for this message
psychodoggy (kees-psyfactory) wrote :

I'm experiencing the same problem, only running dpkg --configure -a doesn't solve the problem:

========================
kees@ubuntu:~$ sudo dpkg --configure -a
Setting up system-tools-backends (2.6.0-1ubuntu1.1) ...
 * Starting System Tools Backends system-tools-backends
invoke-rc.d: initscript system-tools-backends, action "start" failed.
dpkg: error processing system-tools-backends (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
========================

Does anyone has got any idea how to fix this?

Revision history for this message
sandra mclean (sandra-mclean2) wrote :

hello,

yes i did that
thanks

________________________________
From: Vadim Peretokin <email address hidden>
To: <email address hidden>
Sent: Sunday, 16 November, 2008 2:47:51 PM
Subject: Re: [Bug 124373] Re: _cache->open() failed, please report

Password failed? You need to put in the same password you use to login to
your Ubuntu.

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Revision history for this message
Jonathan Gossage (jgossage) wrote :

This bug was originally reported 18 months ago and it now has 23 duplicates. In general, the advice has been to run

sudo dpkg --configure -a
followed by at least
sudo apt-get update
sudo apt-get upgrade

while this action seems to have corrected the problem for some users, others including my self have found that dpkg --configure -a also fails.

My question is -
What action must be taken to re-enable the ability to update Ubuntu after a dpkg failure that cannot be recovered with dpkg --configure. I can use neither update-manager nor apt at this point.

I am running on 8.10 and got the following result from dpkg

Setting up icedtea6-plugin (6b12-0ubuntu6.1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted
jonathan@hippocrates:~$ sudo apt-get -f install
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
jonathan@hippocrates:~$ sudo dpkg --configure -a
Processing triggers for menu ...
dpkg: ../../src/packages.c:221: process_queue: Assertion `dependtry <= 4' failed.
Aborted

A second question is: what is being done to make the low level update code such as dpkg more robust?

Revision history for this message
Koen (koen-beek) wrote :

One way to try to get out of the 'dependtrt <= 4' error is the following

do a
 sudo dpkg -l | grep -v ^ii

to list the packages that are not installed correctly

sudo dpkg --purge remove those packages listed before

Revision history for this message
Koen (koen-beek) wrote :

If you want to leave packages that have been removed but that still have config files installed

try the following list instead

sudo dpkg -l | grep -v ^ii | grep -v ^rc

Revision history for this message
missyblouir (missy-blouir) wrote :

how do I open a terminal

Changed in synaptic (Ubuntu):
status: Confirmed → Invalid
queen-bee (laurynbsweet)
Changed in synaptic (Ubuntu):
status: Invalid → Confirmed
status: Confirmed → Incomplete
Changed in synaptic (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
missyblouir (missy-blouir) wrote :

what does this mean?

 Missy

________________________________
From: Jonathan Thomas <email address hidden>
To: <email address hidden>
Sent: Fri, July 9, 2010 6:06:02 PM
Subject: [Bug 124373] Re: _cache->open() failed, please report

** Changed in: synaptic (Ubuntu)
       Status: Incomplete => Invalid

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of the bug.

Status in “synaptic” package in Ubuntu: Invalid

Bug description:
Bonjour,

J'ai quelque problèmes qui se sont enchaîné avec mon installation ubuntu 7.04.
Je n'arrive plus a lancer synaptic après avoir encodé mon mot de passe il
m'affiche ceci:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
the problem.

E: _cache->open() failed, please report."

Peut être ce problème est-il lié à un autre bug car après avoir configuré ma
webcam dans amsn ce dernier programme ne veut plus démarrer non plus il affiche
une icône rouge dans le tableau de bord mais elle est inactive. J'ai ensuite
installé via le site skype une nouvelle version du logicielle dans l'espoir de
pouvoir utiliser ma webcam mais l'installation a échouée et c'est peut être une
autre raison du bug.

Le plus gênant c'est que je ne sais plus faire les mises à jour de sécurité car
je reçois le même message en utilisant le gestionnaire de mise à jour.

Merci d'avance pour votre aide.

Lionel

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/124373/+subscribe

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Sorry, to open the terminal you can click on Applications (top-left), then
Accessories, and Terminal.

Revision history for this message
missyblouir (missy-blouir) wrote :

how do I resolve this?

 Missy

________________________________
From: missyblouir <email address hidden>
To: <email address hidden>
Sent: Thu, July 22, 2010 1:32:35 PM
Subject: Re: [Bug 124373] Re: _cache->open() failed, please report

what does this mean?

Missy

________________________________
From: Jonathan Thomas <email address hidden>
To: <email address hidden>
Sent: Fri, July 9, 2010 6:06:02 PM
Subject: [Bug 124373] Re: _cache->open() failed, please report

** Changed in: synaptic (Ubuntu)
       Status: Incomplete => Invalid

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of the bug.

Status in “synaptic” package in Ubuntu: Invalid

Bug description:
Bonjour,

J'ai quelque problèmes qui se sont enchaîné avec mon installation ubuntu 7.04.
Je n'arrive plus a lancer synaptic après avoir encodé mon mot de passe il
m'affiche ceci:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct

the problem.

E: _cache->open() failed, please report."

Peut être ce problème est-il lié à un autre bug car après avoir configuré ma
webcam dans amsn ce dernier programme ne veut plus démarrer non plus il affiche
une icône rouge dans le tableau de bord mais elle est inactive. J'ai ensuite
installé via le site skype une nouvelle version du logicielle dans l'espoir de
pouvoir utiliser ma webcam mais l'installation a échouée et c'est peut être une
autre raison du bug.

Le plus gênant c'est que je ne sais plus faire les mises à jour de sécurité car
je reçois le même message en utilisant le gestionnaire de mise à jour.

Merci d'avance pour votre aide.

Lionel

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/124373/+subscribe

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of the bug.

Status in “synaptic” package in Ubuntu: Invalid

Bug description:
Bonjour,

J'ai quelque problèmes qui se sont enchaîné avec mon installation ubuntu 7.04.
Je n'arrive plus a lancer synaptic après avoir encodé mon mot de passe il
m'affiche ceci:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
the problem.

E: _cache->open() failed, please report."

Peut être ce problème est-il lié à un autre bug car après avoir configuré ma
webcam dans amsn ce dernier programme ne veut plus démarrer non plus il affiche
une icône rouge dans le tableau de bord mais elle est inactive. J'ai ensuite
installé via le site skype une nouvelle version du logicielle dans l'espoir de
pouvoir utiliser ma webcam mais l'installation a échouée et c'est peut être une
autre raison du bug.

Le plus gênant c'est que je ne sais plus faire les mises à jour de sécurité car
je reçois le même message en utilisant le gestionnaire de mise à jour.

Merci d'avance pour votre aide.

Lionel

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/124373/+subscribe

Revision history for this message
missyblouir (missy-blouir) wrote :

ok then do what when that is open?

 Missy

________________________________
From: Vadim Peretokin <email address hidden>
To: <email address hidden>
Sent: Thu, July 22, 2010 1:44:36 PM
Subject: Re: [Bug 124373] Re: _cache->open() failed, please report

Sorry, to open the terminal you can click on Applications (top-left), then
Accessories, and Terminal.

--
_cache->open() failed, please report
https://bugs.launchpad.net/bugs/124373
You received this bug notification because you are a direct subscriber
of the bug.

Status in “synaptic” package in Ubuntu: Invalid

Bug description:
Bonjour,

J'ai quelque problèmes qui se sont enchaîné avec mon installation ubuntu 7.04.
Je n'arrive plus a lancer synaptic après avoir encodé mon mot de passe il
m'affiche ceci:
"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct
the problem.

E: _cache->open() failed, please report."

Peut être ce problème est-il lié à un autre bug car après avoir configuré ma
webcam dans amsn ce dernier programme ne veut plus démarrer non plus il affiche
une icône rouge dans le tableau de bord mais elle est inactive. J'ai ensuite
installé via le site skype une nouvelle version du logicielle dans l'espoir de
pouvoir utiliser ma webcam mais l'installation a échouée et c'est peut être une
autre raison du bug.

Le plus gênant c'est que je ne sais plus faire les mises à jour de sécurité car
je reçois le même message en utilisant le gestionnaire de mise à jour.

Merci d'avance pour votre aide.

Lionel

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/124373/+subscribe

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

Please use the Ubuntu questions and answers to get help on this issue:

https://answers.launchpad.net/ubuntu/+source/apt/+addquestion

Thank you

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Try doing:

sudo apt-get install -f

Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
useResa (rdrijsen) wrote :

The comments made by missyblouir (#26 to #29) seem not bug related to me.
Can these be removed and/or the poster reported?

Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
Revision history for this message
missyblouir (missy-blouir) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.