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

pkg install should set automatic flag to 0 for automatically installed packages #2207

Open
jrtc27 opened this issue Nov 30, 2023 · 0 comments

Comments

@jrtc27
Copy link
Contributor

jrtc27 commented Nov 30, 2023

If a package is already automatically installed, pkg install should still set the automatic flag to 0 (c.f. apt which does this, for example), since that's the obvious intent. It's less clear whether pkg install -A should set the automatic flag to 1 if manually installed; in some cases that would be what you want, but probably in general it's not, since you're just installing something for the purpose of doing something else, and whoever/whatever manually installed it may wish to keep it around past a subsequent autoremove, so probably one should need to use pkg set -A 1 explicitly.

@jrtc27 jrtc27 changed the title pkg install should always set automatic status pkg install should set automatic flag to 0 for automatically installed packages Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant