Ignored packages are from the transaction remove list which consists of duplicated packages so a direct pointer comparison is not appropriate. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- lib/libalpm/deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 1cbbc5f..adbccd1 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -106,7 +106,7 @@ static alpm_list_t *dep_graph_init(alpm_handle_t *handle, alpm_list_t *i, *j; alpm_list_t *vertices = NULL; alpm_list_t *localpkgs = alpm_list_diff( - alpm_db_get_pkgcache(handle->db_local), ignore, ptr_cmp); + alpm_db_get_pkgcache(handle->db_local), ignore, _alpm_pkg_cmp); /* We create the vertices */ for(i = targets; i; i = i->next) { -- 2.0.2