-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pacsift: no output if --sysroot=/ is specified explicitely #26
Comments
It's specifically when using --sysroot and <&-. <&- closes the file descriptor, freeing up fd 0, parsing the config then opens the sysroot directory and gets fd 0, then when pacsift goes to check stdin for packages it sees the directory fd which is not a tty so it tries to read a list of packages, but of course there are none. |
Recent versions of pacinfo have an easy to parse, line-by-line format, removing the need for expac. Newline seperation should suffice, so remove --null. This could be used to implement --sysroot, which is however blocked by a pacsift bug: andrewgregory/pacutils#26
Recent versions of pacinfo have an easy to parse, line-by-line format, removing the need for expac. Newline seperation should suffice, so remove --null. This could be used to implement --sysroot, which is however blocked by a pacsift bug: andrewgregory/pacutils#26
Recent versions of pacinfo have an easy to parse, line-by-line format, removing the need for expac. Newline seperation should suffice, so remove --null. This could be used to implement --sysroot, which is however blocked by a pacsift bug: andrewgregory/pacutils#26
Recent versions of pacinfo have an easy to parse, line-by-line format, removing the need for expac. Newline seperation should suffice, so remove --null. This could be used to implement --sysroot, which is however blocked by a pacsift bug: andrewgregory/pacutils#26
This should be fixed on the yolo branch. Can you double check that it works for you? |
I can confirm it works with latest master. Thanks! |
andrewgregory/pacutils#26 was fixed so this option can now be safely exposed.
andrewgregory/pacutils#26 was fixed so this option can now be safely exposed.
andrewgregory/pacutils#26 was fixed so this option can now be safely exposed.
andrewgregory/pacutils#26 was fixed so this option can now be safely exposed.
Example:
Note that I'm using
xargs -a
here, because I want to be able to pass many--satisfies=foo
topacsift
without exceedingARG_MAX
. I know of no other way to use--satisfies
with values taken fromstdin
.The text was updated successfully, but these errors were encountered: