[pacman-dev] [PATCH] pacman+libalpm: print version names for conflicting packages
allan at archlinux.org
Tue Nov 26 01:56:42 UTC 2019
On 14/11/19 3:45 pm, morganamilo wrote:
> When ever pacman prints a conflict, it now prints pkgname-version,
> instead of just pkgname.
> alpm_conflict_t now carries pointers to alpm_pkg_t instead of just the
> names of each package.
> Fixes FS#12536 (point 2)
> One slight difference here is that the alpm_conflict_t used to hold a
> dupe of the pkgnames, while now it holds a pointer to the real
> We could make it so that it holds a dupe of the package but that will be
> slower. Of course conflicts are pretty rare and usually involve manual
> intervention anyway so what does speed matter?
> Conflicts are also usually handled before the transaction finishes, so
> is there ever a reason for the front end to keep the conflict around
I'm leaning to duplicating the alpm_pkg_t... I could imagine a
graphical frontend making a report of conflict etc at the end of an update.
Any other opinions?
More information about the pacman-dev