installing update then my pc hang up

Asked by mmtecson

Please help me. i am installing update to my pc when suddenly my pc hang up. after i reboot my pc. and i started the update again. this message pop out "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report."

Please help i dont know what to do. it seems that my pc doesnt want to continue installing the update due to that message.
many thanks for your help!!

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
actionparsnip (andrew-woodhead666) said :
#1

The system is telling you how to fix it

Open terminal (Gnome) or Konsole (KDE) and copy / paste this command in

sudo dpkg --configure -a

if that doesnt make everything work, ensure you have stuff like synaptic closed and other stuff that communicates with the packages and run this command:

sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a; sudo apt-get -f install

This should get you back on track. Let us know how you get on.

Revision history for this message
Tom (tom6) said :
#2

That seems to cover it all very efficiently. I wish i could keep my answers short like that too :) I'm guessing this is solved now?
Good luck and regards from
Tom :)

Revision history for this message
mmtecson (mmtecson) said :
#3

Tom,
I dont know what this mean. Do i need to get my ubuntu cd then install it again.? PLease help

The package 'linux-image-2.6.24-23-generic' is in a inconsistent state and needs to be reinstalled, but no archive can be found for it.

The package 'linux-image-2.6.24-23-generic' is in a inconsistent state and needs to be reinstalled, but no archive can be found for it. Please reinstall the package manually or remove it from the system.

________________________________
From: Tom <email address hidden>
To: <email address hidden>
Sent: Tuesday, April 21, 2009 4:43:20 AM
Subject: Re: [Question #67998]: installing update then my pc hang up

Your question #67998 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/67998

    Status: Needs information => Answered

Tom proposed the following answer:
That seems to cover it all very efficiently. I wish i could keep my answers short like that too :) I'm guessing this is solved now?
Good luck and regards from
Tom :)

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/67998/+confirm?answer_id=1

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/67998

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Please mark as solved if it is. Thanks

Revision history for this message
Tom (tom6) said :
#5

Hmmm, i got something similar when i ran out of free drive-space. Please check to see if you have at least a couple Mb free. Try emptying the bin and if you use Evolution or Thunderbird then empty the bins in there, you could probably try the option to "compact folders" in there too. If you still don't have enough free-space then in a terminal console enter

sudo apt-get clean
sudo lshw -sanitize
sudo apt-get autoremove

and if you can open Synaptic Package Manager look in

Settings - Preferences

for the tab that lets you clear the downloaded apps cache. Then try

sudo dpkg --configure -a

again. Instead of using the command-line entry there i decided to reboot and used "recovery mode" from the boot-menu to try to clear some more space and also to "fix broken packages" from there. Either should be fine but i think there are slight differences in what they do so if one way doesn't work try the other.

Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#6

Err, you are going to need a couple of hundred Mb free drive space to sort this one out i think.

Good luck and regards from
Tom :)

Can you help with this problem?

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

To post a message you must log in.