尝试在Ubuntu 14.04.1 LTS上通过软件更新程序安装软件包时,出现以下错误:
关于这些软件包:
我从以下位置选择了以下设置来安装更新:
我已经运行以下命令:
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get update提供以下输出:
Reading package lists... Done
W: GPG error: https://download.01.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A902DDA375E52366
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
sudo apt-get upgrade提供以下输出:
The following packages have been kept back:
libegl1-mesa libegl1-mesa-drivers libgbm1 libgl1-mesa-dri libgl1-mesa-glx
libglapi-mesa libgles1-mesa libgles2-mesa libosmesa6 liboxideqt-qmlplugin
liboxideqtcore0 libwayland-egl1-mesa libxatracker2 linux-generic
linux-generic-pae linux-headers-generic linux-headers-generic-pae
linux-image-generic linux-image-generic-pae oxideqt-codecs
python-cupshelpers system-config-printer-gnome
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
更新
发出以下命令:
sudo apt-get clean
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
仍然给出以下输出:
Reading package lists... Done
W: GPG error: https://download.01.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A902DDA375E52366
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
紧随第二个答案:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A902DDA375E52366
sudo apt-get update
但收到以下错误:
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
和apt-get update无法解决问题
@g_p我添加了输出。我猜可能是GPG错误?
—
Noosrep 2015年
@g_p仍然不起作用,我编辑了问题
—
Noosrep 2015年
sudo apt-get update
什么?