为什么sudo apt-get update退出并显示错误? [关闭]

问题描述 投票:-1回答:1
我正在尝试更新我的ubuntu便携式计算机,因此输入以下命令:sudo apt-get update

但是我仍然遇到此错误:

sudo apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Err:2 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease 403 Forbidden [IP: 91.189.95.83 80] Hit:3 http://de.archive.ubuntu.com/ubuntu bionic InRelease Get:4 http://dl.google.com/linux/chrome/deb stable Release [943 B] Hit:5 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B] Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease Err:6 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 78BD65473CB3BD13 Hit:8 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:9 https://repo.skype.com/deb stable InRelease Reading package lists... Done E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 91.189.95.83 80] E: The repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13

有人知道为什么会发生这种情况,以及我该如何解决这个问题?我的ubuntu version18.04

提前感谢。

linux ubuntu ubuntu-18.04 apt-get
1个回答
0
投票
您的http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic存储库没有GPG签名,因此无法安全地进行更新。如果要绕过此操作,则应在/etc/apt/sources.list中编辑其条目。如果原始条目如下所示:

deb http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease

将其更改为此:

deb [trusted=yes] http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease

© www.soinside.com 2019 - 2024. All rights reserved.