void-packages/include
Juan RP 0d8f08e8ea Added support to list and remove orphaned packages.
A new target has been added to xbps-bin: autoremove. It works in
the same way than 'apt-get', but there's no stdin input. By default
it will list you all orphaned packages, and -f flag must be set
to really remove them.

The following is a real example for the git package, which requires
directly perl and curl-libs, and indirectly libidn and openssl.

$ xbps-bin -r ~/testing-xbps remove git
Removing package git-1.6.1.3 ... done.
$

$ xbps-bin -r ~/testing-xbps autoremove
The following packages were installed automatically
(as dependencies) and aren't needed anymore:

	perl-5.10.0 curl-libs-7.19.0 libidn-1.10 openssl-0.9.8j

If you are really sure you don't need them, use -f to confirm.
$

--HG--
extra : convert_revision : 70eebaa3d99be27753b94f580c8ec86330c7c2d3
2009-03-02 02:26:20 +01:00
..
cmpver.h Reorganize headers and move two funcs into util.c, where they belong. 2009-02-05 16:53:49 +01:00
fexec.h Some more cleanups for previous. 2009-02-05 16:57:20 +01:00
humanize_number.h Some more cleanups for previous. 2009-02-05 16:57:20 +01:00
install.h Implement support to update required_by objs when removing a pkg. 2009-02-27 16:03:25 +01:00
plist.h Implement support to update required_by objs when removing a pkg. 2009-02-27 16:03:25 +01:00
queue.h Add queue.h from NetBSD rev 1.50, verbatim. 2008-12-22 07:42:34 +01:00
remove.h xbps-bin: add -v flag, used when installing/removing currently. 2009-02-17 00:08:03 +01:00
repository.h Some more cleanups for previous. 2009-02-05 16:57:20 +01:00
sha256.h Reorganize the tree splitting stuff on its own dir. 2008-12-21 23:57:02 +01:00
util.h Added support to list and remove orphaned packages. 2009-03-02 02:26:20 +01:00
xbps_api.h xbps-bin: implement 'files' target, to show installed files for a pkg. 2009-02-26 02:46:20 +01:00