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
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
|
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.
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.
"cat packagelist | xargs pacman -S" should produce the same results you are looking for, however.