Problem with portupgrade
Andriy Babiy
ABabiy at shaw.ca
Sat Apr 7 06:33:12 UTC 2007
On April 6, 2007, freebsd-questions-request at 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
More information about the freebsd-questions
mailing list