From owner-freebsd-questions@FreeBSD.ORG Wed May 4 18:26:30 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 7348D10656D5 for ; Wed, 4 May 2011 18:26:30 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 286318FC24 for ; Wed, 4 May 2011 18:26:29 +0000 (UTC) Received: by ywf7 with SMTP id 7so639875ywf.13 for ; Wed, 04 May 2011 11:26:29 -0700 (PDT) Received: by 10.91.5.5 with SMTP id h5mr1383870agi.110.1304533589339; Wed, 04 May 2011 11:26:29 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id v1sm1336016anh.51.2011.05.04.11.26.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 May 2011 11:26:28 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3QPnrM0HYhz2CG4n for ; Wed, 4 May 2011 14:26:27 -0400 (EDT) Date: Wed, 4 May 2011 14:26:26 -0400 From: Jerry To: FreeBSD Message-ID: <20110504142626.539c2b6f@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: A possibly odd upgrade question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2011 18:26:30 -0000 On Wed, 4 May 2011 12:50:05 -0400 Chris Brennan articulated: > 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? 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. So it would seem an inline/online rebuild is my only upgrade > solution but with ports in it's current state of FUBAR, it leaves me > with the question of what to do with that too. > > P.S. I've tried a portmaster/portsupgrade of ports, both met > with disastrous results and with 193 current ports installed, over > 75% of which is broke and isn't used any more ... I need to start over Chris, when I have had to do major rebuilds, I have found "portmanager" to be the best tool. It just seems to work. In any case, if it were me, I would clean out the /usr/ports/distfiles directory, update your ports tree, and then update you OS. When you are finished with that fun chore, run; "portmanager -u -l -y -f". Depending on the number of ports installed, it might take some time though. Obviously, you need portmanager installed first. By the way, if you know you need a distfile installed first, something like diablo-jdk or diablo-jre that require you to have the distfile all ready in the /usr/ports/distfiles directory prior to attempting to build the port, then do that prior to updating your system and running portmanager. -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies, ignored or reported as Spam. Do not CC this poster. Please do not ignore the Reply-To header. __________________________________________________________________