On Mon, Oct 19, 2015 at 08:12:31AM -0400, Nick Holland wrote:
> On 10/19/15 04:24, Raimo Niskanen wrote:
> > Hello misc@
> > 
> > I just noticed from the detailed changelog 5.7->5.8:
> >     http://www.openbsd.org/plus58.html
> > that e.g tcopy, tip and lmccontrol were removed, but after upgrading from
> > 5.7 to 5.8 I still have /usr/bin/tip, /usr/bin/tcopy and /sbin/lmccontrol
> > in the filesystem, with old dates.
> > 
> > The upgrade guide:
> >     http://www.openbsd.org/faq/upgrade58.html
> > listed files to remove concerning the removed sudo, but nothing about
> > the utilities above.
> > 
> > There are also more old files hanging around, e.g:
> >     /usr/bin/perl5.20.1
> >     /usr/bin/perlthanks
> > and in /usr/lib there are old versions of libtls, libssl, libkvm, libedit,
> > libcrypt, libc, etc...
> > 
> > I vaguely remember reading something about old libraries remaining after an
> > upgrade, but can not find it now, at least not up front in the FAQ.
> > 
> > So my question is; should these old utilities be removed after upgrading to
> > 5.8?  And what about old libraries?
> 
> We used to have a little disclaimer that upgrading was not equivalent to
> wiping and reloading with the new version; yes, stuff will get left
> behind.  It was decided the upgrade docs were too big and scary so that
> was one of the things removed to shorten it up (see older versions, like
> upgrade55.html, for example).
> 
> Things that are out-right replaced (i.e., sudo) should be actively
> deleted.  Even if it still works after upgrade, some day it is going to
> break, and you should be pushed to use the new application (or the
> package of the old application).  Things like tip?  what's the point?
>   case 1) It still works.  No harm done.
>   case 2) It no longer works.  useless file on system...so what?
> Either way...no harm.

I understand the policy.  Sounds just fine to me.

> 
> Library files are far more "interesting"...depending on the upgrade,
> they still may work with old packages still on the system.  Delete them,
> you have broken the old packages before you got them upgraded, usually
> no big deal, but sometimes, may really annoy you.
> 
> Again... who cares?  Yes, after ten upgrades, old libraries can start to
> add up, but on a modern system, you will go through a lot of upgrades
> before you can save a GB of data deleting old stuff.  Just not worth the
> trouble.
> 
> Quoting upgrade55.html:
> "However, the results are not intended to precisely match the results of
> a wipe-and-reload installation. Old library files in particular are not
> removed in the upgrade process, as they may be required by older
> applications that may or may not be upgraded at this time. If you REALLY
> wish to get rid of all these old files, you are probably better off
> reinstalling from scratch."

Aaah...  There it was!

> 
> If OCD is causing you to twitch at seeing the old files, reinstall...or
> use this as a therapy.

Therapy is working...  I feel soothed.
Thank you for the explanation!

/ Raimo

> 
> Nick.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to