Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 21:30:31 GMT
From:      S Roberts <stacey@vickiandstacey.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sem@FreeBSD.org
Subject:   ports/108650: Since update to portupgrade-2.2.2_1, 2, portupgrade throws error: "missing key:
Message-ID:  <200701312130.l0VLUV3n002370@localhost.vickiandstacey.com>
Resent-Message-ID: <200702010930.l119UVMc075951@freefall.freebsd.org>

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

>Number:         108650
>Category:       ports
>Synopsis:       Since update to portupgrade-2.2.2_1,2, portupgrade throws error: "missing key:
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 09:30:31 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     S Roberts
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD chimera.vickiandstacey.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun May 28 11:47:03 BST 2006 sroberts@chimera.vickiandstacey.com:/usr/obj/usr/src/sys/STEEL i386


>Description:
Since upgrading portupgrade to portupgrade-2.2.2_1,2, portupgrade started erroring for any subsequent
attempts to run portupgrade. The errors are as follows:

missing key: categories: Cannot read the portsdb!
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database file error (PortsDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in `all_depends_list'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
        from /usr/local/sbin/portupgrade:721:in `main'
        from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
        from /usr/local/sbin/portupgrade:220:in `new'
        from /usr/local/sbin/portupgrade:220:in `main'
        from /usr/local/sbin/portupgrade:2084


>How-To-Repeat:
Upgrade to portupgrade version portupgrade-2.2.2_1,2, try to use portupgrade.

>Fix:

Don't know

>Release-Note:
>Audit-Trail:
>Unformatted:
 categories: Cannot read the portsdb!"



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