Portupgrade still broken?

Jerry gesbbb at yahoo.com
Wed Apr 8 14:23:36 UTC 2009


On Wed, 8 Apr 2009 13:51:48 +0100
Chris Rees <utisoft at googlemail.com> wrote:

>Dear all on freebsd-ports@,
>
>I recall from
>http://lists.freebsd.org/pipermail/freebsd-ports/2008-March/047319.html
>that there was a bug in portupgrade last year, causing it to break
>when a port is recursively (-R) upgraded; it's surfacing for me too :(
>
>[chris at amnesiac]/usr/ports/ports-mgmt/portupgrade% portupgrade
>--version portupgrade 2.4.6
>
>Is this a 'fixed' version, or not? I think it's the most recent...
>
>[chris at amnesiac]/usr/ports/ports-mgmt/portupgrade% sudo portupgrade
>-rR emacs xterm curl php5-mbstring
>otp-md5 488 am9338 ext
>Password:
>[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 263
>packages found (-3 +3) (...)... done]
>[Gathering depends for editors/emacs
>.......................................................................................................................................................................................................................................................................................................
>done]
>[Exclude up-to-date packages
>.......................................................................................
>done]
>/usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not
>in due form: <name>-<version> (ArgumentError)
>        from /usr/local/sbin/portupgrade:614:in `new'
>        from /usr/local/sbin/portupgrade:614: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:1305:in `call'
>        from /usr/local/lib/ruby/1.8/optparse.rb:1305:in
> `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1301:in
> `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1301:in
> `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1249:in
> `catch' from /usr/local/lib/ruby/1.8/optparse.rb:1249:in
> `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1243:in
> `order!' from /usr/local/lib/ruby/1.8/optparse.rb:1236:in `order'
>        from /usr/local/sbin/portupgrade:565:in `main'
>        from /usr/local/lib/ruby/1.8/optparse.rb:787:in `initialize'
>        from /usr/local/sbin/portupgrade:229:in `new'
>        from /usr/local/sbin/portupgrade:229:in `main'
>        from /usr/local/sbin/portupgrade:2208
>
>Is the bug still there, or is my pkgdb hosed? If so, how do I fix it?

I have just started getting the same error output. I switched back to
portmanager.

-- 
Jerry
gesbbb at yahoo.com

The primary function of the design engineer is to make things
difficult for the fabricator and impossible for the serviceman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090408/10c1b0da/signature.pgp


More information about the freebsd-ports mailing list