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#23370 - "pacman -v" and "pacman --debug" alone no longer produce useful output

Attached to Project: Pacman
Opened by Ray (ataraxia) - Sunday, 20 March 2011, 20:05 GMT
Last edited by Allan McRae (Allan) - Monday, 21 March 2011, 13:23 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.5.0
Due in Version 3.5.1
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

As of 3.5.0, running just plain "pacman -v" or "pacman --debug" no longer produce the normal output of these flags before erroring out for a lack of operation to perform. At least pkgfile from pkgtools relied on the earlier behavior, as it parsed the output.

Under 3.4.x:

$ pacman -v
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
Targets : None
error: no operation specified (use -h for help)

$ pacman --debug
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
.........
debug: adding new server URL to database 'multilib': ftp://ftp.archlinux.org/multilib/os/x86_64
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
error: no operation specified (use -h for help)
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'

Under 3.5:

$ pacman -v
error: no operation specified (use -h for help)

$ pacman --debug
error: no operation specified (use -h for help)
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 21 March 2011, 13:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit fd3acff5
Comment by Dan McGee (toofishes) - Sunday, 20 March 2011, 20:24 GMT
I still don't know how I feel about this change, but this will restore the old behavior. Once again, relying on this in any shape or form is highly discouraged.
Comment by Dan McGee (toofishes) - Monday, 21 March 2011, 05:13 GMT
@Allan: thoughts on this?
Comment by Allan McRae (Allan) - Monday, 21 March 2011, 05:19 GMT
I think the old behaviour is more along the lines of what I would expect. So I say apply that patch... even though there is no guarantee about the format of the output in any future release.

Loading...