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#21953 - [pacman] - New switch: pacman -Ul

Attached to Project: Pacman
Opened by Musikolo (Musikolo) - Wednesday, 01 December 2010, 21:03 GMT
Last edited by Dan McGee (toofishes) - Monday, 13 December 2010, 01:22 GMT
Task Type Feature Request
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.4.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I'm trying to list the content of package I haven't installed to compare it with the version I have installed. So, I'm trying to do the following inexistent command:

pacman -Ul <package_name>-<version>-<arch>.pkg.tar.xz

Is there any way to do so much in the same way you do pacman -Ql <my_package> ? In case the answer is no, is there any chance this new feature is added in a future release?

Best regards!
This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 13 December 2010, 01:22 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See command in comments.
Comment by Xavier (shining) - Wednesday, 01 December 2010, 21:16 GMT
$ pacman -Qh
-p, --file <package> query a package file instead of the database

$ pacman -Qlp <package_name>-<version>-<arch>.pkg.tar.xz

And it's just an archive, so you can also simply tar/bsdtar tf <package_name>-<version>-<arch>.pkg.tar.xz

Loading...