From 3f9ddf262df63901c8d91fc8e0a9fe41e5e489d4 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Wed, 22 Feb 2006 19:49:06 +0000 Subject: skipped conflict resolution for targets removed from transaction set --- lib/libalpm/sync.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index cec0b427..22f49f84 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -471,6 +471,11 @@ int _alpm_sync_prepare(pmtrans_t *trans, pmdb_t *db_local, PMList *dbs_sync, PML } sync = find_pkginsync(miss->target, trans->packages); + if(sync == NULL) { + _alpm_log(PM_LOG_DEBUG, "'%s' not found in transaction set -- skipping", + miss->target); + continue; + } local = _alpm_db_get_pkgfromcache(db_local, miss->depend.name); /* check if this package also "provides" the package it's conflicting with -- cgit v1.2.3-70-g09d2