![每次执行 sudo apt update 和 sudo apt upgrade 时都会收到 GPG 错误通知](https://linux22.com/image/937124/%E6%AF%8F%E6%AC%A1%E6%89%A7%E8%A1%8C%20sudo%20apt%20update%20%E5%92%8C%20sudo%20apt%20upgrade%20%E6%97%B6%E9%83%BD%E4%BC%9A%E6%94%B6%E5%88%B0%20GPG%20%E9%94%99%E8%AF%AF%E9%80%9A%E7%9F%A5.png)
在更新和升级时获取此读数
Reading package lists... Done
W: GPG error: http://download.videolan.org/pub/debian/stable Release: Detached signature file '/var/lib/apt/lists/partial/download.videolan.org_pub_debian_stable_Release.gpg' is in unsupported binary format
E: The repository 'http://download.videolan.org/pub/debian/stable Release' 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.
完成后出现相同的消息sudo apt upgrade
,有帮助吗?
答案1
此存储库已过时。它最后一次更新是在 2013-2016 年。您必须从软件和更新(或software-properties-gtk
)中禁用它,然后从安装 VLC官方存储库:
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install vlc