Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 19:49:41 +0200
From:      maarfree <maarfree@xs4all.nl>
To:        freebsd-questions@freebsd.org
Subject:   portupgrade error
Message-ID:  <1121968181.89280.15.camel@maarten>

next in thread | raw e-mail | index | archive | help
Hi all,

Please see below. Why does portupgrade -a not work and does -afp? I have
tried everything, I read UPDATING and added   ENV['PKG_DBDRIVER'] =
'bdb1_hash' and  ENV['PORTS_DBDRIVER'] = 'bdb1_hash' to pkgtools.conf.
I removed pkgdb.db and INDEX'es. Rebuild everything with portsdb -u and
portsdb -uU and I even removed /usr/ports and did a fresh cvsup. Anyone
got a clue?

Maarten
maarten# uname -a
FreeBSD maarten 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #7: Wed Jun  8
21:22:08 CEST 2005     maarten@maarten:/usr/obj/usr/src/sys/MAARTEN2
i386



maarten# portupgrade -a
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': cannot
convert nil into String (PkgDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in
`tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:914:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:914:in
`tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in `each'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in
`tsort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:928:in
`sort_build'
        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:932:in
`sort_build!'
        from /usr/local/sbin/portupgrade:674:in `main'
        from /usr/local/sbin/portupgrade:207:in `initialize'
        from /usr/local/sbin/portupgrade:207:in `new'
        from /usr/local/sbin/portupgrade:207:in `main'
        from /usr/local/sbin/portupgrade:1869
maarten# portupgrade -afp
--->  Reinstalling 'mDNSResponder-107.1_1' (net/mDNSResponder)
--->  Building '/usr/ports/net/mDNSResponder'
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for gettext-0.14.5
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.5.18






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