-
Notifications
You must be signed in to change notification settings - Fork 113
Reading package list on stdin fails. #588
Comments
Hey there! Is there any updates or workarounds for this? |
Not really. I spent some time on it, but wasn't able to find a proper fix yet. Contribution welcome. |
I'm not really well versed around bash to be honest... I'll try to search at least a workaround and share here if that's ok. Thanks for answering so quickly! |
Workaround: xargs <pkg.txt pacaur -S |
Root cause (stdin is consumed here): https://github.com/rmarquis/pacaur/blob/master/pacaur#L110 but used here again (but stdin is already closed/EOF): https://github.com/rmarquis/pacaur/blob/master/pacaur#L2038 which is why pacman reports
|
Thanks! I'll have a look shortly (I haven't access to my nux system for the time being, bear with me). |
Relevant info: |
Version
pacaur -v
Description
Suppose we have a list of packages in some
pkg.txt
file; thenpacman -S - < pkg.txt
would install all of them. Pacaur fails at doing so.Output
pacaur -S - < pkg.txt
Debug output
bash -x pacaur -S - < pkg.txt
The text was updated successfully, but these errors were encountered: