E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem

Asked by mailo354

i tried to install open office. while installing it seemed to me that the operation system is stuck after long waiting for a change and not manageing to do nothing i reboot my computer since then i can't open the open office nor get in the synaptic manager and i get the message

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

i tried to ran the command on the terminal (dpkg --configure -a) and each time i do it my computer is stuck and i need to reboot.
i tried other command i saw was writen to solve the problem like
sudo apt-get update/upgrade
but in the end it still writeing me to -->>you must manually run 'dpkg --configure -a' to correct the problem

i am a new user at linux and i want to remain in the system please people any suggestion??

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mailo354 (maya-mnkr) said :
#1

i tried to install open office. while installing it seemed to me that the operation system is stuck after long waiting for a change and not manageing to do nothing i reboot my computer since then i can't open the open office nor get in the synaptic manager and i get the message

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

i tried to ran the command on the terminal (dpkg --configure -a) and each time i do it my computer is stuck and i need to reboot.
i tried other command i saw was writen to solve the problem like
sudo apt-get update/upgrade
but in the end it still writeing me to -->>you must manually run 'dpkg --configure -a' to correct the problem

i am a new user at linux and i want to remain in the system please people any suggestion??

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

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

Revision history for this message
mailo354 (maya-mnkr) said :
#3

i tried to write the command with sudo but it also stuck my computer....
when it stuck it does't say any error it like he is looking for the files but nothing happend......

Revision history for this message
Vihar (vmankov) said :
#4

You can try the same choosing the repairing option on booting to Ubuntu, prior to the login.
It comes immediately after BIOS report. Choose the second line and do all of the offered options starting from the file system checking and then going up.

Revision history for this message
ruth axtell (cutler207) said :
#5

i do all the above commands and get the message: dpkg: requested operation requires superuser privilege
how do i get this?

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

Please read in this thread and my previous answer...

Hth

Revision history for this message
Vishruth (vishruth-srinath) said :
#7

Hello,
This is what I get when i use sudo dpkg --configure -a

Setting up flashplugin-installer (10.0.32.18ubuntu1) ...
Downloading...
--2009-11-29 16:52:43-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.0.32.18.orig.tar.gz
Resolving archive.canonical.com... 91.189.90.142
Connecting to archive.canonical.com|91.189.90.142|:80... failed: Connection timed out.
Retrying.

--2009-11-29 16:55:53-- (try: 2) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.0.32.18.orig.tar.gz
Connecting to archive.canonical.com|91.189.90.142|:80...

There are proxy settings to bypass where i'm using my comp and i havent installed NTLMaps yet .

Any ideas on how to fix this?

Can you help with this problem?

Provide an answer of your own, or ask mailo354 for more information if necessary.

To post a message you must log in.