index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/deps.c | 4 | ||||
-rw-r--r-- | src/pacman/callback.c | 4 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index e67b0083..cd154070 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -599,7 +599,7 @@ int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg, if(_alpm_pkg_should_ignore(sync)) { pmpkg_t *dummypkg = _alpm_pkg_new(); STRDUP(dummypkg->name, miss->target, RET_ERR(PM_ERR_MEMORY, -1)); - QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, dummypkg, sync, NULL, &found); + QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, sync, dummypkg, NULL, &found); _alpm_pkg_free(dummypkg); } } @@ -622,7 +622,7 @@ int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg, if(_alpm_pkg_should_ignore(sync)) { pmpkg_t *dummypkg = _alpm_pkg_new(); STRDUP(dummypkg->name, miss->target, RET_ERR(PM_ERR_MEMORY, -1)); - QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, dummypkg, sync, NULL, &found); + QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, sync, dummypkg, NULL, &found); _alpm_pkg_free(dummypkg); } } diff --git a/src/pacman/callback.c b/src/pacman/callback.c index ff125c36..f968873f 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -254,8 +254,8 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2, if(data2) { /* TODO we take this route based on data2 being not null? WTF */ *response = yesno(1, _(":: %s requires installing %s from IgnorePkg/IgnoreGroup. Install anyway?"), - alpm_pkg_get_name(data1), - alpm_pkg_get_name(data2)); + alpm_pkg_get_name(data2), + alpm_pkg_get_name(data1)); } else { *response = yesno(1, _(":: %s is in IgnorePkg/IgnoreGroup. Install anyway?"), alpm_pkg_get_name(data1)); |