From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 19:33:26 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6622D16A41F for ; Tue, 19 Jul 2005 19:33:26 +0000 (GMT) (envelope-from tim-lists@bishnet.net) Received: from carrick.bishnet.net (carrick.bishnet.net [84.234.16.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0496C43D48 for ; Tue, 19 Jul 2005 19:33:25 +0000 (GMT) (envelope-from tim-lists@bishnet.net) Received: from inferno.sixth.bishnet.net ([82.68.45.195] helo=localhost.localdomain) by carrick.bishnet.net with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.51 (FreeBSD)) id 1Duxq2-000C4A-CK; Tue, 19 Jul 2005 20:33:10 +0100 From: Tim Bishop To: chris@sigd.net In-Reply-To: <1121799894.10011.7.camel@localhost> References: <1121799124.10011.2.camel@localhost> <1121799894.10011.7.camel@localhost> Content-Type: text/plain Date: Tue, 19 Jul 2005 20:33:26 +0100 Message-Id: <1121801606.26531.0.camel@inferno.sixth.bishnet.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.25, required 5, autolearn=not spam, AWL -1.65, BAYES_00 -2.60, SPF_PASS -0.00) X-Bishnet-MailScanner-From: tim-lists@bishnet.net Cc: freebsd-ports@freebsd.org Subject: Re: /var/db/pkg deleted..what to do? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 19:33:26 -0000 On Tue, 2005-07-19 at 14:04 -0500, Chris Haulmark wrote: > On Tue, 2005-07-19 at 13:52 -0500, Chris Haulmark wrote: > > What is the best suggestion to a friend who runs a FreeBSD workstation. > > > > He tried to delete mysql completely but deleted /var/db instead > > of /var/db/mysql > > > > He has dozens of packages installed from the ports. He mainly uses > > gnome2 and several other major applications...it would be a pain to > > reinstall everything while he is depending on his memory of what he had > > installed in the first place. > > > > Chris > > > > An update. > > I am playing around with using portsdb -rR pkg_name. What I installed > is a major package like gnome and it listed several other packages that > can be reinstalled with portupgrade -f. > > I am still open for any suggestions to rebuild the package database > without having to recompile or pkg_add everything. Depending on how tidy your friend is, you might find the list of distfiles in /usr/ports/distfiles helpful. Cheers, Tim. -- Tim Bishop http://www.bishnet.net/tim/ PGP Key: 0x5AE7D984