如何解决“ pkg:没有可信任的证书”

时间:2019-08-18 17:47:51

标签: freebsd pkgbuild

Freebsd 9.2 i386发行版

问题:

我想安装gdb,但是遇到麻烦

问题:

pkg:没有受信任的证书 无法更新版本库FreeBSD

FreeBSD.conf

# cat /etc/pkg/FreeBSD.conf
# $FreeBSD: release/10.0.0/etc/pkg/FreeBSD.conf 258710 2013-11-28 14:24:26Z gjb $
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

当我尝试安装密钥时出现这样的错误

cd /usr/src/share/keys/pkg && make install
/usr/src/share/keys/pkg: No such file or directory.

0 个答案:

没有答案