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 ?

2
  • Do something like dpkg -D776 -r crossplatfromui and post the output.
    – Vi.
    Apr 7, 2010 at 2:18
  • 1
    Is that the only output it gives, feel free to include all the output that you get. May 9, 2010 at 12:08

3 Answers 3

2

Try this:

rm /var/lib/dpkg/info/crossplatfromui.{pre,post}rm
dpkg -r crossplatfromui
0
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!

1
  • The exit code of an application is not the same as an errno. So this wouldn't do anything useful in this case. Nov 26, 2012 at 22:28

You must log in to answer this question.