I am working with a recent snapshot installation (090208) and I have
some questions regarding updating packages with pkg_add.


...
1. I am shown the following:

Not updating .libs-curl-7.16.2, remember to clean it
Not updating .libs-db-4.2.52p11, remember to clean it
Not updating .libs-pcre-7.1, remember to clean it
Not updating .libs-png-1.2.18, remember to clean it

How do I "clean it"?

I have these files on my system.  By "cleaning it" should I merely
delete the earlier version?  If so, why doesn't pkg_add do it?

/usr/local/lib/libcurl.so.8.0
/usr/local/lib/libcurl.so.6.0

/usr/local/lib/db4/libdb.so.4.2
/usr/local/lib/db4/libdb.so.5.0

/usr/local/lib/libpcre.so.2.1
/usr/local/lib/libpcre.so.1.1

/usr/local/lib/libpng.so.5.2
/usr/local/lib/libpng.so.6.0


...
2. I am using the following incantation:

# pkg_add -ui

but the documentation [1] says to use:

# pkg_add -ui -F depends -F updatedepends

However, the man page states that the first keyword is unsafe.

What is the recommended procedure and why would I need to use special
keywords for forcing stuff?


...
3. To serve remote systems, on my server I store installed packages
locally through the use of the PKG_CACHE variable.  Thus, after a
packages upgrade, I am left with multiple versions of the same package.

Is there any known method, besides manual deletion, that will clear out
the older versions?


Thanks in advance,

/juan


[1] http://www.openbsd.org/faq/upgrade42.html#Pkgup


      Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

Reply via email to