Jump to content
ElementaryOS France
  • 0

[Résolu] problème duplicate source en update


Question

salut

quand je lance apt-get update, à la fin de l’opération j'ai ce message au terminal :

 

Lecture des listes de paquets... Fait

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-amd64_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-amd64_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-amd64_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages)

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ precise-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-i386_Packages)

W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.

 

comment corriger ce problème et merci

Edited by adamos75
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

salut merci de repondre. le contenu du /etc/apt/sources.list.d/*.list est le suivant :

 

 

deb http://ppa.launchpad.net/elementary-os/stable/ubuntu precise main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu precise main
deb http://ppa.launchpad.net/elementaryos-fr-community/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/elementaryos-fr-community/ppa/ubuntu precise main
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu precise main
deb-src http://ppa.launchpad.net/linrunner/tlp/ubuntu precise main
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu precise main
deb-src http://ppa.launchpad.net/elementary-os/os-patches/ubuntu precise main
deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/teejee2008/ppa/ubuntu precise main
deb http://ppa.launchpad.net/versable/elementary-update/ubuntu precise main
deb-src http://ppa.launchpad.net/versable/elementary-update/ubuntu precise main

 

le contenu du /etc/apt/sources.liste

# deb cdrom:[elementary OS 0.2 _Luna_ - Stable amd64 (20130810)]/ dists/precise/main/binary-i386/

# deb cdrom:[elementary OS 0.2 _Luna_ - Stable amd64 (20130810)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[elementary OS 0.2 _Luna_ - Stable amd64 (20130810)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ma.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ma.archive.ubuntu.com/ubuntu/ precise-updates restricted main
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ma.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise universe
deb http://ma.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ma.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://ma.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ma.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ma.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://security.ubuntu.com/ubuntu/ precise-security restricted main multiverse universe

Link to comment
Share on other sites

  • 0

Ouep bien sûr, le fichier /etc/apt/sources.list (et les fichiers du dossier /etc/apt/sources.list.d/) contiennent la liste des dépôts logiciels utilisés par apt, il se trouve que tu avais deux fois le dépôt precise-security (peut être qu'un script l'a rajouté sans que tu t'en rendes compte où que tu as suivi un tutoriel qui demandait de rajouter la dernière ligne) donc il suffisait de supprimer un des deux. Si ça t'interesse vraiment tu peux jeter un oeil à ces pages :

http://doc.ubuntu-fr.org/apt

http://doc.ubuntu-fr.org/depots

http://doc.ubuntu-fr.org/sources.list

 

Oublie pas de mettre le titre de ton post en [Résolu] ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...