Date: Fri, 8 Jul 2005 15:48:40 -0700 From: paul beard <paulbeard@mac.com> To: FreeBSD-questions <questions@Freebsd.org> Subject: portupgrade error [cannot convert nil into String (PkgDB::DBError)] Message-ID: <FFB32FE9-17C3-4217-A0E4-694016D5903C@mac.com>
index | next in thread | raw e-mail
I am having some problems with portupgrade. The error message is "/
usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': " (more
below). I see there have been isolated occurrences of this in June of
2003 and 2004, curiously, but I haven't found the solutions there to
work. Removing the ports tree and re-fetching it, removing and
rebuilding pkgdb, removing and reinstalling portupgrade/ruby, etc,
even building a new kernel and world, seem ineffective.
I'm still on 4.x (FreeBSD red.paulbeard.org 4.11-RELEASE-p11 FreeBSD
4.11-RELEASE-p11 #0: Tue Jul 5 10:46:00 PDT 2005
root@red.paulbeard.org:/usr/obj/usr/src/sys/RED i386) if that helps.
Please include me on replies as I am off the list.
Thanks for any pointers.
[/]# portsdb -Ufu
Updating the ports index ... Generating INDEX.tmp - please
wait..Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.1_2
Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635
Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5
Done.
done
[Updating the portsdb <format:dbm_hash> in /opt/ports ... - 13138
port entries found .........
1000.........2000.........3000.........4000.........5000.........6000...
......
7000.........8000.........9000.........10000.........11000.........12000
.........13000. ..... done]
(root@red.paulbeard.org)-(03:34 PM / Fri Jul 08)
[/]# portupgrade -avvv
---> Session started at: Fri, 08 Jul 2005 15:37:34 -0700
---> Session ended at: Fri, 08 Jul 2005 15:37:56 -0700 (consumed
00:00:22)
/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin':
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
--
Paul Beard
contact info: www.paulbeard.org/paulbeard.vcf
Are you trying to win an argument or solve a problem?
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FFB32FE9-17C3-4217-A0E4-694016D5903C>
