我正在尝试更新安全性......
sudo apt-get update
而且 faiel……
正在读取软件包列表...完成
W: Duplicate sources.list http://archive.canonical.com/ubuntu/ precise entry / i386 partner Packages
(/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
怎么修?
答案1
您的/etc/apt/sources.list
包含重复项。
请执行以下操作:
sudo nano /etc/apt/sources.list
并检查哪些行是相同的。如果您需要使用来自一个存储库的多个组件,例如:
main, universe, multiverse or restricted
您可以将它们添加为一行,例如:
http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse