You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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 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: - (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.
Followup
Hi, Vivek!
Can you, please, try the following patch attached?
Thanks!
--- bin/portupgrade 26 Oct 2009 14:47:49 -0000 1.62
+++ bin/portupgrade 27 Oct 2009 14:59:37 -0000 1.63
@@ -631,7 +631,10 @@
if $upward_recursive || $config
dep = []
get_all_depends(origin).each do |d|
- dep << $pkgdb.deorigin(d).to_s
+ newdep = $pkgdb.deorigin(d)
+ unless newdep.nil? then
+ dep << newdep.to_s
+ end
end
depends |= dep if $upward_recursive
end
--
Stanislav Sedov
ST4096-RIPE
The text was updated successfully, but these errors were encountered:
ports/126140
Version reported
2.4.6,2
Original report
Followup
The text was updated successfully, but these errors were encountered: