dpkg

Asked by giuk74 on 2009-03-21

Binary package hint: dash

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

ProblemType: Package
Architecture: i386
Dependencies:
 libgcc1 1:4.3.2-1ubuntu11
 gcc-4.3-base 4.3.2-1ubuntu11
 findutils 4.4.0-2ubuntu3
 debianutils 2.29ubuntu2
 libc6 2.8~20080505-0ubuntu7
DistroRelease: Ubuntu 8.10
ErrorMessage: il sottoprocesso post-installation script ha restituito un codice di errore 1
NonfreeKernelModules: ath_hal
Package: dash 0.5.4-9ubuntu1.1
SourcePackage: dash
Title: package dash 0.5.4-9ubuntu1.1 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1
Uname: Linux 2.6.27-7-generic i686

giuk74 (giuk74) said : #1

Thanks for reporting, but this not bug.
To solve your problem just open terminal (Applications→Accesories→Terminal) and use command "sudo dpkg --configure -a" (without quotation marks).

Vojtěch Trefný suggests this article as an answer to your question:
FAQ #52: “'dpkg --configure -a' problem when trying to run Synaptic”.

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

then to update and upgrade and also check pending or missing packages, still using terminal type:

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 giuk74 for more information if necessary.

To post a message you must log in.