Remove Extra Packages
Hi
I was wondering how do i know what packages do i need to remove infuture during my removal of nessus? Because if i were to just do 'apt-get remove nessus', only nessus would be removed, and, the extra packages that comes along such as defoma, fontconfig, libatk1.0-0, libfontconfig1 libdg-gif1, and etc will not be taken away. Is there such a command to list the entire packages on your system? How do i identify useless packages? Code:
xserve:/home/peon/psybnc# apt-get install nessus |
You can do that with deborphan which takes care of orphaned packages. I usually do after every other dist-upgrade:
deborphan > orpls apt-get --purge remove `cat orpls` |
wow this way much better than dpkg.
i was exploring dpkg and found the list of packages too. thanks! |
When I run deborphan, it want's to remove java. Is there a way to pin java so it will not be remove when running deborphan? I would like to clean out unused packages, but don't want java removed.
Thanks, :study: |
You could put it on hold: http://www.debian-administration.org/articles/67
Pin it down: http://www.debian.org/doc/manuals/ap....en.html#s-pin Or just remove the line from orpls before removing the files. How did you install java? |
All times are GMT -5. The time now is 09:33 AM. |