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

Asked by Ivan Craig

I have tried running "sudo apt-get update" several times. I receive this message.

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: Duplicate sources.list entry http://repo.steampowered.com/steam/ precise/steam i386 Packages (/var/lib/apt/lists/repo.steampowered.com_steam_dists_precise_steam_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems.

Please give me some help on correcting this problem.
Thank you, Ivan Craig

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

egrep -R -i 'steam|chrome' /etc/apt/*.list; lsb_release -a

Thanks

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Ivan Craig (hrandiac) said :
#3

I continue to have this problem. Running 'sudo apt-get update' continues
to give me this same response.

> Your question #261227 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/261227
>
> Status: Needs information => Expired
>
> Launchpad Janitor expired the question:
> This question was expired because it remained in the 'Needs information'
> state without activity for the last 15 days.
>
> --
> If you're still having this problem, you can reopen your question either
> by replying to this email or by going to the following page and
> entering more information about your problem:
> https://answers.launchpad.net/ubuntu/+question/261227
>
> You received this question notification because you asked the question.
>

Revision history for this message
Ivan Craig (hrandiac) said :
#4

What is the output of :

egrep -R -i 'steam|chrome' /etc/apt/*.list; lsb_release -a

LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:security-4.0-ia32:security-4.0-noarch:security-4.1-ia32:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please provide the output of the command

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Revision history for this message
Ivan Craig (hrandiac) said :
#6

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

This is the complete ouput:

hrandiac@ubuntu:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.d/stebbins-handbrake-snapshots-trusty.list

     1 deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main

/etc/apt/sources.list.d/freyja-dev-unity-tweak-tool-daily-trusty.list

     1 deb http://ppa.launchpad.net/freyja-dev/unity-tweak-tool-daily/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/freyja-dev/unity-tweak-tool-daily/ubuntu trusty main

/etc/apt/sources.list.d/steam-launcher.list

     1 deb http://repo.steampowered.com/steam/ precise steam

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

     1 deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/ubuntu-wine-ppa-trusty.list

     1 deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
     2 deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main
     3 deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main

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

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/team-xbmc-ppa-trusty.list

     1 deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main

/etc/apt/sources.list.d/otto-kesselgulasch-gimp-trusty.list

     1 deb http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu trusty main

/etc/apt/sources.list.d/dropbox.list

     1 deb [arch=i386,amd64] http://linux.dropbox.com/ubuntu trusty main

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

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources.list.d/pmjdebruijn-darktable-release-trusty.list

     1 deb http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu trusty main

/etc/apt/sources.list.d/thefanclub-grive-tools-trusty.list

     1 deb http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu trusty main

/etc/apt/sources.list.d/thefanclub-ubuntu-after-install-trusty.list

     1 deb http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu trusty main

/etc/apt/sources.list.d/pipelight-stable-trusty.list

     1 deb http://ppa.launchpad.net/pipelight/stable/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu trusty main
     3 deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu trusty main

/etc/apt/sources.list.d/steam.list

     1 deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
     2 deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/peterlevi-ppa-trusty.list

     1 deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu trusty main

/etc/apt/sources.list.d/libreoffice-ppa-trusty.list

     1 deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main

/etc/apt/sources.list.d/webupd8team-y-ppa-manager-trusty.list

     1 deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main
     2 # deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2)]/ trusty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
     6 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    11 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
    17 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
    18 deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
    19 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
    27 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
    28 deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    29 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    37 deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu trusty-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
    41 deb http://security.ubuntu.com/ubuntu trusty-security universe
    42 deb-src http://security.ubuntu.com/ubuntu trusty-security universe
    43 deb http://security.ubuntu.com/ubuntu trusty-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu trusty partner
    51 deb-src http://archive.canonical.com/ubuntu trusty partner
    52
    53 ## This software is not part of Ubuntu, but is offered by third-party
    54 ## developers who want to ship their latest software.
    55 deb http://extras.ubuntu.com/ubuntu trusty main
    56 deb-src http://extras.ubuntu.com/ubuntu trusty main
hrandiac@ubuntu:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

sudo rm /etc/apt/sources.list.d/steam.list

Will clean up the steam duplicate

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

sudo rm /etc/apt/sources.list.d/google-chrome-stable.list

Will clean up the Chrome duplicate

Revision history for this message
Ivan Craig (hrandiac) said :
#9

Thank you actionparsnip,

Those two commands cleaned the duplicates!