PDA

View Full Version : [SOLVED] no package managers working



Riskexas
May 5th, 2011, 04:27 PM
surfing on the Ubuntu software center i found ¨Platium Arts sandbox gamemaker¨. But it was corrupted! I saw that its corrupted on Ubuntu 11.4, but it was too late. So it corrupt:
anything that i try to install trough package manager (any) fails. Trying to install by terminal (apt-get or something) shows:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.So i write:

sudo dpkg --configure -aBUT it tries to continue installing ¨Platium Arts sandbox gamemaker¨ (which is corrupt)

What should i do?:confused:

lechien73
May 5th, 2011, 05:00 PM
Hi,

You could try the following:

Open a terminal window and type:


cd /var/lib/dpkg
sudo cp available available.old
sudo cp status status.old

Then type:


gksu gedit ./available

to open the "available" file. Remove all references to the corrupted package, then save and quit. Then type:


gksu gedit ./status

to open the "status" file. Do the same as before - remove all references to the corrupted package, then save and quit. Then:


cd info

Delete all files relating to package.

After this, try:


sudo dpkg --configure -a

again!

This should get you back up and running :)

Riskexas
May 5th, 2011, 07:09 PM
YEY IT WORKS AGIAN!!! THANK YOU VERY MUCH!!!! I can live again!!!! URE THA BEST!!!!!!!!!!!!!!!!!!!!
:) :) :) :) :)



BTW it some times mention about it (the package), but it doesn't do anything like: O look strange package... ehh dont care..... :guitar: