portupgrade -faP after update to FreeBSD 7.0

Martin Schweizer schweizer.martin at gmail.com
Mon May 12 15:14:36 UTC 2008


Dear Kent

Sorry for the delay but I was very busy in the past days.

2008/4/28, Kent Stewart <kstewart at owt.com>:
>  > After successfully update to FreeBSD 7.0 (a described in the
>  > handbook) I startet several times portupgrade -faP after several
>  > pkgdb -F. But now I get the following error:
>  >
>  > portupgrade -faP
>  >
>  >  /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize':
>  > ,2: Not in due form: '<version>[_<revision>][,<epoch>]'.
>  > (ArgumentError)
>  >         from /usr/local/sbin/portupgrade:638:in `new'
>  >         from /usr/local/sbin/portupgrade:638:in `main'
>  >         from /usr/local/sbin/portupgrade:613:in `each'
>  >         from /usr/local/sbin/portupgrade:613:in `main'
>  >         from /usr/local/sbin/portupgrade:588:in `catch'
>  >         from /usr/local/sbin/portupgrade:588:in `main'
>  >         from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
>  >         from /usr/local/lib/ruby/1.8/optparse.rb:1303:in
>  > `parse_in_order' ... 7 levels...
>  >         from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
>  >         from /usr/local/sbin/portupgrade:229:in `new'
>  >         from /usr/local/sbin/portupgrade:229:in `main'
>  >         from /usr/local/sbin/portupgrade:2173
>  >
>  > I checked the portupgrade version and also ruby but did not find any
>  > mistakes. What do I wrong?
>  >
>
>
> I am assuming that 7.0 has changed ruby/portupgrade processing. There
>  have been problems like this when ruby and the ruby??_bdb? get out of
>  sequence. I would delete portupgrade and ruby\* and then rebuild
>  everything including the index.db.

>  You may get a different answer tomorrow but if rebuilding everything
>  works, you could be half way to being done.

I deleted all ruby ports (as I got from pkg_info) and I also fetch
/usr/ports/INDEX-/ by makeing make index and by make fetchindes (both
get the same results). But I still get the same error.
What do you mean exactly with "I would delete portupgrade and ruby\*
and then rebuild everything including the index.db."? The same as I
did?

Regards,


-- 
Martin Schweizer
schweizer.martin at gmail.com
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587


More information about the freebsd-ports mailing list