Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2006 11:20:30 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        bsd <bsd@todoo.biz>
Cc:        "Jacques S." <offbyone@xs4all.nl>, Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Portupgrade ruby problem
Message-ID:  <d7195cff0607040920t79cab6fcj3ea0248213cf6fed@mail.gmail.com>
In-Reply-To: <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz>
References:  <6364F144-0287-41E2-90F0-D97B45C02493@todoo.biz> <44A8D9CB.1080400@xs4all.nl> <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/3/06, bsd <bsd@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.

-- 
--



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