synaptic 包不会重新加载

synaptic 包不会重新加载

这是尝试重新加载突触管理器时出现的错误。打开时我没有看到重复项/etc/apt/sources.list

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/google-chrome.list:3
W: http://download.ebz.epson.net/dsc/op/stable/debian/dists/lsb3.2/Release.gpg: Signature by key E5220FB7014D0FBDA50DFC2BE5E86C008AA65D56 uses weak digest algorithm (SHA1)

答案1

对于第一组线,阅读实际的错误信息。您有两份/etc/apt/sources.list /etc/apt/sources.list.d/google-chrome.list

注释掉您的 中的行/etc/apt/sources.list.d/google-chrome.list或注释掉 中的行/etc/apt/sources.list。(我建议注释掉 中的有问题的行/etc/apt/sources.list,然后让google-chrome.list中的保持/etc/apt/sources.list.d/google-chrome.list不变)。


不过,关于 GPG 签名较弱的最后一个问题是不同的,并且不是你可以修复的问题。

答案2

要修复您的 Synaptic 错误消息...

terminal类型中...

cat /etc/apt/sources.list.d/google-chrome.list # view the file
    # note what deb lines the file contains

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak # backup the file

gksudo gedit /etc/apt/sources.list # edit the file
    # go to line 54 and comment out the line(s) that looks like the deb statement(s) from above
    # do this by placing a `#` character at the beginning of that line(s)
    # save the changes and quit gedit, and close the terminal

关于“使用弱摘要算法 (SHA1)”的最后一个错误您无法修复。请忽略它。

相关内容