From owner-freebsd-questions@FreeBSD.ORG Wed May 4 18:25:48 2011 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 1D4A61065670 for ; Wed, 4 May 2011 18:25:48 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out1.iinet.net.au (outbound.icp-qv1-irony-out1.iinet.net.au [203.59.1.106]) by mx1.freebsd.org (Postfix) with ESMTP id 8D4E88FC19 for ; Wed, 4 May 2011 18:25:47 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEABSTwU18qiIV/2dsb2JhbACmHHeIcrwthgcEk0MrihM X-IronPort-AV: E=Sophos;i="4.64,315,1301846400"; d="scan'208";a="782999910" Received: from unknown (HELO smtp.phoenix) ([124.170.34.21]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 05 May 2011 01:57:52 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id C56C11716C; Thu, 5 May 2011 03:57:51 +1000 (EST) Date: Thu, 5 May 2011 03:57:51 +1000 From: andrew clarke To: Chris Brennan Message-ID: <20110504175751.GA43616@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Questions Subject: Re: A possibly odd upgrade question 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: Wed, 04 May 2011 18:25:48 -0000 On Wed 2011-05-04 12:50:05 UTC-0400, Chris Brennan (xaero@xaerolimit.net) wrote: > I have an old PIII running FreeBSD7.3 currently, ports is all kinds of > screwed up, when I did my first cross-version upgrade from 6.x to 7.x, I > didn't know I had to rebuild ports, I subsequently upgrades though every > version upto to 7.3. Ports is still FUBAR, half of them no longer work. So > my question is this, now I know for the future to upgrade ports after every > upgrade, is it safe to nuke /usr/local (excluding /usr/local/home), rebuild > world/kernel for 8.2 and start with a fresh ports tree? You only need to rebuild all your ports after a "major" FreeBSD upgrade, eg. 6.x to 7.x, or 7.x to 8.x. Deleting /usr/local is a bit of an extreme step. You can run pkg_delete -av to delete all installed ports. Starting with a fresh ports tree is probably only necessary if your ports tree is very out of date. Only because if it's stale it could take longer to update it with portsnap than to start the tree from scratch. Of course deleting an existing ports tree can also take a while, too. You shouldn't need to build world & kernel for 8.2 unless you need a custom kernel or something else peculiar to your setup. I have no way of knowing, but I suspect most FreeBSD users just use freebsd-update these days to install the premade binaries of world & kernel. > I thought about a clean reinstall but this machine cannot boot from > USB, both CD-ROM's are dead and have been disconnected to use IDE > hard-drives and the floppy driver is dead as well. You could put the boot HDD into another machine with a working CD-ROM, install it onto that, then put the HDD back into the P3 when you're done. There's no requirement that the installation needs to be done on the same machine it's going to ultimately boot from. Do you actually need to upgrade to 8.x? I'm not sure there's much to gain from putting 8.x on an old P3... Regards Andrew