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

question about cleaning up packages after upgrade




I just upgraded my mail server, which long ago was running OpenBSD
2.6.  I upgraded it to 2.7 a couple of weeks ago and just this
afternoon brought it up to 2.8.  I thought the upgrade from 2.6 to
2.7 went smoothly -- a couple of small errors, easily fixed -- but
that was nothing compared to 2.7->2.8.  I haven't found anything
broken.  Anything at all, however trivial.  Wow.

I have been going through the list of installed packages (pkg_info -a),
and I notice that I have the packages sslUSA26 and ssl-2.7-intl.
These appear to be remnants of my mail server's previous incarnations,
of course, from the days when USians wouldn't have been able to install
OpenBSD if it included the eeeevil illegal RSA code.

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."

                   Jill