[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about cleaning up packages after upgrade



On Fri, Feb 09, 2001 at 06:04:58PM -0700, Jill Lundquist wrote:
> To make a long story short, I would like to just delete the files:
> ./lib/libssl.a-0
> ./lib/libssl_p.a-0
> ./lib/libssl_pic.a-0
> ./lib/libcrypto.a-0
> ./lib/libcrypto_p.a-0
> ./lib/libcrypto_pic.a-0
> 
> and then delete the directories /var/db/pkg/ssl-2.7-intl and
> /var/db/pkg/sslUSA26.  Any reason not to?  Will this clean up the
> straggler packages? 
> 
> Is there a better way?  I don't see an option to pkg_delete that
> addresses the question of "I upgraded my system and some of the
> files in this package have been overwritten now, so don't delete
> them."
> 
If memory serves right, the 2.6 and 2.7 libssl stuff should be in /usr/local, 
whereas the 2.8 system stuff is in /usr.

There should be no collision.
Just check that you indeed have the most recent versions of libssl in
/usr/lib, run pkg_delete, and kill the *-0 files.

Anything you find matching *-0 is a candidate for deletion, that's what 
pkg_add will do when it finds a file it already found.

If you haven't already, you should also look at specific
openbsd26/openbsd28 directories.

subdirectories of
/usr/lib/gcc-lib
/usr/lib/perl* (old)
and
/usr/libdata/perl*
come to mind.