New to Linux - Ubuntu Linux updates will not install

Asked by doctorfluke

When I attempt to download & install Ubuntu updates, 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 don't know how to run this !!!

HELP !!!!

Ken

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

To correct this problem just open Terminal (Applications → Accesories → Terminal) and type 'sudo dpkg --configure -a'.

Revision history for this message
doctorfluke (appellkr) said :
#3

Thanks Vojtěch Trefný, that solved my question.

Revision history for this message
doctorfluke (appellkr) said :
#4

It did not solve my problem,
It is now asking me for my [sudo password].
and it won't let me type!!!

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

It's easy - the passwords won't show up as you type them but they are being entered.. Notice that it won't show the '*' while you type, but just type in normally ! this is how it works to avoid people from looking over your shoulder !:-)

(FAQ #62 - https://answers.edge.launchpad.net/ubuntu/+faq/62)

Revision history for this message
doctorfluke (appellkr) said :
#6

/*Thanks, it worked !!!!

Ken

*/
Vojtěch Trefný wrote:
> Your question #24558 on yelp in ubuntu changed:
> https://answers.edge.launchpad.net/ubuntu/+source/yelp/+question/24558
>
> Status: Open => Answered
>
> Vojtěch Trefný proposed the following answer:
> It's easy - the passwords won't show up as you type them but they are
> being entered.. Notice that it won't show the '*' while you type, but
> just type in normally ! this is how it works to avoid people from
> looking over your shoulder !:-)
>
> (FAQ #62 - https://answers.edge.launchpad.net/ubuntu/+faq/62)
>
>

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

Glad that I can help :-).

(And please mark this as solved.)

Revision history for this message
Russ Ingram (rsi-ingram4321) said :
#8

Ufortunately the above procedure did not work for me. I typed in "sudo dpkg --configure -a" and got the following error message
"dpkg ../../packages.c221: process_queue: Assertion dependtry <= 4 failed Aborted"
Can you assist please?
Thank you

Revision history for this message
Trevor Martin (lewenmartin) said :
#9

Hi
I tried to configure through the terminal, yet I get command not found....Please help as I need to do updates.
thanks

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

@ Trevor

Please don't append a new question on a already answered or marked as solved question.
Please make new question from here: https://answers.launchpad.net/ubuntu/+addquestion
you will get better chance to get right answer on a fresh tagged "open" question.
Solved or answered questions are usually not read from answering people.

Thank you

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

@Trevor try this and if you get errors please open a new question...

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

Can you help with this problem?

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

To post a message you must log in.