You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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 whetherpkg 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 usepkg set -A 1
explicitly.The text was updated successfully, but these errors were encountered: