PDA

View Full Version : [ubuntu] Can't install anything



Happyman7
June 8th, 2010, 08:32 PM
Hey

I have Ubuntu 9.10 (Karmic Koala) and it is pretty good. But for some reason I can't install/uninstall ANYTHING, in terminal, synaptic, or the USC (Ubuntu Software Center).
I think the problem is from some package called "pulseaudio-esound-compat." There isn't really much else I can explain, so I took some screenshots of installing & uninstalling things in terminal.

Trying to install "BzFlag" in terminal.
http://img706.imageshack.us/img706/7329/regularb.th.jpg (http://img706.imageshack.us/i/regularb.jpg/)

Trying to remove "pulseaudio-esound-compat."
http://img35.imageshack.us/img35/9472/removeprob.th.jpg (http://img35.imageshack.us/i/removeprob.jpg/)

They all lead to the pulseaudio package!
It even stops me from upgrading Ubuntu! Ubuntu Update Manager doesn't work, because of this issue.

Could someone tell me how to fix it?

Other info:
I am runing Ubuntu 9.10 on a dual boot machine with Windows XP on the other partition. I don't want to affect anything on Windows, as other people use it.

I haven't used Ubuntu for a long time now, so if you have anything that involves terminal or something of the like, please explain it. I want to know what I am doing before I do something. :D

And before you ask: Yes, I did research this question.

Thanks in Advanced.

pytheas22
June 8th, 2010, 09:11 PM
From hints in this thread (https://answers.launchpad.net/ubuntu/+source/dpkg/+question/22587), I suspect that the file list for the pulseaudio-esound-compat package is corrupt in some way. To fix that problem, run:


sudo rm /var/lib/dpkg/info/pulseaudio-esound-compat.list
sudo apt-get -f install

The first command deletes the file list for the pulseaudio-esound-compat pacakge. The second command tells the package manager to sort out its issues; along the way, it should realize that the file list in question is missing, download a fresh, uncorrupted copy, and then be able to proceed without issue. Thereafter you should be able to install packages as normal.

Happyman7
June 8th, 2010, 09:55 PM
That worked :D

Thank you soooo much.