Hi there.
I tried to upgrade the ports. First
I also tried:
How can I fix this?
Thank you!
I tried to upgrade the ports. First
# portsnap fetch update
and after that I got this:
Code:
# portupgrade -ca
2 open conditionals:
at line 1287 (evaluated to true)
at line 1125 (evaluated to true)
make: fatal errors encountered -- cannot continue
/usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:237:in `join': can't convert nil into String (TypeError)
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:237:in `index_file'
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:247:in `db_dir='
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/portsdb.rb:167:in `setup'
from /usr/local/lib/ruby/site_ruby/1.9/pkgtools/pkgtools.rb:242:in `init_pkgtools_global'
from /usr/local/sbin/portupgrade:530:in `block in main'
from /usr/local/lib/ruby/1.9/optparse.rb:882:in `initialize'
from /usr/local/sbin/portupgrade:237:in `new'
from /usr/local/sbin/portupgrade:237:in `main'
from /usr/local/sbin/portupgrade:2371:in `<main>'
I also tried:
Code:
# portmaster -a
===>>> The value of DISTDIR cannot be empty
===>>> Aborting update
===>>> Killing background jobs
Terminated
===>>> Exiting
How can I fix this?
Thank you!