regenerating /var/db/pkg
Diane Bruce
db at db.net
Thu Apr 22 17:19:13 UTC 2010
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 at FreeBSD.org db at db.net http://www.db.net/~db
More information about the freebsd-hackers
mailing list