W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
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
。如何消除此错误消息?
编辑:
这就是我的sources.list
样子:
missingfaktor@going-merry /etc/apt/sources.list.d $ cat /etc/apt/sources.list
# /etc/apt/sources.list
# deb http://badgerports.org lucid main
# deb-src http://badgerports.org lucid main
# deb http://repository.glx-dock.org/ubuntu maya cairo-dock ## Cairo-Dock-Stable
答案1
查看 /etc/apt/sources.list.d/ 中的其他文件。这些文件夹中的文件也被 apt-get 使用,并且很可能该文件夹中有两个文件引用同一个 PPA(或者一个文件引用了两次)。