Portupgrade ruby problem

illoai at gmail.com illoai at gmail.com
Tue Jul 4 16:20:32 UTC 2006


On 7/3/06, bsd <bsd at todoo.biz> wrote:
> Mmmh...
>
> I have followed your instructions and am still facing a problem :
>
> root 0:34 ~ # portversion -l "<"
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
> Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
>
> I can not rebuild the database using pkgdb -fu
>
> root 0:37 ~ # pkgdb -fu
> --->  Updating the pkgdb
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
>
>
> ?? Any idea.

What worked for me:

rm /var/db/pkg/pkgdb.db && pkgdb -Ffu

I also had to run

portsdb -fu (or maybe it was -fuU, which takes a painfully
long time)

I hope this helps.

-- 
--


More information about the freebsd-questions mailing list