Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2008 09:07:42 +0200
From:      "Torfinn Ingolfsen" <tingox@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade fails - how to fix?
Message-ID:  <ef8c8a880810070007g41b4a639h8e1ed673e0da67ba@mail.gmail.com>
In-Reply-To: <ef8c8a880810041600w5cc10e25ne314d4671cc309ee@mail.gmail.com>
References:  <ef8c8a880810041600w5cc10e25ne314d4671cc309ee@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
And here portupgrade fails again, on another machine:

root@kg-work2# portupgrade -R nasm pcre xterm mplayer gscan2pdf ImageMagick
[Gathering depends for devel/nasm  done]
[Exclude up-to-date packages  done]
[Gathering depends for devel/pcre  done]
[Exclude up-to-date packages  done]
[Gathering depends for x11/xterm
..............................................................................................
done]
[Exclude up-to-date packages ................................. done]
[Gathering depends for multimedia/mplayer
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
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: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:2208

This machine runs FreeBSd 7.0-stable:
root@kg-work2# uname -a
FreeBSD kg-work2.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Sep 22
23:02:46 CEST 2008     root@kg-work2.kg4.no:/usr/obj/usr/src/sys/SX270
 i386


As always, a single port as the argument to portupgrade doesn't fail.
HTH
-- 
Regards,
Torfinn Ingolfsen



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