Problem with portupgrde -fap

Martin Schweizer lists_freebsd at
Sun Apr 20 16:20:16 UTC 2008


After updating my system to RELEASE 7.0 and run more then once portupgrade 
-faP I get the following error:

/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 read a poste about a typo in a mk file. I then retore the hole /usr/ports/Mk 
direktore by cvsup. Also I delete all the INDEX* files and restore them by 
make fetchindex. But all got no success. What I'm doing wrong


Martin Schweizer
<office at>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22;;
public key :; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

More information about the freebsd-questions mailing list