Duplicate sources.list entry

Posted November 14, 2014 4.1k views


I have run into this error:

W: Duplicate sources.list entry newrelic/non-free amd64 Packages (/var/lib/apt/lists/apt.newrelic.comdebiandistsnewrelicnon-freebinary-amd64Packages)
W: Duplicate sources.list entry 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?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.