From owner-freebsd-ports Mon Feb 25 13:10:12 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 54C2A37B41B for ; Mon, 25 Feb 2002 13:10:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1PLA0J50512; Mon, 25 Feb 2002 13:10:00 -0800 (PST) (envelope-from gnats) Received: from greed.zenspider.com (sense-ryand-4.oz.net [216.39.167.4]) by hub.freebsd.org (Postfix) with SMTP id 8F62C37B41B for ; Mon, 25 Feb 2002 13:02:36 -0800 (PST) Received: (qmail 40723 invoked by uid 1000); 25 Feb 2002 21:02:35 -0000 Message-Id: <20020225210235.40722.qmail@greed.zenspider.com> Date: 25 Feb 2002 21:02:35 -0000 From: Ryan Davis Reply-To: Ryan Davis To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35319: portupgrade corrupts the db upon update Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35319 >Category: ports >Synopsis: portupgrade corrupts the db upon update >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 25 13:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Ryan Davis >Release: FreeBSD 4.5-RC i386 >Organization: >Environment: System: FreeBSD greed.zenspider.com 4.5-RC FreeBSD 4.5-RC #0: Sat Jan 12 16:44:16 PST 2002 root@greed.zenspider.com:/usr/obj/usr/src/sys/GREED.ZENSPIDER.COM i386 >Description: After upgrading portupgrade, it caused a version mismatch w/ the DB package it is dependent on. This is normally fixed with 'pkgdb -F', but I got the following: Stale dependency: portupgrade-20020225.1 -> ruby-bdb1-0.1.5: [origins_by_categories - not a hash (NilClass)] [Updating the portsdb in /usr/ports ... - 6622 port entries found .........1000.........2000.........3000.........4000.........5000.........6000...... ..... done] origins_by_categories - not a hash (NilClass): Cannot read the portsdb! database file error ruby-bdb1-0.1.4_1 (score:93%) ? ([y]es/[n]o/[a]ll) [yes] ^C Interrupted. doing 'portsdb -uU' did not help and I got the same error. >How-To-Repeat: portupgrade portupgrade portsdb -uU pkgdb -F >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message