pacman/lib/libalpm
Dan McGee 2f96764058 Continue resolving dependencies rather than bailing on first error
This allows error messages emitted by the frontend to be a bit more
descriptive and not have the annoying "well why didn't you tell me that
the first time" problem. If a package had multiple missing deps, we
would bail on the first one before rather than finish processing all
missing dependencies, and only print one error message. Instead,
continue through this entire set of missing deps and append all eventual
errors.

The added pactest tests this case, as the to be installed package has
two missing dependencies. However, pactest does not actually test or see
the difference in output from before and after, so it passes in both
cases, but it is clearly visible in the logs.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-25 07:55:16 -06:00
..
po Merge branch 'maint' 2011-02-06 12:52:20 -06:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
Makefile.am Add a hash table for holding packages 2011-02-04 09:55:45 +10:00
add.c Remove trans->skip_add 2011-02-22 16:48:51 -06:00
add.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
alpm.c Remove need to explicitly register the local DB 2011-01-29 12:13:56 -06:00
alpm.h Mark log callback format string const 2011-02-24 09:38:59 -06:00
alpm_list.c Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
alpm_list.h Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
backup.c Update copyright years for 2011 2011-01-07 18:47:37 -06:00
backup.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
be_local.c Fix some database size estimation problems 2011-02-15 16:58:08 -06:00
be_package.c Don't generate filelist unless we are going to use it 2011-02-16 20:57:07 -06:00
be_sync.c Fix some database size estimation problems 2011-02-15 16:58:08 -06:00
conflict.c Conflict checking code cleanup 2011-02-16 20:57:07 -06:00
conflict.h Conflict checking code cleanup 2011-02-16 20:57:07 -06:00
db.c Actually remove packages from pkghash on removal 2011-02-04 09:55:45 +10:00
db.h Read pkgcache into hash 2011-02-04 09:55:45 +10:00
delta.c Update copyright years for 2011 2011-01-07 18:47:37 -06:00
delta.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
deps.c Continue resolving dependencies rather than bailing on first error 2011-02-25 07:55:16 -06:00
deps.h alpm/depcmp: new NODEPVERSION flag 2011-01-31 10:49:39 -06:00
diskspace.c diskspace: allow used flag to be toggled for both remove and install 2011-02-11 10:51:59 -06:00
diskspace.h diskspace: allow used flag to be toggled for both remove and install 2011-02-11 10:51:59 -06:00
dload.c Add comment about download file resolution 2011-02-04 09:15:22 -06:00
dload.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
error.c Handle PM_ERR_WRITE in alpm_strerror() 2011-02-04 14:21:43 -06:00
graph.h Use CALLOC for _alpm_graph_new() 2011-02-15 16:23:36 -06:00
group.c Update copyright years for 2011 2011-01-07 18:47:37 -06:00
group.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
handle.c Update copyright years for 2011 2011-01-07 18:47:37 -06:00
handle.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
log.c Mark log callback format string const 2011-02-24 09:38:59 -06:00
log.h Mark log callback format string const 2011-02-24 09:38:59 -06:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Read pkgcache into hash 2011-02-04 09:55:45 +10:00
package.h Remove epoch as an independent field 2011-01-21 19:30:45 -06:00
pkghash.c Fix some database size estimation problems 2011-02-15 16:58:08 -06:00
pkghash.h Actually remove packages from pkghash on removal 2011-02-04 09:55:45 +10:00
remove.c Read pkgcache into hash 2011-02-04 09:55:45 +10:00
remove.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
sync.c Various small spelling fixes and small tweaks 2011-02-25 07:53:11 -06:00
sync.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
trans.c Remove trans->skip_add 2011-02-22 16:48:51 -06:00
trans.h Remove trans->skip_add 2011-02-22 16:48:51 -06:00
util.c Add more error checking and logging 2011-02-04 09:00:47 -06:00
util.h Add strndup fallback function to libalpm util 2011-01-21 09:14:47 -06:00
version.c Allow version comparison to contain epoch specifier 2011-01-21 19:30:45 -06:00