-
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
pactrans: support for inverting default options #15
Comments
I'm not sure how this relates to #4. If I'm not sure exactly what behavior you're describing. Despite the documentation to the contrary, |
The issue seems to be because the package in question filled in the When running
If a configuration is specified that only contains
The same effect can be achieved by moving In any case you're right that Is there a particular reason why |
This looks like a case of bad packaging then, there's no reason for the package to use replaces. As for why |
Ok, that sounds reasonable to me. Thanks for the input. |
How about to more specifically make noconfirm only apply to the install or remove question, and otherwise exit with an exit code depending on the asked libalpm question? |
also it would be nice to have some option to only skip |
Related to #4: If updating a single repository with
pactrans --sysupgrade
, and the repository contains a package which conflicts with a package in a different repository, pactrans asks to replace this package, assuming as default "Yes".This is somewhat unexpected (at least for me) as keeping a conflicting package in a local repository does not automatically mean you'd want it as replacement. It matters little for interactive use, but
--no-confirm
selects this default.pacman has an undocumented feature for this (see https://git.archlinux.org/pacman.git/commit/?id=90e3e026d1236ad89c142b427d7eeb842bbb7ff4), so
pacman --ask 2
would invert the default. I wonder if something like this makes sense forpactrans
, or if this is just an inherent limitation with updating a single repository needing a different approach.The text was updated successfully, but these errors were encountered: