Skip to main content

Thread: Can't uninstall or install anything (dpkg error).


i having problems playonlinux , decided uninstall it.

went software center , tried uninstall there, no luck.
said: package operation failed. installation or removal of software package failed.

tried in terminal: entering "sudo apt-get remove playonlinux" , got reply:
e: dpkg interrupted, must manually run 'sudo dpkg --configure -a' correct problem.
i tried enter: "sudo dpkg --configure -a" , got this:
dpkg: error: parsing file '/var/lib/dpkg/updates/0005' near line 0:
newline in field name `e)'
ubuntu 11.04 (64x) installed wubi.

hardware (i don't know if relevant):
intel i5 m 450
ati mobility hd 5650
others?

thank in advance!

hi lucaryholt. can see, file left behind in interrupted installation, , needs removed. /var/lib/dpkg/updates/ empty folder on here, imagine (part of) temporary file needs removed.

run
code:
sudo mv /var/lib/dpkg/updates/0005 ~/dpgk_update_0005
this way can move if goes horribly wrong. run:

code:
sudo dpkg --configure -a
and if works, run
code:
sudo apt-get update
then try install playonlinux again.

if goes toast, run
code:
sudo mv ~/dpgk_update_0005 /var/lib/dpkg/updates/0005
to put file came (hopefully won't need this).


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Can't uninstall or install anything (dpkg error).


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support