Pacman

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.
Tasklist

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
Task Type Bug Report
Category General
Status Closed
Assigned To Xavier (shining)
Architecture All
Severity High
Priority Normal
Reported Version 3.3.0
Due in Version 3.3.1
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Summary 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
Comment by Xavier (shining) - Tuesday, 18 August 2009, 15:20 GMT
here is a patch

Loading...