Skip to content
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

Allow multiple --ignore flags #950

Open
amosonn opened this issue Oct 17, 2024 · 1 comment
Open

Allow multiple --ignore flags #950

amosonn opened this issue Oct 17, 2024 · 1 comment
Labels
pacman-compat Some issue with Aura's wrapping of Pacman options.

Comments

@amosonn
Copy link
Contributor

amosonn commented Oct 17, 2024

pacman used to take a single --ignore flag with multiple packages. Now it requires an --ignore flag for each package which should be ignored. However, if attempting to do so with aura, you get the following error:

error: the argument '--ignore <pkg>' cannot be used multiple times

which means that it's only possible to ignore a single package within an update.

@fosskers
Copy link
Owner

From the Pacman manpage:

       --ignore <package>
           Directs pacman to ignore upgrades of package even if there is one available. Multiple packages can be
           specified by separating them with a comma.

       --ignoregroup <group>
           Directs pacman to ignore upgrades of all packages in group, even if there is one available. Multiple
           groups can be specified by separating them with a comma.

So you're correct and Aura should behave the same way.

@fosskers fosskers added the pacman-compat Some issue with Aura's wrapping of Pacman options. label Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pacman-compat Some issue with Aura's wrapping of Pacman options.
Projects
None yet
Development

No branches or pull requests

2 participants