Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
20
rated 0 times [  20] [ 0]  / answers: 1 / hits: 34372  / 1 Year ago, fri, december 9, 2022, 10:14:42

When I run apt-get update on my Ubuntu 13.10 Desktop install I get this error:



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


What does this mean? how can I resolve it? and what issues can it create? I want to understand the problem So if I run into it or anyone else I can help resolve it.


More From » apt

 Answers
6

If means you've got the same source defined twice in your apt sources. It's a warning not an error. You could continue like this indefinitely if you wished.



To fix it, you just need to remove one of the definitions. To see all the definitions, run:



grep -R --include="*.list" chrome /etc/apt/


It's then just a case of editing (sudoedit filename) one of those out (either delete the line or comment it out by sticking a # at the beginning.


[#28301] Saturday, December 10, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pilun

Total Points: 270
Total Questions: 100
Total Answers: 94

Location: England
Member since Sat, Feb 13, 2021
3 Years ago
pilun questions
Thu, Sep 16, 21, 18:43, 3 Years ago
Mon, Aug 23, 21, 04:32, 3 Years ago
Wed, Sep 14, 22, 11:04, 2 Years ago
;