From ba532bda6b558e5bbf429bfa8f806ac8122c8d56 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 24 Mar 2014 09:59:45 -0400 Subject: sync_prepare: exclude removals from resolvedeps Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- lib/libalpm/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/sync.c') diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 79192cff..888ae15e 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -410,7 +410,7 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data) if(!(trans->flags & ALPM_TRANS_FLAG_NODEPS)) { alpm_list_t *resolved = NULL; - alpm_list_t *remove = NULL; + alpm_list_t *remove = alpm_list_copy(trans->remove); alpm_list_t *localpkgs; /* Build up list by repeatedly resolving each transaction package */ -- cgit v1.2.3-70-g09d2