Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/09/2008, à 01:00

Martial34

Dépôts en double ?

[RÉSOLU] Bonjour. Quand je cherche des mises à jour, j'ai le message d'erreur suivant. Faut-il que je décoche des sources de logiciels ?

W: Duplicate sources.list entry http://fr.archive.ubuntu.com hardy-backports/main Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_hardy-backports_main_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com hardy-backports/restricted Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_hardy-backports_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com hardy-backports/universe Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_hardy-backports_universe_
binary-i386_Packages)
W: Duplicate sources.list entry http://fr.archive.ubuntu.com hardy-backports/multiverse Packages (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_hardy-backports_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com hardy/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_hardy_partner_binary-i386_Packages)

Dernière modification par Martial34 (Le 09/09/2008, à 02:21)

Hors ligne

#2 Le 09/09/2008, à 01:13

compte supprimé

Re : Dépôts en double ?

Salut,

il faut éditer ton fichier /etc/apt/sources.list et supprimer les doublons.
Si tu ne sais pas faire, poste le contenu du fichier ici.

#3 Le 09/09/2008, à 01:36

Martial34

Re : Dépôts en double ?

J'ai un dossier sources.list.d qui est vide, un dossier sources.list. qui reproduit le gestionnaire de dépôts, et un dossier sources.list.save que voici :

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted

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

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-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://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe 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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu hardy partner

Hors ligne

#4 Le 09/09/2008, à 01:46

compte supprimé

Re : Dépôts en double ?

C'était le sources.list tout court que je voulais, mais on voir déjà ici le dépôt backports qui est en double (cf les lignes en gras) :

# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ hardy main restricted

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

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://fr.archive.ubuntu.com/ubuntu/ hardy universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-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://fr.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe 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 hardy partner
deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu hardy partner

#5 Le 09/09/2008, à 01:46

Martial34

Re : Dépôts en double ?

Pour complément d'information, voici mes logiciels de tierces parties :

http://archive.canonical.com/ubuntu hardy partner
http://archive.canonical.com/ubuntu hardy partner (Code Source)
http://archive.canonical.com/ubuntu hardy partner

Hors ligne

#6 Le 09/09/2008, à 01:58

Martial34

Re : Dépôts en double ?

Il est possible d'en supprimer un des deux sans provoquer de dégâts ? neutral

Hors ligne

#7 Le 09/09/2008, à 02:05

compte supprimé

Re : Dépôts en double ?

oui, il faut taper

gksu gedit /etc/apt/sources.list

dans un terminal pour modifier le fichier sources.list (ou kdesu kate /etc/apt/sources.list si tu est sous kubuntu).

Sinon tu peux mettre un dièse (#) au début de la ligne pour qu'elle ne soit pas prise en compte (si tu ne veux pas la supprimer par peur de faire une connerie).

Dernière modification par chewbax (Le 09/09/2008, à 02:05)

#8 Le 09/09/2008, à 02:15

Martial34

Re : Dépôts en double ?

C'est fait. Mais du coup, quand je clique sur "recharger", je n'ai plus que 45 paquets au lieu de 71.
En tout cas, le message d'erreur a disparu. Merci beaucoup ! wink

Hors ligne