Open michaelcadilhac opened 8 years ago
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!
Hey there! Is there any updates or workarounds for this?
Workaround:
xargs <pkg.txt pacaur -S
Hey there! Is there any updates or workarounds for this?
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
error: argument '-' specified with empty stdin
Thanks! I'll have a look shortly (I haven't access to my nux system for the time being, bear with me).
-
should probably be filtered out in ClassifyPkgs()
.
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