Subject: Re: 3.1_STABLE issues
To: Louis Guillaume <lguillaume@berklee.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 11/12/2006 11:49:22
On Sat, Nov 11, 2006 at 11:26:22PM -0500, Louis Guillaume wrote:
> Manuel Bouyer wrote:
> >On Sat, Nov 11, 2006 at 09:56:24AM -0500, Louis Guillaume wrote:
> 
> ...
> 
> >>obsolete check:
> >>        Remove obsolete file /lib/libcrypto.so.2.1
> 
> ...
> 
> >>To fix, run:
> >>    /usr/sbin/postinstall -s / -d / fix obsolete
> >>
> >>
> >>... which will break the system.
> >
> >How will it break ? Don't you have other version of these librairies ?
> 
> 
> Take, for example, libcrypto.so.2.1 singled out above...
> 
> maat# ls -l /lib/libcrypto*
> lrwxr-xr-x  1 root  wheel       16 Nov  9 10:26 /lib/libcrypto.so -> 
> libcrypto.so.2.1
> lrwxr-xr-x  1 root  wheel       16 Nov  9 10:26 /lib/libcrypto.so.2 -> 
> libcrypto.so.2.1
> -r--r--r--  1 root  wheel  1066437 Nov  9 10:14 /lib/libcrypto.so.2.1
> -r--r--r--  1 root  wheel  1104139 Oct  5  2005 /lib/libcrypto.so.2.2
> maat# grep /lib/libcrypto /etc/mtree/set.*
> /etc/mtree/set.base:./lib/libcrypto.so
> /etc/mtree/set.base:./lib/libcrypto.so.2
> /etc/mtree/set.base:./lib/libcrypto.so.2.1
> /etc/mtree/set.base:./usr/lib/libcrypto.so
> /etc/mtree/set.base:./usr/lib/libcrypto.so.2
> /etc/mtree/set.base:./usr/lib/libcrypto.so.2.1
> /etc/mtree/set.comp:./usr/lib/libcrypto.a
> /etc/mtree/set.comp:./usr/lib/libcrypto_p.a
> /etc/mtree/set.comp:./usr/lib/libcrypto_pic.a
> 
> 
> ... so it's in set.base, and in the filesystem, but being removed as 
> obsolete.
> 
> The libcrypto.so.2.2 is ( I think ) a left-over from when I changed over 
> from -current to netbsd-3.

OK, so you didn't upgrade, you've *downgraded* from current to netbsd-3.
postinstall doesn't support downgrade.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--