On 2021-09-19, Jordan Geoghegan <[email protected]> wrote:
> Hello,
>
> I recently decided to clean up my desktop machine of unused packages etc.
> I've been running release/stable on this machine since around the OpenBSD 6.2
> era. The machine has been upgraded over the years all the way to 6.9. I'm not
> sure that it's relevant, but I've regularly run sysclean in an effort to keep
> my install clean and fresh.
>
> When running "pkg_info -m", within the output list I am shown a number of
> random dependencies which I did not manually install. Is there a way to
> remove the "manually installed" tag from these library/dependency packages to
> allow them to potentially be cleaned up by "pkg_delete -a"?
Yes, with pkg_add(1):
"-aa Force already installed packages to be tagged as
installed automatically."