mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
sync: fix garbled output in conflict prompt
$ pacman -S cronie resolving dependencies... looking for inter-conflicts... :: cronie and fcron are in conflict (@.). Remove fcron? [y/N] n $ sudo pacman -S pacman resolving dependencies... looking for inter-conflicts... :: pacman and pacman-git are in conflict (pKÈ). Remove pacman-git? [y/N] Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
c28052e45b
commit
16334f778b
@ -527,7 +527,7 @@ int _alpm_sync_prepare(alpm_handle_t *handle, alpm_list_t **data)
|
||||
alpm_pkg_t *local = _alpm_db_get_pkgfromcache(handle->db_local, conflict->package2);
|
||||
int doremove = 0;
|
||||
QUESTION(trans, ALPM_TRANS_CONV_CONFLICT_PKG, conflict->package1,
|
||||
conflict->package2, conflict->reason, &doremove);
|
||||
conflict->package2, conflict->reason->name, &doremove);
|
||||
if(doremove) {
|
||||
/* append to the removes list */
|
||||
_alpm_log(handle, ALPM_LOG_DEBUG, "electing '%s' for removal\n", conflict->package2);
|
||||
|
Loading…
Reference in New Issue
Block a user