From owner-freebsd-questions Sun Oct 13 6:58: 0 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 B174637B401 for ; Sun, 13 Oct 2002 06:57:59 -0700 (PDT) Received: from nemesis.systems.pipex.net (nemesis.systems.pipex.net [62.241.160.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 261E243E7B for ; Sun, 13 Oct 2002 06:57:59 -0700 (PDT) (envelope-from dave.chapman@dsl.pipex.com) Received: from gentoo.localdomain (81-86-170-145.dsl.pipex.com [81.86.170.145]) by nemesis.systems.pipex.net (Postfix) with SMTP id 3627916007E4A for ; Sun, 13 Oct 2002 14:57:55 +0100 (BST) Date: Sun, 13 Oct 2002 15:02:07 +0100 From: Dave Chapman To: questions@freebsd.org Subject: Ports system broken Message-Id: <20021013150207.2aca0a45.dave.chapman@dsl.pipex.com> X-Mailer: Sylpheed version 0.8.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hi, I've managed to completely screw up my ports collection, to the extent that I can't install anything now (don't want to get into how I achieved this, too painful/embarassing :-)) 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? I'm thinking the procedure may go something like - remove /usr/local - make installworld to replace anything in /usr/local that wasn't put there by ports - remove /usr/X11R6 (since X is part of the ports?) - remove the package database under /var/db Does this sound like it may work, or have I overlooked some glaringly obvious flaw in my plan? 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... Regards, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message