我在执行“sudo apt update”Debian 10 时遇到了麻烦

我在执行“sudo apt update”Debian 10 时遇到了麻烦

我执行了典型的“sudo apt update”,在输出的末尾我发现了这一点:

All packages are up to date.
W: Skipping acquire of configured file 'stable/source/Sources' as repository 
'https://download.docker.com/linux/debian buster InRelease' does not seem to provide it 
(sources.list entry misspelt?)
W: Skipping acquire of configured file 'edge/source/Sources' as repository 
'https://download.docker.com/linux/debian buster InRelease' does not seem to provide it 
(sources.list entry misspelt?)
W: An error occurred during the signature verification. The repository is not updated and 
the previous index files will be used. GPG error: 
http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10 ./ InRelease: 
The following signatures couldn't be verified because the public key is not available: 
NO_PUBKEY DFA175A75104960E
W: Failed to fetch 
http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_10/./InRelease  The 
following signatures couldn't be verified because the public key is not available: NO_PUBKEY 
DFA175A75104960E
W: Some index files failed to download. They have been ignored, or old ones used instead.

这可能也很重要,所以这里是我的 /etc/apt/sources.list 的一些行(我不知道是否应该放置文件的全部内容)

deb https://dl.winehq.org/wine-builds/debian/ buster main
deb-src https://dl.winehq.org/wine-builds/debian/ buster main
deb [arch=amd64] https://download.docker.com/linux/debian buster stable edge
deb-src [arch=amd64] https://download.docker.com/linux/debian buster stable edge
deb http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main
deb-src http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main

我仍然认为自己是一个菜鸟,我已经寻找了解决方案,但我还没有找到它们,所以我将非常感谢您的帮助,提前致谢。

答案1

更改以下行:

deb [arch=amd64] https://download.docker.com/linux/debian buster stable edge
deb-src [arch=amd64] https://download.docker.com/linux/debian buster stable edge

deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian buster stable

解决以下错误:

All packages are up to date. W: Skipping acquire of configured file 
'stable/source/Sources' as repository 'https://download.docker.com
/linux/debian buster InRelease' does not seem to provide it
 (sources.list entry misspelt?)

您需要删除 docker 源存储库deb-src

然后运行:

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

删除目录下的 opensuse 存储库/etc/apt/sources.list.d/

相关内容