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#7254 - pacman -Qi <package> no longer correctly sets exit status

Attached to Project: Pacman
Opened by Alec Thomas (alecthomas) - Thursday, 24 May 2007, 11:53 GMT
Last edited by Dan McGee (toofishes) - Thursday, 31 May 2007, 05:25 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.4
Due in Version 3.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

[root@cavern:~]pacman -Qi authz-tools
error: package "authz-tools" not found
[root@cavern:~]echo $?
0
[root@cavern:~]pacman -Qi pacman
Name : pacman
Version : 3.0.4-2
URL : http://www.archlinux.org/pacman/
License : GPL
Groups : None
Provides : None
Depends On : fakeroot libarchive libdownload
Removes : None
Required By : None
Conflicts With : pacman-rc
Installed Size : 2336.27 K
Packager : Arch Linux (http://www.archlinux.org)
Architecture : x86_64
Build Date : Sun May 13 12:59:54 2007 UTC
Build Type : Unknown
Install Date : Thu May 24 00:47:15 2007 UTC
Install Reason : Explicitly installed
Install Script : Yes
Description : A library-based package manager with dependency support
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 31 May 2007, 05:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in GIT
Comment by Dan McGee (toofishes) - Wednesday, 30 May 2007, 19:21 GMT
When going to fix this, I realized one issue- what should happen with this case:
pacman -Qi fasdfasdf pacman

When one succeeds and the other fails, should we still return a failure code?
Comment by Dan McGee (toofishes) - Thursday, 31 May 2007, 05:13 GMT
Fixed in GIT. Error status is now incremented for each failure.

Loading...