Skip site navigation (1)Skip section navigation (2)
Date:      25 Feb 2002 21:02:35 -0000
From:      Ryan Davis <ryand-bsd@greed.zenspider.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35319: portupgrade corrupts the db upon update
Message-ID:  <20020225210235.40722.qmail@greed.zenspider.com>

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

>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 <format:bdb1_btree> 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




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