From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 01:05:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 647C316A4CE for ; Wed, 14 Apr 2004 01:05:03 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C098F43D41 for ; Wed, 14 Apr 2004 01:05:01 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3E84gBg017372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Apr 2004 09:04:42 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3E84ffs017282; Wed, 14 Apr 2004 09:04:41 +0100 (BST) (envelope-from matthew) Date: Wed, 14 Apr 2004 09:04:41 +0100 From: Matthew Seaman To: bastill@adam.com.au Message-ID: <20040414080441.GB1879@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , bastill@adam.com.au, freebsd-questions@freebsd.org References: <1081905177.407c9019bed98@webmail.adam.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <1081905177.407c9019bed98@webmail.adam.com.au> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040407, clamav-milter version 0.70g cc: freebsd-questions@freebsd.org Subject: Re: updating ports and pkgdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 08:05:03 -0000 --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 14, 2004 at 10:42:57AM +0930, bastill@adam.com.au wrote: > Unfortunately, pkgdb -u does NOT rebuild from scratch, but simply refresh= es > itself from the directories in /var/pkg/db. > Is there a way I could delete all those directories and make pkgdb go loo= k and > rebuild the db/directories from what it finds? Errr... pkgdb builds a summary of the package data found in /var/pkg/db. That is the authoritative source of information on what packages are installed on your system, which files belong to those packages, and the dependencies between those packages. If your complaint is that the package database pkgdb creates needs to be rebuilt from nothing, then you can try: # pkgdb -fu but that is very rarely needed, unless pkgdb.db is actually corrupted. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAfPCZdtESqEQa7a0RAnOVAJ4qqs4Ef59P9AEonmmS34+1uNMzCgCeO94j TfAA5ikaVxK3yA+eJXYskc0= =B2z1 -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--