ubuntu won't let me install any thing

Asked by cat96

ok when i open either synaptic package manger,or add remove programs, i get an error that reads

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

so i run 'dpkg --configure -a' but it doesn't do anything and i ran it both in and not in a terminal and it doesn't do anything. when i run it nothing happens, a terminal appears for maybe a 1/9 of a second what do i do.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
cat96
Solved:
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

That command needs to be run with administrator privileges. Try the following:

1) Open a terminal
2) Enter the following command:

sudo dpkg --configure -a

3) Enter your password when prompted.

This command could possibly take a while to run. It may ask you a few questions. Generally, the default answer will work for you. Please paste any error messages you get back here if it doesn't solve your problem.

Revision history for this message
cat96 (tristanlund) said :
#2

thank you i think it worked although its says one package is broken????

Revision history for this message
Steven Danna (ssd7) said :
#3

Does it still say that one package is broken? Try running the
following commands in the terminal:

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

If all of those commands work your packages are in a correctly working
state. The first will attempt to fix any broken packages. The second
and third simply make sure that all your packages are up to date.

Revision history for this message
Anuradha (anuradha-s13) said :
#4

thanks i solved d problm very wel yar thanks a lot.......

Revision history for this message
Anuradha (anuradha-s13) said :
#5

thanks i solved d problm very wel yar thanks a lot.......