Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#60106 - Versioned optdepends shown as installed even with version mismatch
Attached to Project:
Pacman
Opened by Tinu Weber (ayekat) - Tuesday, 18 September 2018, 13:45 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:44 GMT
Opened by Tinu Weber (ayekat) - Tuesday, 18 September 2018, 13:45 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:44 GMT
|
DetailsSummary and Info:
In the output of `pacman -Qi`, the "Optional Deps" line marks optional dependencies as [installed] even if the version does not match. Steps to Reproduce: 1. Build a dummy package that depends on a bogus version of something that is installed, e.g. pkgname=dummypkg pkgver=0.1 pkgrel=1 arch=(any) optdepends=('coreutils=1.1') 2. Install the package and check the output of `pacman -Qi`, e.g.: Name: dummypkg ... Optional Deps: coreutils=1.1 [installed] ... Interestingly, `pacman -Qi` correctly shows that coreutils is not optionally required by this dummypkg (it does show it if the version matches), and pacman also does not mark coreutils=1.1 as [installed] during the installation; it seems to be uniquely the `pacman -Qi` output. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Friday, 11 October 2019, 19:44 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=3318039e3b1530396b0e3ced49ea6fe5 b6ea00c5
Friday, 11 October 2019, 19:44 GMT
Reason for closing: Fixed
Additional comments about closing: https://git.archlinux.org/pacman.git/com mit/?id=3318039e3b1530396b0e3ced49ea6fe5 b6ea00c5
Comment by Eli Schwartz (eschwartz) -
Tuesday, 18 September 2018, 14:10 GMT
https://lists.archlinux.org/pipermail/pacman-dev/2018-September/022819.html