From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 16:31:34 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 49E3F106564A for ; Thu, 22 Jan 2009 16:31:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 25A498FC1C for ; Thu, 22 Jan 2009 16:31:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 25010 invoked from network); 22 Jan 2009 16:31:28 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Jan 2009 16:31:28 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 9415E50844; Thu, 22 Jan 2009 11:31:27 -0500 (EST) To: Novembre References: <3b47caa90901211835o7eae77d9v2bead5e01dcf14af@mail.gmail.com> From: Lowell Gilbert Date: Thu, 22 Jan 2009 11:31:27 -0500 In-Reply-To: <3b47caa90901211835o7eae77d9v2bead5e01dcf14af@mail.gmail.com> (novembre@gmail.com's message of "Wed\, 21 Jan 2009 20\:35\:53 -0600") Message-ID: <44fxjbwbds.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: old cruft after source upgrading --- clean install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2009 16:31:34 -0000 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/