FreeNAS端口/ pkg在更新到9.10后不工作

我最近更新到FreeNAS 9.10稳定通过用户界面,现在我遇到了我的包和端口上我最古老的现有portjail的麻烦。

看来目录不会更新,我不能真正安装任何东西 – 无论是通过portspkg

我的pkg版本在1.2.7_4是相当老的, pkg update -f下载了一些文件,但是结果如下:

 pkg: package field incomplete: comment Incremental update completed, 24830 packages processed: 0 packages updated, 0 removed and 24830 added. pkg: Unable to find catalogs 

不pipe我做什么,都不断抱怨目录。 我有一个更新的插件监狱pkg版本1.7.2 ,它似乎工作正常,但我宁愿不迁移一切如果可能的话。

我的/usr/local/etc/pkg/repos/FreeBSD.conf文件是:

 FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", enabled: yes } 

然后我试着运行portsnap fetch update然后重buildports-mgmt/portmasterports-mgmt/pkg ,使它们在几个地方被提出来,但运行make会给我:

 "/usr/ports/Mk/bsd.port.mk", line 1166: UNAME_r (10.3-RELEASE) and OSVERSION (902502) do not agree on major version number. 

我能够在更新后不久创build诸如perl 5.20之类的端口,所以我在尝试修复pkg所做的一切似乎已经破坏了这一点。

我的/usr/local/etc/pkg/repos/FreeBSD.conf文件的副本如下:

 FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/latest", mirror_type: "srv", enabled: yes } 

我改变了10,它正常工作

 FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest", mirror_type: "srv", enabled: yes }