Since some (long) time ago I have problems with ports-mgmt/portupgrade on two very different FreeBSD 10.3-STABLE machines. So, it is not only because of accidentally corrupted database.
For some ports it can't get dependencies right. Two different machines (amd64 and i386) have problems with the same ports. For example,
Is it curable? For, there's no chance to make
For some ports it can't get dependencies right. Two different machines (amd64 and i386) have problems with the same ports. For example,
Code:
portupgrade -c mate-settings-daemon
[Reading data from pkg(8) ... - 1601 packages found - done]
[Gathering depends for sysutils/mate-settings-daemon .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................../usr/local/sbin/portupgrade:894:in `get_all_depends': recursive dependency (RecursiveDependencyError)
from /usr/local/sbin/portupgrade:917:in `block in get_all_depends'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each_key'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each'
from /usr/local/sbin/portupgrade:916:in `get_all_depends'
from /usr/local/sbin/portupgrade:917:in `block in get_all_depends'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each_key'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each'
from /usr/local/sbin/portupgrade:916:in `get_all_depends'
from /usr/local/sbin/portupgrade:917:in `block in get_all_depends'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each_key'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each'
from /usr/local/sbin/portupgrade:916:in `get_all_depends'
from /usr/local/sbin/portupgrade:917:in `block in get_all_depends'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each_key'
from /usr/local/lib/ruby/2.3/set.rb:306:in `each'
from /usr/local/sbin/portupgrade:916:in `get_all_depends'
from /usr/local/sbin/portupgrade:658:in `block (4 levels) in main'
from /usr/local/sbin/portupgrade:621:in `each'
from /usr/local/sbin/portupgrade:621:in `block (3 levels) in main'
from /usr/local/sbin/portupgrade:594:in `catch'
from /usr/local/sbin/portupgrade:594:in `block (2 levels) in main'
from /usr/local/lib/ruby/2.3/optparse.rb:1591:in `block (2 levels) in parse_in_order'
from /usr/local/lib/ruby/2.3/optparse.rb:1586:in `catch'
from /usr/local/lib/ruby/2.3/optparse.rb:1586:in `block in parse_in_order'
from /usr/local/lib/ruby/2.3/optparse.rb:1534:in `catch'
from /usr/local/lib/ruby/2.3/optparse.rb:1534:in `parse_in_order'
from /usr/local/lib/ruby/2.3/optparse.rb:1528:in `order!'
from /usr/local/lib/ruby/2.3/optparse.rb:1520:in `order'
from /usr/local/sbin/portupgrade:571:in `block in main'
from /usr/local/lib/ruby/2.3/optparse.rb:1062: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>'
portupgrade -a
after rebuilding world, for example. As far as I remember, the similar problem at first occured after ruby became version 2.