Samsung Unified Linux Driver Repository Forum

SULDR => Using the Repository => Topic started by: beenome on February 27, 2017, 14:34:10

Title: apt-get update duplicates
Post by: beenome on February 27, 2017, 14:34:10
Hi whenever I apt-get update, I get the following in my terminal, is this normal ?

W: Duplicate sources.list entry http://www.bchemnet.com/suldr/ debian/extra i386 Packages (/var/lib/apt/lists/www.bchemnet.com_suldr_dists_debian_extra_binary-i386_Packages)
W: Duplicate sources.list entry http://www.bchemnet.com/suldr/ debian/extra i386 Packages (/var/lib/apt/lists/www.bchemnet.com_suldr_dists_debian_extra_binary-i386_Packages)

Thanks for your help.
Title: Re: apt-get update duplicates
Post by: bchemnet on February 27, 2017, 15:21:48
It is not normal but not harmful.  Chances are that you do actually have duplicate entries in /etc/apt/sources.list - this happens to me every year or two on one or more of my systems with one or more repositories, but I have never investigated what causes it.  Deleting the duplicate lines (edit the file as root/sudo) and then reloading repositories (apt-get update or equivalent) takes care of the warning.
Title: Re: apt-get update duplicates
Post by: beenome on February 28, 2017, 11:32:42
Problem solved, thank you.