如何解决错误重复sources.list?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何解决错误重复sources.list?相关的知识,希望对你有一定的参考价值。
sudo apt-get update会抛出这个错误
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Reading package lists... Done
W: Duplicate sources.list entry http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64 Packages (/var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_trusty-pgdg_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main i386 Packages (/var/lib/apt/lists/apt.postgresql.org_pub_repos_apt_dists_trusty-pgdg_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
miravm@ubuntu:/var/lib/apt/lists$
我相信这与postgres有关。我该如何解决这个问题?
以上是关于如何解决错误重复sources.list?的主要内容,如果未能解决你的问题,请参考以下文章
安装Ros时遇到E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component)错误的解决方案
片段中的重复 ID YouTubePlayerSupportFragment