pacman/lib/libalpm
Nagy Gabor e63366ae5e New remove option : -u / --unneeded (FS#6505).
With --unneeded option 'pacman -R' doesn't stop in case of dependency error;
it removes the needed-dependency targets from the target-list instead.  See
also: http://archlinux.org/pipermail/pacman-dev/2007-October/009653.html .

The patch also adds a new causingpkg field to pmdepmissing_t which indicates
the to-be-removed package which would cause a dependency break. This is
needed, because miss->depend.name may be a provision. miss->causingpkg will
be useful in -R dependency error messages too.

[Xavier: renamed inducer to causingpkg, removed the _alpm_pkgname_pkg_cmp
helper function as requested by Aaron. This might be added by a further
commit.  Other small cleanups, updated manpage and bash completion.]

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
2008-02-06 08:46:15 +01:00
..
po Portuguese Brazilian translation update for pacman 3.1.1 2008-01-19 00:00:50 +01:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
Makefile.am Remove provide.c and provide.h . 2007-11-17 09:50:05 -06:00
add.c Fix memleak found by add004.py 2008-01-21 19:44:02 -06:00
add.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
alpm.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
alpm.h New remove option : -u / --unneeded (FS#6505). 2008-02-06 08:46:15 +01:00
alpm_list.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
alpm_list.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
backup.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
backup.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
be_files.c Move the deptest code from frontend to backend. 2008-01-21 19:35:43 -06:00
cache.c libalpm/cache.c : don't duplicate packages in pkgcache. 2008-01-23 20:13:01 -06:00
cache.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
conflict.c New _alpm_conflict_dup function 2008-01-27 11:54:25 -06:00
conflict.h New _alpm_conflict_dup function 2008-01-27 11:54:25 -06:00
db.c Merge branch 'maint' 2008-01-14 22:58:44 -06:00
db.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
delta.c Convert deltas to dynamic allocation 2008-01-21 19:33:32 -06:00
delta.h Convert deltas to dynamic allocation 2008-01-21 19:33:32 -06:00
deps.c New remove option : -u / --unneeded (FS#6505). 2008-02-06 08:46:15 +01:00
deps.h New remove option : -u / --unneeded (FS#6505). 2008-02-06 08:46:15 +01:00
error.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
error.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
group.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
group.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
handle.c Fix library interface 2008-01-11 08:43:10 -06:00
handle.h Remove upgradedelay and all code associated with it 2008-01-08 15:49:52 -06:00
log.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
log.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
md5.c Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
md5.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
package.c Move the deptest code from frontend to backend. 2008-01-21 19:35:43 -06:00
package.h Merge branch 'maint' 2008-01-11 23:19:52 -06:00
remove.c New remove option : -u / --unneeded (FS#6505). 2008-02-06 08:46:15 +01:00
remove.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
server.c Use dynamic string allocation in package structures 2008-01-11 00:01:58 -06:00
server.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
sync.c pmsyncpkg_t cleanup 2008-01-27 12:05:33 -06:00
sync.h pmsyncpkg_t cleanup 2008-01-27 12:05:33 -06:00
trans.c libalpm/cache.c : don't duplicate packages in pkgcache. 2008-01-23 20:13:01 -06:00
trans.h Update GNU GPL boilerplate and copyright dates 2007-12-10 22:55:39 -06:00
util.c FS#9183 : force correct permissions on tmp/. 2008-01-13 18:42:26 -06:00
util.h Merge branch 'maint' 2008-01-14 22:58:44 -06:00