Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2003 14:53:44 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        "Simon L. Nielsen" <simon@nitro.dk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Portupgrade core dumps
Message-ID:  <20030425125344.GC97487@martin.kleinerdrache.org>
In-Reply-To: <20030425124451.GB401@nitro.dk>; from simon@nitro.dk on Fr, Apr 25, 2003 at 14:44:52 %2B0200
References:  <13504.1051274369@www52.gmx.net> <20030425124451.GB401@nitro.dk>

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

Am 2003.04.25 14:44 schrieb(en) Simon L. Nielsen:
> On 2003.04.25 14:39:29 +0200, m.jakob@gmx.net wrote:
> > Hi,
> >
> > A few days ago portupgrade suddenly started to core dump. On
> freshports i
> > saw a few changes on portupgrade announced, so i manually de- and
> reinstalled
> > portupgrade, aswell as ruby. But no use. It still crashes.
> 
> Try deleting /var/db/pkg/pkgdb.db and /usr/ports/INDEX.db. If they get
> corrupted ruby sometimes coredumps. Then use pkgdb and portsdb to
> regenerate them.

You do not really need to delete them by hand.  If you use the -fu 
flags on both commands, portupgrade overwrites the existing files, so 
they are new afterwards.

Martin



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