Hi folks
After the 9.10 upgrade from 9.3 I have some trouble updating an existings ports jail.
portsnap fetch update works fine, but portmaster -a gives the following error
➜ / portmaster -a
===>>> The value of DISTDIR cannot be empty
===>>> Aborting update
and portupgrade
/ portupgrade
"Mk/bsd.port.mk", line 1162: UNAME_r (10.3-RC3) and OSVERSION (902001) do not agree on major version number.
/usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:237:in `join': no implicit conversion of nil into String (TypeError)
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:237:in `index_file'
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:247:in `db_dir='
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:167:in `setup'
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/pkgtools.rb:242:in `init_pkgtools_global'
from /usr/local/sbin/portupgrade:531:in `block in main'
from /usr/local/lib/ruby/2.1/optparse.rb:880:in `initialize'
from /usr/local/sbin/portupgrade:238:in `new'
from /usr/local/sbin/portupgrade:238:in `main'
from /usr/local/sbin/portupgrade:2380:in `<main>'
➜ /
Any idea how to fix this?
After the 9.10 upgrade from 9.3 I have some trouble updating an existings ports jail.
portsnap fetch update works fine, but portmaster -a gives the following error
➜ / portmaster -a
===>>> The value of DISTDIR cannot be empty
===>>> Aborting update
and portupgrade
/ portupgrade
"Mk/bsd.port.mk", line 1162: UNAME_r (10.3-RC3) and OSVERSION (902001) do not agree on major version number.
/usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:237:in `join': no implicit conversion of nil into String (TypeError)
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:237:in `index_file'
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:247:in `db_dir='
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/portsdb.rb:167:in `setup'
from /usr/local/lib/ruby/site_ruby/2.1/pkgtools/pkgtools.rb:242:in `init_pkgtools_global'
from /usr/local/sbin/portupgrade:531:in `block in main'
from /usr/local/lib/ruby/2.1/optparse.rb:880:in `initialize'
from /usr/local/sbin/portupgrade:238:in `new'
from /usr/local/sbin/portupgrade:238:in `main'
from /usr/local/sbin/portupgrade:2380:in `<main>'
➜ /
Any idea how to fix this?