Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2003 14:58:43 -0800 (PST)
From:      Brian O'Shea <b_oshea@yahoo.com>
To:        Kris Kennaway <kris@obsecurity.org>, Danny Braniss <danny@cs.huji.ac.il>
Cc:        hackers@freebsd.org
Subject:   Re: ports and /var/db/pkg
Message-ID:  <20030402225843.14209.qmail@web10508.mail.yahoo.com>
In-Reply-To: <20030402211150.GA10348@rot13.obsecurity.org>

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

If you built your packages from ports, you could always reinstall them.
You just have to check for /usr/ports/<group>/<port>/work/.install_done.*

It's not perfect, but you could use it to generate a quick list of ports
to selectively re-install.

Good luck,
-brian

--- Kris Kennaway <kris@obsecurity.org> wrote:
> On Wed, Apr 02, 2003 at 06:18:24PM +0300, Danny Braniss wrote:
> > hi all,
> > 	is there some 'easy' way to resync /var/db/pkg from /usr/local
> > (after some rm's on it?), i guess i could write a script to would try and
> > match the info in /var/db/pkg, and if it's not where it's supposed to be
> > would remove the info, but if there is a command ...
> 
> Not really..you can go the other way though; see the example in
> pkg_which(1).
> 
> Kris
> 

> ATTACHMENT part 2 application/pgp-signature 



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



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