Monday, September 20, 2021

Re: pkg_info -m: libraries and dependencies marked as manually installed

On 9/19/21 3:21 PM, Stuart Henderson wrote:
> On 2021-09-19, Jordan Geoghegan <jordan@geoghegan.ca> 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."
>
>

Thanks Stuart, you're a saint - that certainly did the trick!

Regards,

Jordan

No comments:

Post a Comment