在 Ubuntu 14.04 下,我无法让它工作。
我们的 PCI 审计员告诉我们我们不能直接出站访问 Ubuntu 存储库,所以我用 reprepro 镜像它们。同样,我们没有对 keyserver.ubuntu.com 的出站访问权限。
我尝试将以下各项添加到/etc/apt/apt.conf.d/99local:
APT::Get::AllowUnauthenticated "true";
APT{Ignore {"gpg-pubkey"; }};
APT { Get { AllowUnauthenticated "1"; }; };
Run Code Online (Sandbox Code Playgroud)
阅读软件包后,“apt-get update”仍然返回:
W: GPG error: hkp://sa1.dal.some-company.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 082BCA0181FE8E68
W: GPG error: hkp://sa1.dal.some-company.com trusty-security InRelease: The …Run Code Online (Sandbox Code Playgroud)