1

I am unable to add/remove any packages in ubuntu karmic

I keep getting the following

Errors were encountered while processing:
crossplatfromui
E: Sub-process /usr/bin/dpkg returned an error code (1)

What do I do to completely remove this package ?

3 Answers3

2

Try this:

rm /var/lib/dpkg/info/crossplatfromui.{pre,post}rm
dpkg -r crossplatfromui
apenwarr
  • 2,012
  • 1
  • 11
  • 11
0

dpkg --purge thePackage

That also removes configuration files.. just use --remove if you want to keep them.

However, I still have the same problem. It keeps on coming back when i try to install a package i need. Perhaps i've fudged my system.. ;)

Where can i find a list of what the error codes mean?

0

To figure out what an error code means do this:

bash $ perror 1

but normally you get the error exact same error and code when you are debugging anyways!