DPKG not installed in 8.04

Asked by Vikas Bhasin on 2008-05-02

Hi,

Getting a error message like:

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

When try to log in through console not able to configure the DPKG.

Suggest.

thanks,

Vikas

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#1

Vojtěch Trefný suggests this article as an answer to your question:
FAQ #52: “Can't install new software and updates”.

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#2

Just open terminal (Applications→Accesories→Terminal) and type "sudo dpkg --configure -a" (without quotation marks).

Revision history for this message
Vikas Bhasin (vikasb) said :
#3

Thanks Trefny for your response, But its not working . Its is asking for the superuser privileges.
updation does go down well.
my printer also not working and USB drive not able to find.
Full package not been to download, I guess.

Have to do the update all over again.

thanks,

Revision history for this message
Vojtěch Trefný (vojtech.trefny) said :
#4

"Its is asking for the superuser privileges."

Yes, you have to use 'sudo' -- "sudo dpkg --configure -a"
https://help.ubuntu.com/community/RootSudo

Revision history for this message
Vikas Bhasin (vikasb) said :
#5

 Thanks got an messages, like

 sudo: unable to resolve host vikas-desktop

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6
Revision history for this message
Vikas Bhasin (vikasb) said :
#7

Thanks , Now the Sudo Dpkg -- configure-a running

the set of messages it is giving like

sudo dpkg --configure -a
sudo: unable to resolve host vikas-desktop
[sudo] password for vikas:

Setting up gav (0.9.0-3) ...
Setting up gcc-3.3-doc (1:3.3.6-15ubuntu4) ...
sh: cannot open /usr/share/info/gcc-3.3.info.gz: No such file
install-info(/usr/share/info/gcc-3.3.info.gz):
dpkg: error processing gcc-3.3-doc (--configure):
subprocess post-installation script returned error exit status 2
Setting up sgt-puzzles (7703-1) ...

Setting up libldap2-dev (2.4.7-6ubuntu4.1) ...
Setting up signing-party (0.4.13-1) ...
Setting up acidlab (0.9.6b20-22) ...

 and struck on to acidlab.....

thanks,

Revision history for this message
Vikas Bhasin (vikasb) said :
#8

 Thanks every one . able to get right back on track. with sudo apt get --configure -a