每当我试图sudo apt-get update
我得到这些错误:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.linuxmint.com rafaela Release: The following signatures were invalid: BADSIG 3EE67F3D0FF405B2 Clement Lefebvre (Linux Mint Package Repository v1) <[email protected]>
W: GPG error: http://extra.linuxmint.com rafaela Release: The following signatures were invalid: BADSIG 3EE67F3D0FF405B2 Clement Lefebvre (Linux Mint Package Repository v1) <[email protected]>
W: Failed to fetch http://packages.linuxmint.com/dists/rafaela/Release
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/binary-amd64/Packages Hash Sum mismatch
W: Some index files failed to download. They have been ignored, or old ones used instead.
所以,我做了一些阅读,并试图在该软件的源区改变镜,也遵循了这一qazxsw POI,并运行此命令:
但得到这个结果是我没有帮助:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3EE67F3D0FF405B2
任何想法是什么事我可以为了解决它试试?
P.S尝试安装和的NodeJS NPM当这一切开始。
这为我工作在Linux Mint的17钱啊:
须藤RM -r在/ var / lib中/公寓/名单
须藤的mkdir -p在/ var / lib中/公寓/列表/分
sudo易于得到清洁
sudo易于得到更新
sudo易于键列表|过期的grep
获得从该结果使用密钥: 酒馆4096R / BE1DB1F1 2011-03-29 [过期:2014年3月28日]
sudo易于关键进阶--recv密钥--keyserver keys.gnupg.net BE1DB1F1
sudo易于得到更新
从Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.joWxQNcMmd --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com 3EE67F3D0FF405B2
gpg: requesting key 0FF405B2 from hkp server keyserver.ubuntu.com
gpg: key 0FF405B2: "Clement Lefebvre (Linux Mint Package Repository v1) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
溶液部分。
它应该是BADSIG
不packages.linuxmint.com
。
要找出哪个软件列表文件包括侵入主机:
extra.linuxmint.com
更改匹配的任何行。
仅供参考,我的一条线是在grep -R extra.linuxmint.com /etc/apt/sources.list.d
,现在读:
/etc/apt/sources.list.d/official-package-repositories.list
如果您仍然有deb http://extra.linuxmint.com rafaela main
错误,然后按照社会的脚步。