-
Notifications
You must be signed in to change notification settings - Fork 42
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
Glitches out with --yes #143
Comments
We can't do that for package installation because pacman defaults some prompts to "no". The workaround is to explicitly specify in your aconfmgr configuration the choices that pacman asks for, but I can't think of a panacea other than to change it in pacman (which the pacman maintainers may not be open to - presumably they made those prompts default to "no" for a reason) or use something complicated like |
I've dealt with that. Especially when a package is in conflict (wireplumber and pms). |
Maybe the pacman devs can add a --yes flag that says yes to everything, even questionable choices? Or maybe they'll reject that too? |
This reverts commit cd1c4b0. Not a universal solution as pacman asks for not just yes-or-no questions, see e.g. #143. Let's park this feature until we have a compelling, test-case-backed use case for it. For now, users will need to occasionally run aconfmgr in interactive mode to confirm prompts that pacman deems too dangerous for --noconfirm.
Right. That said, if both situations can be resolved by changing the aconfmgr configuration to one such that pacman does not produce either type of prompt, then not piping
Well, I don't know. They might very well say that pacman is meant to be a user-facing tool and they don't want to support users who stupidly ran it with |
I don't understand what you mean.
They could make it stupidly long, something like |
There's two relevant situations that can occur here. The first one is the one that cd1c4b0 attempted to address:
The second one is the one seen here:
It does look like the user has a more reliable workaround for the second situation, but maybe there's something more we can do for the first case that would not involve piping |
General description of the problem:
When you use --yes, and when pacman asks to choose between 2 packages, it bugs out:
Steps to reproduce the problem:
Configuration:
Expected result:
It would pass the --noconfirm flag to pacman instead of piping
yes
command to itActual result:
It basically pipes
yes
command to itLog:
Additional context:
No response
The text was updated successfully, but these errors were encountered: