Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 20:33:26 +0100
From:      Tim Bishop <tim-lists@bishnet.net>
To:        chris@sigd.net
Cc:        freebsd-ports@freebsd.org
Subject:   Re: /var/db/pkg deleted..what to do?
Message-ID:  <1121801606.26531.0.camel@inferno.sixth.bishnet.net>
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 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




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