Announcement

Collapse
No announcement yet.

Duplicate sources.list entry

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Duplicate sources.list entry

    Hello,

    I tried to add the repository for google chrome myself.
    But i found out that it is added automatically when installing Chrome, so i did.

    Afterwards, i have this problem with a "sudo apt-get update"

    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_b inary-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_b inary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    When i go to /etc/apt/sources.list, i only see one entry...

    Does anyone has an idea how to solve?
    tx!

    #2
    Originally posted by koenh View Post
    Hello,

    I tried to add the repository for google chrome myself.
    But i found out that it is added automatically when installing Chrome, so i did.

    Afterwards, i have this problem with a "sudo apt-get update"



    When I go to /etc/apt/sources.list, i only see one entry...

    Does anyone has an idea how to solve?
    tx!
    Chrome will add its own entry to the sources.list.d directory as sources.list is really for the main ubuntu repositories. PPAs and 3rd party sources should be added to the sources.list.d directory. My entry for Chrome is at:-

    /etc/apt/sources.list.d/google-chrome.list

    So there is your duplication and the cause of the error.

    You might also think about what you intended to be installed and what you have installed as the versions of chrome in the error message refer to both 32-bit (i386) and 64-bit (amd64). Is your installation 32-bit or 64-bit?

    Comment

    Working...
    X