NetBSD-Users archive

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

Re: upgrade - what will happen?



"Greg A. Woods" <woods%planix.com@localhost> writes:

> At Sun, 28 Apr 2019 11:02:30 +0200, Benny Siegert <bsiegert%gmail.com@localhost> wrote:
> Subject: Re: upgrade - what will happen?
>>
>> When you upgrade, the old library versions stay around, so old
>> packages continue to work -- with the exception of things depending on
>> osabi, which might break.
>
> Isn't there's one small caveat about old shared library versions?
>
> Postinstall(8), which will be run by sysinst during an upgrade, or if
> you do a manual upgrade and then similarly run "postinstall fix" as is
> recommended, will remove "obsolete" files, including old system shared
> libraries.

The highest minor of any particular major is not supposed to be marked
obsolete, for this very reason.  If so, it's a bug; please report it.

On one system that I have updated continuously since 2003 (with multiple
changes of hardware and disks with dump/restore), I have the libkrb5.so
and 5 previous versions:

-r--r--r--  1 root  wheel  237892 Jan  6  2004 /usr/lib/libkrb5.so.18.0
-r--r--r--  1 root  wheel  252301 Oct 20  2004 /usr/lib/libkrb5.so.19.1
-r--r--r--  1 root  wheel  257801 Jan 28  2009 /usr/lib/libkrb5.so.20.1
-r--r--r--  1 root  wheel  399610 Nov 17  2014 /usr/lib/libkrb5.so.22.0
-r--r--r--  1 root  wheel  570927 Apr  8  2017 /usr/lib/libkrb5.so.26.0
-r--r--r--  1 root  wheel  651144 Apr 10 15:14 /usr/lib/libkrb5.so.27.0


Home | Main Index | Thread Index | Old Index