On Wed, Nov 25, 2020 at 02:26:42PM +0100, Manuel Giraud wrote:
> Hi,
> 
> I'd like to upgrade (on -current) and, in the process, remove some cruft
> accumulated over the years. I usually do sysupgrade and sysclean for
> system.
> 
> But for packages, I think I would be better to reinstall everything
> since "pkg_check -F" does not seems to complain and I can see I have,
> for example, some firefox-57 files left.

looks at the output of:
# pkg_delete -a -n

it will told you the list of packages that doesn't depends of manual
installed packages.

in this list, you should have packages like .libs-firefox-57

it is left over packages after upgrades. the libraries are kept as you
could have local program linked against them (and if the libraries are
removed, they will not work anymore).

once you identified the packages you want to remove, just remove them:

# pkg_delete .libs-firefox-57 .libs-firefox-58 .libs-firefox-59

Thanks.
-- 
Sebastien Marie

Reply via email to