Saturday, January 27, 2024

Re: cleaning up /usr/local/lib after (many) upgrades?

On 2024/01/27 19:58:45 +0100, Alexander Bochmann <ab@lists.gxis.de> wrote:
> ...on 2024-01-27 19:35:18, Omar Polo wrote:
>
> > does pkg_delete -a help? It should remove all the packages not needed,
>
> I tried pkg_delete -a earlier today, but while it gave me a bunch
> of files that I think were from base (/usr/X11R6 mostly), it didn't
> turn up anything from /usr/local on this system.

I think you're mixing up pkg_delete and sysclean. sysclean will give
you a list of extra files that are not needed, while pkg_delete handles
packages.

also, pkg_* never touches stuff outside of /usr/local (not entirely
correct, there's at least firmware, /var/db/pkg and sample files, but
they don't apply here.)

No comments:

Post a Comment