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#36097 - Wrong exit code for `pacman -Sg`
Attached to Project:
Pacman
Opened by Bastien Dejean (baskerville) - Thursday, 11 July 2013, 08:28 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 04 September 2013, 01:21 GMT
Opened by Bastien Dejean (baskerville) - Thursday, 11 July 2013, 08:28 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 04 September 2013, 01:21 GMT
|
DetailsThe following command:
{ for c in s g; do pacman -S${c} foobar || echo no; done } | wc -l outputs: 1 While the expected output is: 2 Or to put it more clearly: the exit code of `pacman -Sg` is always 0. |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 04 September 2013, 01:21 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=6e3ea82f9bd88fc12e
Wednesday, 04 September 2013, 01:21 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=6e3ea82f9bd88fc12e
Comment by Ashley Whetter (AWhetter) -
Thursday, 11 July 2013, 22:43 GMT
I've attached a patch and sent it to the pacman-dev mailing list
0002-Sg-flag-now-returns-corr...
(1.6 KiB)