From owner-freebsd-ports@FreeBSD.ORG Tue Jul 19 22:50:24 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 C700916A41F for ; Tue, 19 Jul 2005 22:50:24 +0000 (GMT) (envelope-from danny@ricin.com) Received: from smtpq2.home.nl (smtpq2.home.nl [213.51.128.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50F3B43D49 for ; Tue, 19 Jul 2005 22:50:24 +0000 (GMT) (envelope-from danny@ricin.com) Received: from [213.51.128.133] (port=52749 helo=smtp2.home.nl) by smtpq2.home.nl with esmtp (Exim 4.30) id 1Dv0ut-000521-HA; Wed, 20 Jul 2005 00:50:23 +0200 Received: from cp464173-a.dbsch1.nb.home.nl ([84.27.215.228]:51921 helo=desktop.homenet) by smtp2.home.nl with esmtp (Exim 4.30) id 1Dv0ur-0004qG-Vl; Wed, 20 Jul 2005 00:50:22 +0200 From: Danny Pansters To: freebsd-ports@freebsd.org, Chris Haulmark Date: Wed, 20 Jul 2005 00:48:33 +0200 User-Agent: KMail/1.8 References: <1121799124.10011.2.camel@localhost> <1121799894.10011.7.camel@localhost> In-Reply-To: <1121799894.10011.7.camel@localhost> X-Face: "0Qv=,p:+]LvuqrtS4U\z3k"qN=.1]@=?utf-8?q?=258=3F=3BPoab=23v=27F=7E=0A=09!Wm=5Fe-=24=7EL=5D=3B?=>[c*L^Qoladj)x@mH}Bqz"vLO?Zdl}[@V@=?utf-8?q?U=3Fx3=23lI=3A=0A=09=24DN=7E!Hr?=@K`-mNv"zXm MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507200048.33283.danny@ricin.com> X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Cc: 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 22:50:24 -0000 On Tuesday 19 July 2005 21:04, 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. > I think you're right there. if everything's been installed with portupgrade you can still use portsdb to get everything back through an update. Do look into portupgrade's other stuff it may have a tool to easily compile a list of globs. HTH, Dan