Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 00:48:33 +0200
From:      Danny Pansters <danny@ricin.com>
To:        freebsd-ports@freebsd.org, Chris Haulmark <chris@sigd.net>
Subject:   Re: /var/db/pkg deleted..what to do?
Message-ID:  <200507200048.33283.danny@ricin.com>
In-Reply-To: <1121799894.10011.7.camel@localhost>
References:  <1121799124.10011.2.camel@localhost> <1121799894.10011.7.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507200048.33283.danny>