Go to file
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
bin Added support to list and remove orphaned packages. 2009-03-02 02:26:20 +01:00
doc Added support to list and remove orphaned packages. 2009-03-02 02:26:20 +01:00
etc Install by default xbps.conf into $(PREFIX)/etc and use it. 2009-02-05 15:21:33 +01:00
include Added support to list and remove orphaned packages. 2009-03-02 02:26:20 +01:00
lib Added support to list and remove orphaned packages. 2009-03-02 02:26:20 +01:00
shutils binpkg.sh: do the files processing in 3 steps: 1- links, 2- files and 3- dirs. 2009-02-28 17:31:47 +01:00
templates initramfs-tools: s/config_files/conf_files/ 2009-03-01 00:19:28 +01:00
.gitignore Split repo commands into the new xbps-repo bin. 2009-02-05 14:46:09 +01:00
Makefile Install by default xbps.conf into $(PREFIX)/etc and use it. 2009-02-05 15:21:33 +01:00
prog.mk Use a common mk file for all bins, install bins stripped. 2009-02-16 18:03:03 +01:00
vars.mk vars.mk: disable -fstack-protector-all, leave this to the host compiler. 2009-02-27 16:01:33 +01:00