Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Apr 2007 23:33:10 -0700
From:      Andriy Babiy <ABabiy@shaw.ca>
To:        freebsd-questions@freebsd.org
Cc:        Ghirai <ghirai@ghirai.com>
Subject:   Re: Problem with portupgrade
Message-ID:  <200704062333.11196.ABabiy@shaw.ca>
In-Reply-To: <20070406205027.E6A1B16A40B@hub.freebsd.org>
References:  <20070406205027.E6A1B16A40B@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On April 6, 2007, freebsd-questions-request@freebsd.org wrote:
> >> 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
>
> I did that, it recreated the file w/o errors, but i get the same error
> message.

Have you read the note of 20070205 in /usr/src/UPDATING? It looks you're 
running the old version. Check the details in the note, remove portupgrade 
and install it from the new location.

Andriy



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