won't upload packages from add/remove programs or update manager, get error reports

Asked by Andytradin

Binary package hint: gnome-terminal

tryed to upload java 6 runtime and tryed to run update manager but got same error reports...

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

ProblemType: Bug
Architecture: i386
Date: Wed Oct 22 21:39:36 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.22.1-0ubuntu2
PackageArchitecture: i386
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.24-21-generic i686

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
Andytradin (andytradin) said :
#1
Revision history for this message
Michael Vogt (mvo) said :
#2

Thanks for your bugreport.

Please run update-manager to correct the problem.

Alternatively you can open a terminal window and run:
$ sudo dpkg --configure -a
there to fix it.

I'm converting this to a question.

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

Open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo dpkg --configure -a
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

then please reboot your system, type

sudo reboot

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

If this solves you problem, please mark as Solved. If not, please clarify your question.

Hope this helps

Revision history for this message
Andytradin (andytradin) said :
#4

Hi, thanks for the quick response, (I'm not much of a geek but learning). The problem was I tryed to run what the error message said,
 dpkg --configure -a
 but it whouldn't work untill I put sudo in front this sorted out the problem and has been working since.
The package manager reported an application with a broken package in it.

Revision history for this message
Andytradin (andytradin) said :
#5

Thanks marcobra, that solved my question.

Revision history for this message
Corina (cdibisch) said :
#6

i will try this. thanks so much. i will let you know.