[pkgtools] Removing unused installed packages.

Yuriy Taraday yorik.sar at gmail.com
Tue Sep 21 06:09:13 UTC 2010


Good day.

Time to time I use utility pkg-orphan to remove unused software from my
system. It looks into /var/db/pkg tree, asks on every package without
+REQUIRED_BY file wether I need it or not, keeps list of needed packages and
calls pkg_delete on all unused ones.
The other way to achieve clean system (aptitude way) is to keep flag on each
installed package whether it has been installed by user request or because
it is required by some other package. This way we can delete all unused
packages when deleting software that needs them.
Are there any plans on implementing one of this methods in pkgtools world? I
think, it should be useful.

Kind regards, Yuriy.


More information about the freebsd-ruby mailing list