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
    • 最新
    • 标签
主页 / ubuntu / 问题 / 36092
In Process
AFD
AFD
Asked: 2011-04-21 03:19:02 +0800 CST2011-04-21 03:19:02 +0800 CST 2011-04-21 03:19:02 +0800 CST

我的许多签名/我的回购公钥都消失了!

  • 772

这是一个疯狂的 Ubuntu 安装的故事。

有一天,在安装、喜爱并向其他操作系统展示谁是老大之后,它决定删除许多存储的签名/公钥 - 全部靠它自己!

Ubuntu 安装可以很好地应对,但它的用户在尝试apt-get update.

如果可以在没有验证的情况下进行更新,那么用户决定试一试(承认风险)并且......他们都知道这是不可能的。

所以 - 到互联网上,所有其他 Ubuntu 用户都居住在那里!

打破叙述者角色片刻

我跑的最后一次apt-get update给出了这组错误:

W: An error occurred during the signature verification. 
The repository is not updated and the previous index files will be used. 
GPG error: http ://gb.archive.ubuntu.com maverick Release: 
The following signatures were invalid: 
BADSIG 40976EAF437D05B5
Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http ://ppa.launchpad.net maverick Release: 
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 61E091672E206FF0
W: An error occurred during the signature verification. 
The repository is not updated and the previous index files will be used.
GPG error: http ://ppa.launchpad.net maverick Release: 
The following signatures were invalid:
BADSIG 9DAD42D740C11E40
Launchpad Cloudsn Reporitory
W: An error occurred during the signature verification. 
The repository is not updated and the previous index files will be used. 
GPG error: http ://ppa.launchpad.net maverick Release: 
The following signatures were invalid: 
BADSIG B725097B3ACC3965
Launchpad lffl
W: GPG error: http ://ppa.launchpad.net maverick Release: 
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY 6D3B959722E58263
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/maverick/Release
W: Failed to fetch http://ppa.launchpad.net/chuchiperriman/cloudsn/ubuntu/dists/maverick/Release
W: Failed to fetch http://ppa.launchpad.net/ferramroberto/vlc/ubuntu/dists/maverick/Release
W: Failed to fetch http://nightlies.videolan.org/build/intrepid-i386/arch/./Packages.gz
404  Not Found
W: Failed to fetch http://ppa.launchpad.net/nilarimongard/webupd8/ubuntu/dists/maverick/main/source/Sources.gz
404  Not Found
W: Failed to fetch http://ppa.launchpad.net/nilarimongard/webupd8/ubuntu/dists/maverick/main/binary-i386/Packages.gz
404  Not Found
W: Some index files failed to download, they have been ignored, or old ones used instead.

我在 Ubuntu 论坛上读过,我可以逐个检查每个丢失的 sig/key 并将其取回。作为解决方案,这似乎很冗长。

是否有一行代码可以自动查找所有丢失的键?还是我注定要手动挖掘这些以变得永远快乐?

ppa
  • 1 1 个回答
  • 1979 Views

1 个回答

  • Voted
  1. Alin Andrei
    2011-04-21T03:49:30+08:002011-04-21T03:49:30+08:00

    Launchpad-Getkeys(一个打包在 .deb 中以便于安装的小脚本)会自动导入所有缺失的 GPG 密钥。

    要安装和使用它,请打开终端并复制/粘贴以下命令:

    cd ~/Downloads
    wget https://launchpad.net/~nilarimogard/+archive/webupd8/+files/launchpad-getkeys_0.3.1-1%7Ewebupd8%7Emaverick3_all.deb
    sudo dpkg -i launchpad-getkeys*.deb
    sudo launchpad-getkeys
    

    上面的第一个命令将目录更改为您的下载文件夹,第二个命令下载 .deb,第三个命令安装 .deb,最后一个命令运行“launchpad-getkeys”脚本,该脚本会自动导入所有缺少的 GPG 密钥。

    如果您使用的是代理,那么您需要更改一些内容,所以如果您也需要相关信息,请告诉我。

    顺便说一句,我看到您还有其他一些错误,而不仅仅是 GPG 密钥。看起来您有一些损坏的 PPA .list 文件(例如,我看到您收到 WebUpd8 PPA 的 404 not found 错误,因为 PPA 从 Jaunty 到 Natty 一直存在 - 也许您的 Internet 连接已关闭?)。

    • 4

相关问题

  • 我在哪里可以找到最新版 GIMP 的 PPA?

  • 谷歌的 Go 语言有任何 PPA 吗?

  • 为自定义 PPA 修补 Wine 的正确方法是什么?

  • 我如何创建自己的 php 5.3.3 包/ppa?

  • 如何删除 PPA?

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    我需要什么命令来解压缩/提取 .tar.gz 文件?

    • 8 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Marko Smith

    如何使用命令行将用户添加为新的 sudoer?

    • 7 个回答
  • Marko Smith

    更改文件夹权限和所有权

    • 9 个回答
  • Martin Hope
    EmmyS 我需要什么命令来解压缩/提取 .tar.gz 文件? 2011-02-09 14:50:41 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve