From owner-freebsd-ports@FreeBSD.ORG Fri Apr 25 05:53:48 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE26837B405 for ; Fri, 25 Apr 2003 05:53:48 -0700 (PDT) Received: from httpd1.terions.de (static62-99-146-055.adsl.inode.at [62.99.146.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 1DE0A43FE5 for ; Fri, 25 Apr 2003 05:53:47 -0700 (PDT) (envelope-from martin.klaffenboeck@gmx.at) Received: (qmail 77333 invoked from network); 25 Apr 2003 12:53:45 -0000 Received: from unknown (HELO martin.kleinerdrache.org) (127.0.0.1) by loopback with SMTP; 25 Apr 2003 12:53:45 -0000 Date: Fri, 25 Apr 2003 14:53:44 +0200 From: Martin Klaffenboeck To: "Simon L. Nielsen" Message-ID: <20030425125344.GC97487@martin.kleinerdrache.org> References: <13504.1051274369@www52.gmx.net> <20030425124451.GB401@nitro.dk> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030425124451.GB401@nitro.dk>; from simon@nitro.dk on Fr, Apr 25, 2003 at 14:44:52 +0200 X-Mailer: Balsa 2.0.10 Lines: 20 cc: m.jakob@gmx.net cc: freebsd-ports@freebsd.org Subject: Re: Portupgrade core dumps X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 12:53:49 -0000 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