Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2009 17:48:30 -0600
From:      Novembre <novembre@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: old cruft after source upgrading --- clean install?
Message-ID:  <3b47caa90901221548j7b311568x23636b3755473aa4@mail.gmail.com>
In-Reply-To: <44fxjbwbds.fsf@be-well.ilk.org>
References:  <3b47caa90901211835o7eae77d9v2bead5e01dcf14af@mail.gmail.com> <44fxjbwbds.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 22, 2009 at 10:31 AM, Lowell Gilbert <
freebsd-questions-local@be-well.ilk.org> wrote:

> Novembre <novembre@gmail.com> writes:
>
> > I have a system which was updated from 6.3-RELEASE to 7.0-RELEASE some
> > eight months ago via a source upgrade. After that, I rebuilt all the
> > packages on the system as well. Now, I would like to update it again
> > to 7.1-RELEASE, and I'm wondering whether I should do a clean install
> > or just do a source upgrade again. My question is regarding all the
> > old cruft that remains after the upgrade and rebuilding of all the
> > packages, as I already know that there are a bunch of old libraries
> > residing somewhere on the system.
>
> pkg_delete (or portupgrade, etc.) should not orphan any libraries
> (occasionally there is a bug in a port that does, but it's rare).  As
> far as the base system, remember the "make delete-old" step, which is
> part of the official UPDATING instructions.
>
> --
> Lowell Gilbert, embedded/networking software engineer, Boston area
>                http://be-well.ilk.org/~lowell/<http://be-well.ilk.org/%7Elowell/>;
>


By 'orphan' do you mean the unreferenced libraries that libchk has found on
my machine?
I use portupgrade, and apparently, the upgrade process leaves them there.
I was also not aware of the 'make delete-old' step! I had never seen it
before. I did the
source upgrade of my machine following what is in the handbook, but i don't
remember
doing any 'make delete-old'...

What should I do with the unreferenced libraries and the ones on the
/usr/local/lib/compat/pkg/
directory?

Thanks :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b47caa90901221548j7b311568x23636b3755473aa4>