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#15938 - -Qu always returns 0 on pacman 3.3
Attached to Project:
Pacman
Opened by Tomas Mudrunka (harvie) - Saturday, 15 August 2009, 01:24 GMT
Last edited by Xavier (shining) - Wednesday, 19 August 2009, 06:28 GMT
Opened by Tomas Mudrunka (harvie) - Saturday, 15 August 2009, 01:24 GMT
Last edited by Xavier (shining) - Wednesday, 19 August 2009, 06:28 GMT
|
DetailsSummary and Info: older pacman had different exit code for -Qu reflecting if some upgrades are available or not, but pacman 3.3 always returns 0 for -Qu not depending on available upgrades.
return codes of old pacman: updates available = 0 no new packages = 1 (or nonzero) This feature was important for various kinds of pacman frontends like update notifiers, etc... please give it back. Steps to Reproduce: pacman -Qu; echo $?; |
This task depends upon
Closed by Xavier (shining)
Wednesday, 19 August 2009, 06:28 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit bba234a92ed9
Wednesday, 19 August 2009, 06:28 GMT
Reason for closing: Fixed
Additional comments about closing: fixed by commit bba234a92ed9
Comment by Xavier (shining) -
Tuesday, 18 August 2009, 15:20 GMT
here is a patch
0001-query.c-return-1-when-no...
(1.2 KiB)