From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 2 14:58:44 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE4937B401 for ; Wed, 2 Apr 2003 14:58:44 -0800 (PST) Received: from web10508.mail.yahoo.com (web10508.mail.yahoo.com [216.136.130.158]) by mx1.FreeBSD.org (Postfix) with SMTP id 97EE043F85 for ; Wed, 2 Apr 2003 14:58:43 -0800 (PST) (envelope-from b_oshea@yahoo.com) Message-ID: <20030402225843.14209.qmail@web10508.mail.yahoo.com> Received: from [156.153.254.41] by web10508.mail.yahoo.com via HTTP; Wed, 02 Apr 2003 14:58:43 PST Date: Wed, 2 Apr 2003 14:58:43 -0800 (PST) From: Brian O'Shea To: Kris Kennaway , Danny Braniss In-Reply-To: <20030402211150.GA10348@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: hackers@freebsd.org Subject: Re: ports and /var/db/pkg X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 22:58:44 -0000 Danny, If you built your packages from ports, you could always reinstall them. You just have to check for /usr/ports///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 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