Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2007 00:20:12 +0300
From:      Ghirai <ghirai@ghirai.com>
To:        freebsd-questions@freebsd.org
Subject:   Re[3]: Problem with portupgrade - SOLVED
Message-ID:  <8710021839.20070407002012@ghirai.com>
In-Reply-To: <05853548.20070406234829@ghirai.com>
References:  <72510155.20070406225919@ghirai.com> <8cb6106e0704061308nae754afj662b855b762aacc2@mail.gmail.com> <05853548.20070406234829@ghirai.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Ghirai,

Friday, April 6, 2007, 11:48:29 PM, you wrote:

> Hello Josh,

> Friday, April 6, 2007, 11:08:02 PM, you 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.


I did a "make deinstall" and a "make reinstall" for portupgrade, which
bumped the version mumber.

It works now.

Compiling new versions, hopefully everything will turn out ok.

I'll report back.

-- 
Best regards,
Ghirai.




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