portupgrade of portupgrade broke portupgrade

Jonathan Weiss tomonage2 at gmx.de
Tue Jun 22 00:30:26 PDT 2004


> After just recently having performed a portupgrade of portupgrade, the
> following happens (I guess I have a problem :-( ):
> 
> [jakobbg at bgjgrimstveit jakobbg]# portupgrade --version
> portupgrade 1.8.1
> [jakobbg at bgjgrimstveit jakobbg]# sudo portupgrade -aRru
> /usr/local/lib/ruby/site_ruby/1.8/portinfo.rb:23:in `initialize': Port
> info line must consist of 10 fields. (ArgumentError)
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:642:in `new'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:642:in `port'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:639:in `port'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:653:in
> `origin'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:823:in
> `all_depends_list'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:823:in `map'
>       from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:823:in
> `all_depends_list'
>       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:907:in `each'
>       from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in
> `tsort_build'
>       from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in
> `sort_build'
>       from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933: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:1845
> 
> How can I resolve this issue?

$ cvsup -g -L2 /etc/ports-supfile
$ cd /usr/porst/sysutils/portupgrade
$ make deinstall && make install

--Jonathan 



More information about the freebsd-ports mailing list