相关疑难解决方法(0)

如何修复丢失的 GPG 密钥?

我刚刚安装了 Ubuntu 12.04 并添加了一些 repo,当我这样做时apt-get update,我丢失了 gpg 密钥。

以下命令似乎对我不起作用:

apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "\nProcessing key: $key"; gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | apt-key add -; done
Run Code Online (Sandbox Code Playgroud)

如何解决这个问题?

updates repository gnupg keys

162
推荐指数
7
解决办法
36万
查看次数

如何删除存储库?

请让我知道如何在 Ubuntu 11.04 中删除某些存储库。更新时出现以下错误。

sudo apt-get update

Err http://ppa.launchpad.net natty/main Sources                                   
  404  Not Found
Err http://ppa.launchpad.net natty/main i386 Packages                             
  404  Not Found
......

E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)

repository software-sources

159
推荐指数
3
解决办法
42万
查看次数

GPG 错误:无法验证以下签名,因为公钥不可用

可能重复:
如何修复 GPG 错误“NO_PUBKEY”?

sudo apt-get update我收到此错误后:

W: GPG error: http://archive.hivemind.me all Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3C962022012520A0
Run Code Online (Sandbox Code Playgroud)

gnupg

137
推荐指数
2
解决办法
15万
查看次数

如何处理软件中心中的“未经验证的来源”错误?

我通过软件中心尝试的任何安装都告诉我:

需要安装不受信任的软件包:该操作将要求安装来自未经身份验证的来源的软件包。

apt-get update从命令行做了一个,然后删除了密钥错误的软件源(我自己添加的 PPA),并在软件中心的软件源中取消选中它们,但无济于事。我不能再从软件中心安装任何东西——只能>从命令行使用 apt-get。

卸载/安装是唯一的选择吗?我不想破坏我拥有的其他 PPA。

附加信息:

这是来自 apt-get update 的粘贴:

Reading package lists... Done
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965
W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
Run Code Online (Sandbox Code Playgroud)

我试过apt-key update,没有效果(两个键不变)。

的输出apt-get updateapt-get upgrade,和中的内容/etc/apt/sources.list,可以发现这个引擎收录职位

software-center package-management authentication

120
推荐指数
3
解决办法
13万
查看次数

以下密钥 ID 1397BC53640DB551 没有可用的公钥

当我运行命令时:

sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

我收到以下警告:

There is no public key available for the following key IDs: 1397BC53640DB551
Run Code Online (Sandbox Code Playgroud)

这是我收到的唯一警告,我没有收到任何错误。

我该如何修复它以及 1397BC53640DB551 的关键是什么?

updates apt

108
推荐指数
2
解决办法
11万
查看次数

以下签名无效:EXPKEYSIG 1397BC53640DB551

这是问题 952287:[用户反馈 - 稳定] 由于 GPG 签名密钥过期,Linux 版 Chrome 无法安装/更新的报告


今天,apt在我所有的机器上运行时,谷歌 PPA 都会出现这个错误(对于google-chrome):

me@mymachine:~$ sudo apt clean && sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y && sudo snap refresh 
[sudo] password for me: 
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease                        
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Err:7 http://dl.google.com/linux/chrome/deb stable …
Run Code Online (Sandbox Code Playgroud)

updates apt ppa google-chrome 18.04

98
推荐指数
5
解决办法
5万
查看次数

需要安装不受信任的软件包?

我昨天尝试安装 VLC Player,但Requires installation of untrusted packages出现错误。我搜索了几个小时来解决这个问题,最后得到一个建议,说要更改服务器以从中下载更新。我这样做了,当我单击更新管理器中的“检查”时,它给了我 404 错误。我尝试将我的服务器切换回主服务器(之后,还有其他几个),但我现在仍然收到 404 错误: 在此处输入图片说明

下载或更新时遇到的另一个错误: 在此处输入图片说明

编辑:输出cat /etc/apt/sources.list

deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates restricted main multiverse …
Run Code Online (Sandbox Code Playgroud)

package-management

78
推荐指数
3
解决办法
14万
查看次数

五笔和常规的“Windows 旁边”安装有什么区别?

此时,五笔不支持 Windows 8默认引导加载程序。因此此时 Wubi 将无法在新的 Windows 8 机器上运行。

引文FOM WubiGuide

最近我了解了Wubi,这是一种直接从 Windows 安装 Ubuntu 的方法。

除了从 Windows 安装之外,我想知道常规“与 Windows 一起”或双引导 Ubuntu 安装与使用 Wubi 完成的安装之间的主要区别。使用 Wubi 时我应该注意哪些缺点(例如性能损失)或不兼容问题?

wubi system-installation

72
推荐指数
3
解决办法
6万
查看次数

使用更新管理器升级时“需要安装不受信任的软件包”

截屏

它没有修复错误。那么,如何修复我的 GUI 更新?

对于每个软件,我都必须从命令行安装它,因为从 Ubuntu 软件中心安装软件时出现相同的错误。

update-manager

67
推荐指数
3
解决办法
14万
查看次数

由于公钥不可用,无法验证以下签名:NO_PUBKEY

当我运行时apt-get update,我收到此错误消息:

Err:18 http://dl.google.com/linux/chrome/deb stable Release.gpg                
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
Run Code Online (Sandbox Code Playgroud)

我了解导致此问题的原因。我想知道如何解决它。

编辑:

我尝试了重复链接中提供的最受好评的解决方案:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Run Code Online (Sandbox Code Playgroud)

根据我看到的帖子,我遇到了这个新问题,但在本网站上似乎没有解决:

Executing: /tmp/tmp.jyolnTyZuJ/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
6494C6D6997C215E
gpg: requesting key 997C215E from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
Run Code Online (Sandbox Code Playgroud)

apt gnupg 16.04

65
推荐指数
1
解决办法
12万
查看次数