我使用 MX-Linux KDE 版本。今天,突然间,当我尝试运行时apt update
,更新过程未完全完成。显示禁止 IP 错误的资源手册页之一。这是我运行代码时的结果:
sudo apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 http://deb.debian.org/debian-security buster/updates InRelease
Hit:5 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:6 http://packages.microsoft.com/repos/code stable InRelease
Hit:7 https://repo.skype.com/deb stable InRelease
Hit:8 http://mxrepo.com/mx/repo buster InRelease
Hit:9 http://repository.spotify.com stable InRelease
Hit:10 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:11 https://dl.bintray.com/openbangla/debian buster InRelease
Err:12 https://linux.teamviewer.com/deb stable InRelease
403 Forbidden [IP: 65.8.80.43 443]
Get:13 https://dl.bintray.com/openbangla/debian buster Release [1,840 B]
Err:15 https://linux.teamviewer.com/deb preview InRelease
403 Forbidden [IP: 65.8.80.43 443]
Err:16 https://linux.teamviewer.com/deb development InRelease
403 Forbidden [IP: 65.8.80.43 443]
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' is no longer signed.
E: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/InRelease 403 Forbidden [IP: 65.8.80.43 443]
E: Failed to fetch https://linux.teamviewer.com/deb/dists/preview/InRelease 403 Forbidden [IP: 65.8.80.43 443]
E: The repository 'https://linux.teamviewer.com/deb preview 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.
E: Failed to fetch https://linux.teamviewer.com/deb/dists/development/InRelease 403 Forbidden [IP: 65.8.80.43 443]
E: The repository 'https://linux.teamviewer.com/deb development 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.
谁能告诉我如何解决这个问题?
答案1
我认为这是 Teamviewer 存储库的暂时问题。我找到了以下解决方法:
sudo rm -f /etc/apt/sources.list.d/teamviewer.list
通过上述命令删除损坏的源列表文件并尝试获取更新。要重新生成上述文件,您需要通过手动下载 deb 包来更新 TW。
答案2
看起来问题出在签名上。
可能更好的方法是注释掉存储库文件中的行并保留它以供将来更新。
只需在 /etc/apt/sources.list.d/teamviewer.list 中注释掉以下行
#deb https://linux.teamviewer.com/deb stable main