On Wed, Apr 14, 2004 at 10:42:57AM +0930, [EMAIL PROTECTED] wrote:

> Unfortunately, pkgdb -u does NOT rebuild from scratch, but simply refreshes
> itself from the directories in /var/pkg/db.
> Is there a way I could delete all those directories and make pkgdb go look 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

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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to