On Tue, Apr 24, 2007 at 02:16:38PM +0200, Peter N. M. Hansteen wrote: > while doing a 'pkg_add -ui -F update -F updatedepends' on a machine > with the most recent snapshot I could get my hands on, I get the > message > > Not updating .libs-ImageMagick-6.2.6.1, remember to clean it > > for a number of packages, apparently corresponding to directories > under /var/db/pkg. This being OpenBSD, I know it's most likely > harmless and informational, but I wonder - does this mean I should > 'clean out' these .libs-* directories by deleting them manually? > > That is, if they're still there after the pkg_add command completes.
Yep. It needs some explaining. The .libs-* packages are stub-packages that still contain some shared libraries necessary for other packages, after an update. Say, you update foo-1.0 -> foo-2.0, you may end up with a libfoo.so.1.0 in .libs-foo-1.0, and the regular libfoo.so.2.0 in foo-2.0. This allows you to proceed with the update. The .libs-* packages do not get cleaned up automatically, because it is assumed you may have compiled other stuff outside of the packages' responsibility that still needs it.

