Answer the question
In order to leave comments, you need to log in
How to clean up orphaned packages in Ubuntu?
Hello!
At the moment I use Arch Linux and, in principle, I am satisfied. I recently used Ubuntu 14.10, I liked the Unity shell, and the distribution itself too. I wanted to put it on the laptop.
Now the crux of the problem: apt-get. How can I clean orphaned packages here? How to remove configs for unused packages? I was looking for answers on all sorts of communities, I met terrible things like:
# apt-get remove --auto-remove --purge часть_имени_пакета*
Answer the question
In order to leave comments, you need to log in
Well, in general, it's not such a terrible thing. You can do this:
Then see which package settings are left:
And you can then remove them using dpkg --purge or apt-get remove --purge
You can also use deborphan
Or even like this:
dpkg -l | grep ^rc | awk '{printf $2}' | xargs dpkg --purge
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question