deb package error

Asked by shiro on 2008-09-06

As I was downloading "limewire" it froze. Restarted my computer and now I can't get into synaptic package manager. Get the following error:

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

How do I fix this? When I type the command in terminal it doesn't do anything.

Revision history for this message
jacobS (jacsalomon) said :
#1

Try with:

sudo dpkg --configure -a

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

You need only to type the sudo dpkg --configure -a.

But i suggest you to type all the command below to fully upgrade your Ubuntu system.

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 all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
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.

Hope this helps

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

Be sure you have java installed is required by Limewire or Frostwire...

Get the .deb packages from http://www.frostwire.com/?id=downloads
and select open with gdebi.

Install it.

How to install Java

To install sun-java6
Be sure all software sources are selected under menu: System->Administration->Software source: Ubuntu software

Then open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-jre sun-java6-plugin

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

and then select this as your default java jre with

sudo update-java-alternatives

Hope this helps

Revision history for this message
Nick Ellery (nick.ellery) said :
#4

Nick Ellery suggests this article as an answer to your question:
FAQ #52: “'dpkg --configure -a' problem when trying to run Synaptic”.

Revision history for this message
shiro (kla67) said :
#5

Thanks marcobra, that solved my question.