如果我执行 sudo apt-get update,它会显示:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: The package skype:i386 needs to be reinstalled, but I can't find an archive for it.
sudo apt-get update gives me:
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
这不是针对您的问题的解决方案,但是,如果您愿意安装 skype,另一种解决方法是直接从 skype 网站下载其 .deb 文件:
http://www.skype.com/en/download-skype/skype-for-computer/
确保将发行版选择为 Ubuntu 12.04 (Multiarch),下载 deb 文件并使用 Ubuntu 软件中心打开它。双击下载文件即可。这样就可以安装 skype。
对于更新列表中的重复条目,请尝试:
sudo rm /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages
在您的终端中。sudo apt-get update
然后运行并查看接下来会发生什么。
问候。
答案2
- 打开软件源或(运行
software-properties-gtk
) - “其他软件”选项卡
- 检查 的重复条目
Canonical Partner
,删除重复项。 然后运行:
sudo apt-get update