cannot install downloads updates

Asked by dave

I get error message that said E:'dpkg--configure-a'
E:_cache->open[] failed

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
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

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

Revision history for this message
dave (bardar226) said :
#3

I type in what you said and and it ask for my password. when I try to enter my password the command prompt does noting

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

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
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 to update and upgrade by command line, type:

sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade

Hope this helps

Revision history for this message
dave (bardar226) said :
#6

I tried the 'sudo apt-get -f install' also sudo apt-get update and sudo apt-get upgrade and still get the message 'you must manually run 'dpkg -- configure-a ' to correct this problem

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

The command you must type isn't

dpkg -- configure-a

Please open a Terminal from the menu Applications->Accessories->Terminal and type or copy and paste the row below:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
dave (bardar226) said :
#8

I typed in the ' sudo dpkg --configyre -a' and now get a message that said

 "package is in very bad inconsistent state - you should reinstall it before
attempting to configureing"
then it said "processing triggers for libc6"
ldconfig deferred processing now taking place
errors where encountered while processing:
cupsys

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

Please open a Terminal from the menu Applications->Accessories->Terminal and type or copy and paste the row below:

sudo apt-get --reinstall install cupsys
sudo dpkg --configure -a
sudo apt-get -f install

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
dave (bardar226) said :
#10

marcobra, 'sudo apt-get --reinstall install cupsys' worked.
thank you,