From owner-freebsd-questions Sun Oct 13 7:30:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDE4C37B401 for ; Sun, 13 Oct 2002 07:30:47 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 4A71B43E6A for ; Sun, 13 Oct 2002 07:30:46 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 22412 invoked from network); 13 Oct 2002 14:30:39 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 13 Oct 2002 14:30:39 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id C24412FDAB2; Sun, 13 Oct 2002 16:30:36 +0200 (CEST) Date: Sun, 13 Oct 2002 16:30:36 +0200 From: Roman Neuhauser To: Dave Chapman Cc: questions@freebsd.org Subject: Re: Ports system broken Message-ID: <20021013143036.GK364@freepuppy.bellavista.cz> Mail-Followup-To: Dave Chapman , questions@freebsd.org References: <20021013150207.2aca0a45.dave.chapman@dsl.pipex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021013150207.2aca0a45.dave.chapman@dsl.pipex.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG please keep the line length below 75 chars. # dave.chapman@dsl.pipex.com / 2002-10-13 15:02:07 +0100: > I've managed to completely screw up my ports collection > So, what I would like to know is: can I get my system back to a state > as if it had never had any ports installed on it at all, so I can then > put a fresh copy of the ports tree on it and start over again? probably by: # rm -rf /usr/local/* # rm -rf /usr/X11R6/* # rm -rf /var/db/pkg/* just as you say below. but it's not necessary. > I'm thinking the procedure may go something like > - remove /usr/local if the stuff you have installed works (iow, the whole problem is that you can't install anything new), this is not needed > - make installworld to replace anything in /usr/local that wasn't put > there by ports there's no such thing. > - remove /usr/X11R6 (since X is part of the ports?) > - remove the package database under /var/db > > Does this sound like it may work, seems so. > or have I overlooked some glaringly obvious flaw in my plan? it's an overkill. > It would be really good to find a solution other than a complete > reinstall, as the base system (cvsup'd to 4.7 a couple of days ago) is > working really well... # rm -r /usr/ports/* # cd /usr/src # make update (replace the last two lines with manual cvsup if you don't have it [cvsup] configured in /etc/make.conf) -- begin 666 nonexistent.vbs FreeBSD 4.7-STABLE 4:24PM up 18:54, 9 users, load averages: 0.01, 0.05, 0.01 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message