Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2010 09:47:01 +0400
From:      Yuriy Taraday <yorik.sar@gmail.com>
To:        ruby@freebsd.org
Subject:   [pkgtools] Removing unused installed packages.
Message-ID:  <AANLkTik3q%2B1LVtFi55sUtQ8SYjyKkBbfkV1aQ3hynCs0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik3q%2B1LVtFi55sUtQ8SYjyKkBbfkV1aQ3hynCs0>