From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 2 13:11:51 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 980F137B418 for ; Wed, 2 Apr 2003 13:11:51 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC43843FAF for ; Wed, 2 Apr 2003 13:11:50 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 8373E66B9B; Wed, 2 Apr 2003 13:11:50 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 64E7612AA; Wed, 2 Apr 2003 13:11:50 -0800 (PST) Date: Wed, 2 Apr 2003 13:11:50 -0800 From: Kris Kennaway To: Danny Braniss Message-ID: <20030402211150.GA10348@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 21:11:52 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+i1IWWry0BWjoQKURAivoAKC3MKbsSEkRtmDMhno8aiTkl8sllgCg8rgC FFuo2hNT8uNRLKcnOTrI2oo= =a9eP -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--