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#9180 - Pacman: Allow reading from STDIN

Attached to Project: Pacman
Opened by Glenn Matthys (RedShift) - Sunday, 13 January 2008, 00:27 GMT
Last edited by Dan McGee (toofishes) - Thursday, 24 July 2008, 03:24 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I was just thinking about the idea of allowing pacman to read from stdin for some operations, like -S. This would be great for people that want to upgrade from i686 to x86_64 with exactly the same software installed. That way they would just do (for example) pacman -Qi > packagelist, and on their new system do pacman -S < packagelist.

I've had this situation a few times, like when moving an old installation that uses i686 to newer hardware that's 64 bit capable.

Just a thought.
This task depends upon

Closed by  Dan McGee (toofishes)
Thursday, 24 July 2008, 03:24 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Not a very common operation, and comment suggestion should handle majority of cases.
Comment by Dan McGee (toofishes) - Sunday, 13 January 2008, 00:33 GMT
I'm not sure how answering questions will go if you redirect stdin, so that could be an issue.

"cat packagelist | xargs pacman -S" should produce the same results you are looking for, however.

Loading...