AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 633408
Accepted
Erico
Erico
Asked: 2014-10-04 10:49:40 +0800 CST2014-10-04 10:49:40 +0800 CST 2014-10-04 10:49:40 +0800 CST

无法使用 debmirror 创建 apt 镜像

  • 772

我试图在我的本地机器上创建一个镜像,但我无法验证 gpg 签名。

遵循以下步骤:https ://help.ubuntu.com/community/Debmirror

我在 /home/ubuntu/mirrorkeyring 下创建了trustedkeys 和 /var/repository 下创建了存储库文件的唯一区别

创建密钥:

mkdir /home/ubuntu/mirrorkeyring
gpg --no-default-keyring --keyring /home/ubuntu/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg

从我的mirrorbuild.sh:

export GNUPGHOME="/home/ubuntu/mirrorkeyring" 

执行mirrorbuild.sh:

Getting meta files ...
[  0%] Getting: dists/trusty/Release...      #** GET http://archive.ubuntu.com/ubuntu/dists/trusty/Release ==> 200 OK
ok
[  0%] Getting: dists/trusty/Release.gpg...      #** GET http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg ==> 200 OK
ok
Release gpg signature does not verify.
Ubuntu Release file: using Suite (trusty).
[  0%] Getting: dists/trusty-security/Release...     #** GET http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release ==> 200 OK (1s)
ok
[  0%] Getting: dists/trusty-security/Release.gpg...     #** GET http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg ==> 200 OK
ok
Release gpg signature does not verify.
Ubuntu Release file: using Suite (trusty-security).
[  0%] Getting: dists/trusty-updates/Release...      #** GET http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release ==> 200 OK
ok
[  0%] Getting: dists/trusty-updates/Release.gpg...      #** GET http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg ==> 200 OK
ok
Release gpg signature does not verify.
Ubuntu Release file: using Suite (trusty-updates).
Errors:
   Release gpg signature does not verify
   Release gpg signature does not verify
   Release gpg signature does not verify
   Failed to download some Release or Release.gpg files!
ubuntu
  • 1 1 个回答
  • 1788 Views

1 个回答

  • Voted
  1. Best Answer
    Erico
    2014-10-04T14:39:43+08:002014-10-04T14:39:43+08:00

    我只是尝试使用 root 从标准 .gnupg 文件夹中读取文件并工作。

    • 0

相关问题

  • 无法通过 Ubuntu VPN 访问外部网络

  • ubuntu apt-get upgrade - 如何在 shell 中单击确定?

  • VirtualBox 上 Ubuntu 的访客优化技巧 [关闭]

  • 外部硬盘上的 virtualbox 虚拟硬盘驱动器(Vista 主机上的 ubuntu 客户机)

  • 如何在 Ubuntu 上挂载 LVM 分区?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve