I am having a problem installing updates.

Asked by patrickm918

see the problem is I am not able to install updates hence not allowing me to install anything else on my computer.
When I click install updates on the updates manager this error pops up saying the following.

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

Any ideas on what to do would be greatly appreciated!

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-panel Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Chris Brotherton (protonchris) said :
#1

Try running in a terminal:

sudo dpkg --configure -a

Looks like dpkg was interrupted at some point in the past.

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

oh ok would you mind explaining how to do that as I am not really educated on terminals.

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

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 :
#4

Open terminal (Applications→Accesories→Terminal) and write down "sudo dpkg --configure -a" (without quotation marks).

Revision history for this message
patrickm918 (patrickm918) said :
#5

hmm....i typed that in now it is asking for a password and it seems to be not letting me enter my password

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

Vojtěch Trefný suggests this article as an answer to your question:
FAQ #62: “Unable to type password in terminal”.

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

Normal type password and use enter (there are no '*' while you type).

Revision history for this message
patrickm918 (patrickm918) said :
#8

ok i think i got it

i will see if it works now

Revision history for this message
patrickm918 (patrickm918) said :
#9

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

now i received this message

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

So, open terminal again (Applications→Accesories→Terminal) and use "sudo apt-get install -f" (without quotation marks)...

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

omg lol this is really weird now its saying this

E: Invalid operation install-f

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

yes, because you have forgot interspace it's "sudo apt-get install -f"

Revision history for this message
patrickm918 (patrickm918) said :
#13

haha genius your really smart thanks

Revision history for this message
patrickm918 (patrickm918) said :
#14

okay now i have this agreement window that has popped up and it will not allow me to accept it.

Revision history for this message
patrickm918 (patrickm918) said :
#15

never mind

Revision history for this message
patrickm918 (patrickm918) said :
#16

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

Revision history for this message
patrickm918 (patrickm918) said :
#17

Thanks a lot again

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

Use Tab to swich to OK or Accept.