problem getting updates with update manager

Asked by javysr71

hello
My system notifies me some updates at the desktop with an icon but once I check and find them I cant download them. The problem says to me:

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

I'll be glad if you can help me with it, thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

To fix the problem, you should open a terminal and type "sudo dpkg --configure -a" (you password will be asked).

After that, you should be able to run update manager as it should.

Hope this solves the problem !

Regards,
Benoit

Revision history for this message
javysr71 (javysr71) said :
#2

Where do i find that?
If you can tell me step by step I'll be very grateful. Thanks

Revision history for this message
Ergosys (ergosys) said :
#3

Terminal is found in menus "Applications", under submenu "Accessories". When it opens, type the command described above, followed by the return or enter key.

Revision history for this message
tara (tarandavid) said :
#4

same problem here if u solved it please infor me at <email address hidden>

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

Please 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.

Then type:

sudo apt-get -f install

Hope this helps

Revision history for this message
Charles Gray (cgraysportron) said :
#6

tried to type in my password nothing happened. tried to copy and past nothing happened,now what?
email me at <email address hidden> please

Charles Gray

Revision history for this message
Charles Gray (cgraysportron) said :
#7

do not no what happened but it worked after 4 times.
thanks

Revision history for this message
Charles Gray (cgraysportron) said :
#8

Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.24-16-generic linux-headers-2.6.24-16
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
roclin@roclin-desktop:~$

why are they wanting the last line? I put my password in before and it seemed to work but when I did it again it failed.
AS you can see there are 135 updates but its saying it did not. what do i do now?

chuck
<email address hidden>

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

To fully update your system 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.

Then type:

sudo apt-get -f install
sudo apt-get autoremove
sudo apt-get clean all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all

Hope this helps

Revision history for this message
Celestika6 (sexy-weirdo) said :
#10

marcobra is absolutely right... however, I found that my terminal told me i needed superuser privilages. When you open your terminal first type: sudo su then hit enter and put in your password. This will give you total command access. After you do that, do this:

sudo dpkg --configure -a
[enter]
sudo apt-get install
[enter]
sudo apt-get autoremove
[enter]
sudo apt-get clean all
[enter]
sudo apt-get update
[enter]
sudo apt-get upgrade
[enter]

Now after a little waiting it will ask you if you want you continue. just hit "Y" then enter. If you have alot of updates to install... this next bit could take a while. Go do something productive. Seriously... call your mom or something. I had 119 updates waiting for me, it took around 5 hours.

After that's done, proceed with: sudo apt-get dist-upgrade
[enter]
Now it will ask if you want to continue again, once again "Y" and enter

Fun fun! now you have to do some more waiting. I suggest you don't wait until you have buttloads of updates stacked up. I learned the hard way. This took another hour or so. If you do have buttloads of updates waiting, I strongly recommend that you start this process in the morning on a day when you have no prior engagements.

Once all that is said and done, proceed with: sudo apt-get clean all

now restart and you're all done

Revision history for this message
zohar995 (zohar995) said :
#11

Last time I had a problem with the update manager your answer here helped me. This time I tried to run the update manager it told me again:
E: dpkg se interrumpió, debe ejecutar manualmente «sudo dpkg --configure -a» para corregir el problema.
E: _cache->open() failed, please report.
I opened the terminal and typed: sudo dpkg --configure -a and then my password
What I got was this:
Configurando libperl5.10 (5.10.0-19ubuntu1.1) ...

dpkg: error al procesar linux-image-2.6.28-13-generic (--configure):
 El paquete está en un estado grave de inconsistencia - debe reinstalarlo
 antes de intentar su configuración.
Configurando perl-modules (5.10.0-19ubuntu1.1) ...
Configurando perl (5.10.0-19ubuntu1.1) ...

Procesando disparadores para libc6 ...
ldconfig deferred processing now taking place
Se encontraron errores al procesar:
 linux-image-2.6.28-13-generic

I don't know what to do next. Any idea?

Thanks

Can you help with this problem?

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

To post a message you must log in.