Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 13:18:55 -0400
From:      Diane Bruce <db@db.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Diane Bruce <db@db.net>, "Aryeh M. Friedman" <aryeh.friedman@gmail.com>, Lars Engels <lars.engels@0x20.net>, freebsd-hackers@freebsd.org, Ruben de Groot <mail25@bzerk.org>, Eitan Adler <eitanadlerlist@gmail.com>
Subject:   Re: regenerating /var/db/pkg
Message-ID:  <20100422171855.GA24727@night.db.net>
In-Reply-To: <4BD07DE5.7020801@FreeBSD.org>
References:  <4BCE5ECC.6070202@gmail.com> <4BCFE209.20501@FreeBSD.org> <20100422111758.GA39338@ei.bzerk.org> <o2oa0777e081004220521sae3b1b06o884fd8eadffc6931@mail.gmail.com> <20100422125402.GR33521@e.0x20.net> <i2ra0777e081004220612ka129f18aga113399ca541e6a5@mail.gmail.com> <20100422134425.GA22049@night.db.net> <4BD07DE5.7020801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 22, 2010 at 09:48:37AM -0700, Doug Barton wrote:
> On 4/22/2010 6:44 AM, Diane Bruce wrote:
> > On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote:
...
> > MAILTO=...
> > @weekly          /usr/sbin/pkg_info -I -a
> 
> pkg_info -o -a would probably be more useful from the standpoint of

The sensible thing to do is to be putting a thumb drive on your machine
and backing up the /var/db/pkg after updating.

An e-mailed list of any sort would be a last resort and having it
fairly compact is a compromise, since you do have the thumb drive to fall
back on right?

> rebuilding ports after a lost /var/db/pkg. For portmaster users
> 'portmaster --list-origins' would give you a list that you could then do
> 'portmaster `cat list`' to rebuild everything for you.

YMMV ;-) 

- Diane
-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db



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