Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2008 10:58:37 -0400 (EDT)
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/126140: portupgrade runtime error
Message-ID:  <20080731145837.1DAF7A104E@lorax.kcilink.com>
Resent-Message-ID: <200807311520.m6VFK148049620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         126140
>Category:       ports
>Synopsis:       portupgrade runtime error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 31 15:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Vivek Khera
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD lorax.kcilink.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Apr 9 10:22:34 EDT 2008 steve@dbarchive.m1e.net:/n/lorax1/usr7/obj.i386/n/lorax1/usr7/src/sys/KCI32SMP i386


	
>Description:
	

On a 6.3/amd64 server I have, I upgrade portupgrade to the latest version
today (2.4.6,2).  Since then, I can't upgrade any port that has dependencies
that need upgrading as well.

>How-To-Repeat:
	

[root@d02]# pkg_version -vl\<
postgresql-client-8.3.1             <   needs updating (port has 8.3.3)
postgresql-server-8.3.1             <   needs updating (port has 8.3.3)
slony1-1.2.13                       <   needs updating (port has 1.2.14_1)
[root@d02]# portupgrade -Rrv -p postgresql-client-8.3.1
--->  Session started at: Thu, 31 Jul 2008 10:47:40 -0400
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 48 packages found (-0 +1) . done]
[Gathering depends for databases/postgresql83-client ..... done]
[Gathering depends for databases/slony1 ......... done]
[Gathering depends for local/kci-dbserver .............. done]
[Exclude up-to-date packages .............. done]
--->  Session ended at: Thu, 31 Jul 2008 10:47:44 -0400 (consumed 00:00:04)
/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:931:in `new'
	from /usr/local/sbin/portupgrade:931:in `do_upgrade'
	from /usr/local/sbin/portupgrade:815:in `main'
	from /usr/local/sbin/portupgrade:811:in `each'
	from /usr/local/sbin/portupgrade:811:in `main'
	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


If I run without the -rR flags, it will upgrade individual ports... though it
did somehow manage to uninstall subversion and not install the new version
when I upgraded that.

>Fix:

	


I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted:



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