Monday, April 25, 2022

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

The upgradeXX.html pages are entirely adequate for listing files
to be deleted.

The /usr/local/ directories are managed adequately by the ports and
packages infrastructure. Occasionally you need to do a "pkg_delete
-na" followed by a "pkg_delete -a" because sometimes there are some
partial library installs. They have a leading dot in the name.

Unsupported packages can live as personal ports in
/usr/ports/mystuff/. Other builds (configure/make) can be dropped
into $HOME or .mystuff/ or something even more creative.

As Theo mentions, constant churn from frequent -current updates can
put extra files into /usr/lib. Shrug.

(I got bit in the 6.1 upgrade that reverted sqlite3 to ports. I
spent a day trying to understand why sqlite3 <database> crashed for
want of a lib. The light dawned when I did a "which sqlite3".
Thereafter I read the upgradeXX.html pages very carefully. Ansible,
available in ports, helps out here.)



John

No comments:

Post a Comment