Can not install any programs in Ubuntu 8.10

Asked by Randy on 2008-11-28

I tried to install Limewire for Linux Ubuntu 8.10 and during the install, a power failure! When trying to install again, I receive the message " An Error Occured" - "E: dpkg was interrupted, you must manually run dpkg--configure-a to correct the problem and another message E:cash->open ( ) failed, please report. I get this message when I try to install anything! Can anyone help me here? I'm really new to
this Linux thing.

Thanks! Randy

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Pascal Fares (pascalfares) said :
#1

Hello,

for installing package you must be root,

use the sudo command in front of any command needing the root privilege

for example :

sudo dpkg --configure -a
sudo apt-get install Limewire

Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#2

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

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean
sudo apt-get autoremove

I would recommend installing Frostwire rather than Limewire, it is a stripped down version of Limewire with the adware. Both Frostwire and Limewire require Java to run.

To install Java

Please first enable the multiverse repository from the menu System-> Administration-> Software Sources. Then from the terminal type

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

You can download and install Frostwire from the website
http://www.frostwire.com/

Hope this helps

Revision history for this message
Randy (johnrfields) said :
#3

In terminal, I run dpkg -- configure - a and get a large list of options, which (of many) do I use to fix the error problem with the installer?

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

The "dpkg --configure -a" is asked by the system when a previous update/upgrade process have not completely performed good, and it must run with "root" privileged administrative user.
Using the "sudo" command we can do a command as "root" user, and "dpkg --configure -a" need be run from root user.
After the "dpkg --configure -a" command i add all the usual commands (see below) you can run to be sure your system became fully upgraded.

Typing the commands as sudo the system will ask you for a password, please give your user password when requested, you don't see nothing when you type it, then press enter.

So please:

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

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

Hope this helps

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

Be careful of spaces when you type the command
sudo <space> dpkg <space> --configure <space> -a

HTH

Revision history for this message
Randy (johnrfields) said :
#6

Thanks Wyatt Smith, that solved my question.

Revision history for this message
niket (niketogia) said :
#7

Hi! I had the same problem too and your advice solved it. I just wanted to thank you.
T h a n k y o u v e r y m u c h ! ! !

nike

Revision history for this message
eu Rivera (eugeniariverab) said :
#8

Thanks