Thursday, July 8, 2010

Removing packages from Debian/Ubuntu

Just a quick note so I don't waste time revisiting this topic again.

A coworker of mine forced a package install without repositories so all the dependencies obviously failed. Trying to remove it, I did a

dpkg --remove

But running an apt-get said it was still installed. Running

dpkg --list

Gave me a status of "rc" - which left a lot of files laying around. (Configs, etc.)

Finally, I just did a

dpkg --purge

And it cleared out all the junk.

From there, I was able to do a normal apt-get against the repositories.

No comments:

Post a Comment