From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 23:48:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A87E910656EC for ; Thu, 22 Jan 2009 23:48:31 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id 55EF38FC0A for ; Thu, 22 Jan 2009 23:48:31 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by rn-out-0910.google.com with SMTP id k32so1108951rnd.12 for ; Thu, 22 Jan 2009 15:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cKrFCjgFKkjnwVeqFdFz3x2VWK391OL+SHjeL0a9Pw8=; b=Drf7jsZerIToDEomNXvfj6K/nNvBv7jvTxaBiG+HFS8zf6JjuY46/B1U3fgU2kSxyz 9u9RUcbScSWBeWB57n5RS88fu7JD/QTK6ppJRSaXK70u54oG+12V5tdxmi9PYby0euLk oEuzKScKJNOaHVhitfCP/pOsGUrVYJ07itDIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NqrZTLxIkPTPBAbx1VyZPJr2Ko75CQ4IO3Q11JLSnFATmKAGTtex52NZmrDFqw33l+ dv0EaQitLNQoVItq1bjZ6b4xiX7dLZgqoj9Y6vGEY5dnuIZcgpz/q+dsd4bimB+vsT5S MhCGT2Es2F99MTkxyTuY/a2but8Jg8lXoIEbM= MIME-Version: 1.0 Received: by 10.142.231.7 with SMTP id d7mr4086500wfh.243.1232668110155; Thu, 22 Jan 2009 15:48:30 -0800 (PST) In-Reply-To: <44fxjbwbds.fsf@be-well.ilk.org> References: <3b47caa90901211835o7eae77d9v2bead5e01dcf14af@mail.gmail.com> <44fxjbwbds.fsf@be-well.ilk.org> Date: Thu, 22 Jan 2009 17:48:30 -0600 Message-ID: <3b47caa90901221548j7b311568x23636b3755473aa4@mail.gmail.com> From: Novembre To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: old cruft after source upgrading --- clean install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 23:48:32 -0000 On Thu, Jan 22, 2009 at 10:31 AM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Novembre 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/ > 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 :)