ports and /var/db/pkg

Brian O'Shea b_oshea at yahoo.com
Wed Apr 2 14:58:44 PST 2003


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 at 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


More information about the freebsd-hackers mailing list