小编Ada*_*son的帖子

如何在 Ubuntu 14.04 下禁用私有存储库的 apt 密钥检查?

在 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)

updates apt repository gnupg 14.04

5
推荐指数
1
解决办法
5342
查看次数

标签 统计

14.04 ×1

apt ×1

gnupg ×1

repository ×1

updates ×1