Duplicate source error on apt-get update [duplicate]

Solution 1:

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.

Solution 2:

First make sure about what arquitecture are you running and just remove the entry in Software Center>Edit>Sources or remove the line in your source list.

gksu gedit /etc/apt/sources.list

To find out your architecture

uname -a