Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 00:19:42 +0800
From:      "jan gestre" <freebsd.ph@gmail.com>
To:        bsd <bsd@todoo.biz>
Cc:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Problem with pkgdb
Message-ID:  <a25afc300607040919h1819ab09p5ddc415241b45c59@mail.gmail.com>
In-Reply-To: <0DC8ABD1-EC70-4E68-B8F9-22CC3C3D571A@todoo.biz>
References:  <0DC8ABD1-EC70-4E68-B8F9-22CC3C3D571A@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/4/06, bsd <bsd@todoo.biz> wrote:
>
> Hello,
>
> I have a problem with pkgdb that I am not able to solve on my own.
>
> root:newmail 10:26 /usr/ports/sysutils/portupgrade # pkgdb -fu
> --->  Updating the pkgdb
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ...
> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!]
>
> So far I have tried to reinstall couple of ports (portupgrade), but
> that didn't solve anything.
>
>
> Thanks for your support.
>
>
> P.S . A solution was to use portmanager but I think I still need pkgdb
> - is that correct ??
>
> i had a similar problem regarding portupgrade, it corrupted the pkgdb,
what i did was rename pkgdb.db to pkgdb.orig then run:

# pkgdb -fu

and everything went normal again



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