pkgdb problem!
Ion-Mihai Tetcu
itetcu at apropo.ro
Wed Mar 3 22:55:11 PST 2004
On Wed, 3 Mar 2004 22:39:37 -0500 (EST)
Tsu-Fan Cheng <tscheng at ic.sunysb.edu> wrote:
> Hi BSDers, I run pkgdb -F and get this:
>
> ---> Checking the package registry database
> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 433 packages
> found (-21 +58) (...)Cannot allocate memory: Cannot update the pkgdb!]
>
> never has happened to me before, what's wrong?
> From: Ion-Mihai Tetcu <itetcu at apropo.ro>
> To: jwb at homer.att.com
> Cc: ports at FreeBSD.org
> Subject: Re: FreeBSD Port: portupgrade-20040208
> Date: Tue, 2 Mar 2004 16:16:31 +0200
>
> On Tue, 02 Mar 2004 08:51:59 -0500
> "J. W. Ballantine" <jwb at homer.att.com> wrote:
>
> > After upgrading portupgrade and ruby, I started getting the following error:
> [..]
> > .rb:467:in `select': failed to allocate memory (NoMemoryError)
> [..]
>
> Happened here too.
>
> First try to remove your /var/db/pkg/pkgdb.db (backup first). Do a pkg_db -F.
>
> If it ain't working or you still got the problem, make deinstall for portupgrade and all ruby*.
> make install ruby18, portupgrade, do a pkgdb -F, install the rest of removed ruby*
--
IOnut
Unregistered ;) FreeBSD user
More information about the freebsd-questions
mailing list