/usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:118:in `block (2 levels) in fill': MOVED file format error (PortsDB::MOVEDError)

AN a.n.us at ieee.org
Tue Aug 21 13:48:23 UTC 2018


Hi:

FreeBSD BSD12 12.0-ALPHA2 FreeBSD 12.0-ALPHA2 #25 r338103: Mon Aug 20
12:49:37 EDT 2018
root at BSD12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1200079

# pkg info | grep pkg
pkg-1.10.5_1                   Package manager
pkgconf-1.4.2,1                Utility to help to configure compiler
and linker flags
# pkg info | grep ruby
ruby-2.4.4_2,1                 Object-oriented interpreted scripting language
ruby24-bdb-0.6.6_5             Ruby interface to Oracle Berkeley DB
revision 2 or later


After a recent update to ports I'm suddenly receiving the following
when trying to use portupgrade.


# portupgrade -va
/usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:118:in `block (2
levels) in fill': MOVED file format error (PortsDB::MOVEDError)
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:112:in `each'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:112:in
`block in fill'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:111:in `open'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:111:in `fill'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:106:in
`initialize'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:181:in `new'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/portsdb.rb:181:in `setup'
    from /usr/local/lib/ruby/site_ruby/2.4/pkgtools/pkgtools.rb:242:in
`init_pkgtools_global'
    from /usr/local/sbin/portupgrade:531:in `block in main'
    from /usr/local/lib/ruby/2.4/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>'


Any help would be appreciated.


More information about the freebsd-ports mailing list