Duplicate sources.list entry

November 14, 2014 3.6k views

Hi

I have run into this error:

W: Duplicate sources.list entry http://apt.newrelic.com/debian/ newrelic/non-free amd64 Packages (/var/lib/apt/lists/apt.newrelic.comdebiandistsnewrelicnon-freebinary-amd64Packages)
W: Duplicate sources.list entry http://apt.newrelic.com/debian/ newrelic/non-free i386 Packages (/var/lib/apt/lists/apt.newrelic.comdebiandistsnewrelicnon-freebinary-i386Packages)
W: You may want to run apt-get update to correct these problems

I have run apt-get update but it dont fix the problem. What should i do? What fil should i edit?

1 Answer

The source list file can be found in /etc/apt/sources.list additional sources can also be added in the directory /etc/apt/sources.list.d/

The NewRelic documentation has you install it to /etc/apt/sources.list.d/newrelic.list So that would be the first place to look.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!