Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Each time when I try to update Ubuntu by sudo apt-get update it fetches data from archive, but after reading package list I get this error:

W: Duplicate sources.list entry stable/main amd64 Packages (/var/lib/apt/lists/

W: Duplicate sources.list entry stable/main i386 Packages (/var/lib/apt/lists/

W: You may want to run apt-get update to correct these problems

How can I solve this problem? Thank you :)

share|improve this question

marked as duplicate by Jorge Castro, green7, Eliah Kagan, Seth, Caesium Mar 28 '13 at 16:14

This question was marked as an exact duplicate of an existing question.

up vote 0 down vote accepted

There are two lines in source configuration file of apt - and they saying that you're using two different architectures. Now you should:

  1. check your arch
  2. check configuration files of apt
  3. comment out unnecessary line
  4. run apt-get update again :)

Here's how:

  1. check your arch In terminal/command line:

    uname -i

    On my ubuntu i've got this result: x86_64 - so i'm using amd64 if you've got other (in common) you're using i386

  2. the configuration files for apt are in /etc/apt/ directory. This two problematique entries can be in /etc/apt/source.list or in /etc/apt/source.list.d/google-chrome.list you need to check it for yourself. Edit the right file with the command:

    gksudo gedit /etc/apt/sources.list.d/google-chrome.list or

    gksudo gedit /etc/apt/sources.list You need root privileges for it - so type your password

  3. Comment out Now with # symbol you'll comment out unecessary line

  4. Run apt-get update again

    sudo apt-get update

share|improve this answer
Thank you. Problem is solved :) – NadirHajiyev Mar 29 '13 at 8:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.