Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2007 18:14:45 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: I performed an rm -r on /var/lib/pkg
Message-ID:  <18190.41045.40653.528498@jerusalem.litteratus.org>
In-Reply-To: <1192138145.33933.21.camel@secretariat.lanl.gov>
References:  <1192134379.33933.9.camel@secretariat.lanl.gov> <470E8D3A.8010508@daleco.biz> <1192136857.33933.18.camel@secretariat.lanl.gov> <20071011211317.GA24658@owl.midgard.homeip.net> <1192138145.33933.21.camel@secretariat.lanl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

James writes:

>  What has happened, though, is I've never ran rm in
>  /usr/ports/distfiles.  I'm going to think for a little bit about
>  a script that can move through /usr/ports/distfiles and reinstall
>  everything that exists there.

	Having been in almost the identical situation for different
rasons, I sympathize.
	Yes, this will involve a sweep through /usr/ports distfiles.
If you haven't ever deleted anything, I suggest a prelimiary manual
run deleting everything but the most recent version.  This has a
down-side, but it will prevent cluttering the rebuilt system with
unused ports.
	The other thing you want do is start with something /big/ -
OpenOffice, FireFox, GIMP, Java, Apache.  While rebuilding it will
take time (possibly days) it will automatically suck in the
dependencies.
	Send the output of the rebuild to a file; have a cron job
e-mail you the last 50 lines every hour.


				Robert Huff



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