Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2008 18:15:19 +0100
From:      "Torfinn Ingolfsen" <tingox@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade fails - how to fix?
Message-ID:  <ef8c8a880812290915w2beee364j880049dfb1659775@mail.gmail.com>
In-Reply-To: <ef8c8a880810231001g3bd7992dma85ce35efbc7e0ad@mail.gmail.com>
References:  <ef8c8a880810041600w5cc10e25ne314d4671cc309ee@mail.gmail.com> <ef8c8a880810070007g41b4a639h8e1ed673e0da67ba@mail.gmail.com> <20081007082129.GA32825@holstein.holy.cow> <ef8c8a880810071430tf932360yf78cc452a46de8b5@mail.gmail.com> <20081022140053.D39538@n.cwu.edu> <ef8c8a880810231001g3bd7992dma85ce35efbc7e0ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
Just so it won't be forgotten - the annoying bug in the latest version
(2.4.6*) of portupgrade is still there:

root@kg-v2# portupgrade -R xterm xscreensaver smartmontools
[Gathering depends for x11/xterm
................................................................................................
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

And the workaround is still to downgrade to version 2.4.3:

root@kg-v2# portupgrade -f portupgrade
--->  Downgrading 'portupgrade-2.4.6,2' to 'portupgrade-2.4.3_2,2'
(ports-mgmt/portupgrade)
--->  Building '/usr/ports/ports-mgmt/portupgrade'
[......]
===>   Registering installation for portupgrade-2.4.3_2,2
===>  Cleaning for portupgrade-2.4.3_2,2
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 536
packages found (-0 +1) . done]
root@kg-v2#

after that, portupgrade works again.

Continued happy holidays to all!
-- 
Regards,
Torfinn Ingolfsen



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