"sudo dpkg --configure -a"

Asked by David Jones

owner@owner-desktop:~$ 'sudo dpkg --configure -a'
bash: sudo dpkg --configure -a: command not found
owner@owner-desktop:~$ 'sudo dpkg --configure -a'
bash: sudo dpkg --configure -a: command not found
owner@owner-desktop:~$ df-h
sudobash: df-h: command not found
owner@owner-desktop:~$ sudofdisk-1
bash: sudofdisk-1: command not found
owner@owner-desktop:~$ "sudo dpkg --configure -a"
bash: sudo dpkg --configure -a: command not found
owner@owner-desktop:~$

now what?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
David Jones (dj) said :
#1

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

Revision history for this message
David Jones (dj) said :
#2

is this a bog report?

Revision history for this message
David Jones (dj) said :
#3

trying to run Synaptic Package manager. get following error message " E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."
Any help is greatly apprciated do not want to completely reinstall Ubuntu 9.04

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

You strictly need to open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.
-------------------------------------------------------------------

But to fully check and upgrade your system using terminal using command line,
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 all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

then please reboot your system, type

sudo reboot

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
David Jones (dj) said :
#5

Thanks marcobra (Marco Braida), that solved my question.

Revision history for this message
ANii kH@xS (smurf-0069) said :
#6

i did that and it showed a configuration window that i cannot get past for the java script now my terminal is locked how do i fix this......

Revision history for this message
ahabala (ahabala) said :
#7

i done all the orders you said but he keep saying
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Revision history for this message
Anuradha (anuradha-s13) said :
#8

i also done all the commands
bt it keep saying
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
try to help me out soon guys..........

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

You strictly need to open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.