Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2007 13:08:02 -0700
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        Ghirai <ghirai@ghirai.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem with portupgrade
Message-ID:  <8cb6106e0704061308nae754afj662b855b762aacc2@mail.gmail.com>
In-Reply-To: <72510155.20070406225919@ghirai.com>
References:  <72510155.20070406225919@ghirai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> deimos# portupgrade -PR libmpeg2
> [Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851
> port entries found
> {lines cut} ..... done]
> [missing key: categories: Cannot read the portsdb!
> database file error
>
> {following some ruby errors regarding the fact that the db can't be
> read?!}

Try removing (or moving so you have a backup) your
/var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.

Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb6106e0704061308nae754afj662b855b762aacc2>