# \[DISCUSSION\]Votre sources.list!

**URL:** <https://www.debian-fr.org/t/discussion-votre-sources-list/2098>\
**Category:** Pause Café\
**Created:** [Février 20, 2016, 12:08 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098 "2016-02-20T12:08:56Z")\
**Posts on this page:** 20\
**Page:** 15

<div class="post-metadata">

**Author:** ![ludo255](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/l/dc4da7/32.png) [@ludo255](https://www.debian-fr.org/u/ludo255)\
**Post date:** [Février 20, 2016, 4:14 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/281 "2016-02-20T16:14:45Z")

</div>

`Fichiers du paquet :
 100 /var/lib/dpkg/status
     release a=now
 500 http://www.debian-multimedia.org sid/main Packages
     release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages,c=main
     origin www.debian-multimedia.org
 500 http://ftp.fr.debian.org sid/non-free Packages
     release o=Debian,a=unstable,l=Debian,c=non-free
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org sid/contrib Packages
     release o=Debian,a=unstable,l=Debian,c=contrib
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org sid/main Packages
     release o=Debian,a=unstable,l=Debian,c=main
     origin ftp.fr.debian.org
 500 http://www.debian-multimedia.org etch/main Packages
     release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages,c=main
     origin www.debian-multimedia.org
 500 http://ftp.fr.debian.org etch/non-free Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=non-free
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org etch/contrib Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=contrib
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org etch/main Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=main
     origin ftp.fr.debian.org
 500 http://security.debian.org etch/updates/non-free Packages
     release o=Debian,a=stable,l=Debian-Security,c=non-free
     origin security.debian.org
 500 http://security.debian.org etch/updates/contrib Packages
     release o=Debian,a=stable,l=Debian-Security,c=contrib
     origin security.debian.org
 500 http://security.debian.org etch/updates/main Packages
     release o=Debian,a=stable,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.u-strasbg.fr etch/main Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=main
     origin ftp.u-strasbg.fr
Paquets étiquetés :
`

j’ai ceci en apt-cache policy

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:14 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/282 "2016-02-20T16:14:46Z")

</div>

tu as lu le lien ?

---

<div class="post-metadata">

**Author:** ![ludo255](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/l/dc4da7/32.png) [@ludo255](https://www.debian-fr.org/u/ludo255)\
**Post date:** [Février 20, 2016, 4:14 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/283 "2016-02-20T16:14:46Z")

</div>

`Fichiers du paquet :
 100 /var/lib/dpkg/status
     release a=now
 991 http://www.debian-multimedia.org sid/main Packages
     release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages,c=main
     origin www.debian-multimedia.org
 990 http://ftp.fr.debian.org sid/non-free Packages
     release o=Debian,a=unstable,l=Debian,c=non-free
     origin ftp.fr.debian.org
 990 http://ftp.fr.debian.org sid/contrib Packages
     release o=Debian,a=unstable,l=Debian,c=contrib
     origin ftp.fr.debian.org
 990 http://ftp.fr.debian.org sid/main Packages
     release o=Debian,a=unstable,l=Debian,c=main
     origin ftp.fr.debian.org
 996 http://www.debian-multimedia.org etch/main Packages
     release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages,c=main
     origin www.debian-multimedia.org
 995 http://ftp.fr.debian.org etch/non-free Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=non-free
     origin ftp.fr.debian.org
 995 http://ftp.fr.debian.org etch/contrib Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=contrib
     origin ftp.fr.debian.org
 995 http://ftp.fr.debian.org etch/main Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=main
     origin ftp.fr.debian.org
 997 http://security.debian.org etch/updates/non-free Packages
     release o=Debian,a=stable,l=Debian-Security,c=non-free
     origin security.debian.org
 997 http://security.debian.org etch/updates/contrib Packages
     release o=Debian,a=stable,l=Debian-Security,c=contrib
     origin security.debian.org
 997 http://security.debian.org etch/updates/main Packages
     release o=Debian,a=stable,l=Debian-Security,c=main
     origin security.debian.org
 995 http://ftp.u-strasbg.fr etch/main Packages
     release v=4.0r0,o=Debian,a=stable,l=Debian,c=main
     origin ftp.u-strasbg.fr
Paquets étiquetés :
`

Voia c’est rectifié, me doutais bien j’avais encore oublié de faire un truc huhu

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:14 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/284 "2016-02-20T16:14:47Z")

</div>

prends carrément le sources.list du fil, dans le tien, il n’y a pas de lenny, ce qui n’a pas de sens si tu mets du sid.  
Sinon, tu dois être revenu dans un nombre de màj correct, non ?

---

<div class="post-metadata">

**Author:** ![ludo255](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/l/dc4da7/32.png) [@ludo255](https://www.debian-fr.org/u/ludo255)\
**Post date:** [Février 20, 2016, 4:14 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/285 "2016-02-20T16:14:47Z")

</div>

oui effectivement.Desolé de ne pas avoir verifié ça avant.

Merci beaucoup.

---

<div class="post-metadata">

**Author:** ![cmarx](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cmarx](https://www.debian-fr.org/u/cmarx)\
**Post date:** [Février 20, 2016, 4:15 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/286 "2016-02-20T16:15:34Z")

</div>

Bonjour à tous,

venant de réinstaller une Etch toute neuve, et étant tombé sur le sources.list fourni ici, je l’ai pris ainsi que le fichier preferences pour avoir la priorité sur etch/stable.  
Maintenant, le truc c’est que je veux pouvoir installer des paquets de testing ou unstable, comme par exemple digikam.

J’ai tapé

```auto
# aptitude install -t testing digikam
```

J’ai fait de même en remplaçant testing par lenny, unstable ou sid, mais rien n’y fait !!! il m’installe à chaque fois la version de stable.

Que faire ?

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:15 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/287 "2016-02-20T16:15:36Z")

</div>

avec apt-cache policy digikam, tu regardes les numeros de version dont tu disposes, et tu précises:

```auto

```

---

<div class="post-metadata">

**Author:** ![cmarx](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@cmarx](https://www.debian-fr.org/u/cmarx)\
**Post date:** [Février 20, 2016, 4:15 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/288 "2016-02-20T16:15:37Z")

</div>

ah bon…  
mais c’est bizarre ça, non ?  
j’ai toujours fait -t testing et maintenant ça ne marche plus.  
c’est dû à ce fameux fichier preferences ?

bon, en tout cas, j’essaye ça dès que je peux, merci

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/289 "2016-02-20T16:19:34Z")

</div>

une petite question :

Ma distrib mère est une lenny, cependant je veux certains paquets (par exemple skype) de la sid , je dois donc dans mon sources.list avoir les dépots des deux branches et avoir un fichiers préférences du type :

Package: \*  
Pin: release a=testing  
Pin-Priority: 990

Package: skype  
Pin: release a=unstable  
Pin-Priority: 990

Je ne sais pas trop quoi mettre en Pin-Priority, puis-je avoir un éclaircissement ?

EDIT : désolé je sais que ce fil est une discussion et est dans pose café , mais je suis sure que ça peut intéresser des gens

---

<div class="post-metadata">

**Author:** ![Ludo](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ludo/32/3426_2.png) [@Ludo](https://www.debian-fr.org/u/Ludo)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/290 "2016-02-20T16:19:41Z")

</div>

Plus le nombre “Pin-priority” est bas moins la priorité est importantes, donc si un paquet plus recent est trouvé il sera installé à la place.

1 me semble etre la priorité la moins importante de toutes? (mais je sais pas si on peut mettre 1 ^^ (100 plutot)

Mais mattotop va surment t’en dire plus, perso je ne suis pas un “pro” en la matière.

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/291 "2016-02-20T16:19:41Z")

</div>

Tu mets juste une priorité pour le paquet skype superieure à celle que tu as pour tes dépots lenny, et une priorité inferieure pour les paquets sid.  
Ensuite, tu fais un apt-cache policy simple pour voir si ce que tu obtiens sur l’ordre de sid et de lenny est bien ce que tu voulais, puis un apt-cache policy skype pour voir si sur skype, la priorité s’applique bien aussi.

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/292 "2016-02-20T16:19:44Z")

</div>

ok , maintenant, j’aimerai garder un paquet en stable , voici moi preferences :

[code]  
Package: \*  
Pin: release a=testing  
Pin-Priority: 600

Package: dhcp3-client  
Pin : release a=stable  
Pin-Priority : 700[/code]

cependant : apt-cache policy dhcp3-client me donne :

`dhcp3-client:
  Installed: 3.0.6-1
  Candidate: 3.0.6-1
  Version table:
 *** 3.0.6-1 0
        600 http://ftp.fr.debian.org testing/main Packages
        600 ftp://ftp.fr.debian.org lenny/main Packages
        100 /var/lib/dpkg/status
     3.0.4-13 0
        500 http://ftp.fr.debian.org stable/main Packages`

Je n’arrive pas donc a downgrader avec la version des dépots stables

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/293 "2016-02-20T16:19:44Z")

</div>

mets la section dhcp3-client de tes prefs avant celles pour testing.  
Et si tu veux downgrader, il faut que tu mettes temporairement une prio \>1000 à dhcp3-client .

Au fait, tu as bien vérifié que sid n’avait pas pris le pas sur lenny ?  
Parcequ’il vaut mieux tout spécifier et ne rien avoir en 500, c’est plus sûr.

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/294 "2016-02-20T16:19:44Z")

</div>

ok .

alors mon preferences :

```auto
Package: dhcp3-client
Pin : release a=stable
Pin-Priority : 1100

Package: *
Pin: release a=testing
Pin-Priority: 600[/code]

mais il semblerait que ça ne change pas ...
[code]verveine:/etc/apt# apt-cache policy dhcp3-client
dhcp3-client:
  Installed: 3.0.6-1
  Candidate: 3.0.6-1
  Version table:
 *** 3.0.6-1 0
        600 http://ftp.fr.debian.org testing/main Packages
        600 ftp://ftp.fr.debian.org lenny/main Packages
        100 /var/lib/dpkg/status
     3.0.4-13 0
        500 http://ftp.fr.debian.org stable/main Packages
```

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/295 "2016-02-20T16:19:45Z")

</div>

enlèves les espaces avant les :

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/296 "2016-02-20T16:19:45Z")

</div>

Merci , désolé j’avais meme pas vérifier, je suis un boulet lol

En tout cas, MAtt, you’re the God of debian 😉

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/297 "2016-02-20T16:19:45Z")

</div>

A oui , et tu fais comment pour downgrader ? et la je serai comblé lol

En effet , up apt-get upgrade ou dist-upgrade ne marche pas et renvoie :

`0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
`

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/298 "2016-02-20T16:19:45Z")

</div>

et apt-get install dhcp3-client ?

---

<div class="post-metadata">

**Author:** ![themorice](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/t/c89c15/32.png) [@themorice](https://www.debian-fr.org/u/themorice)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/299 "2016-02-20T16:19:45Z")

</div>

Arg ! ça me fait un probleme de dépendances :

```auto
The following packages have unmet dependencies:
  dhcp3-client: Depends: dhcp3-common (= 3.0.4-13) but 3.0.6-1 is to be installed
E: Broken packages
```

---

<div class="post-metadata">

**Author:** ![yoshi](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/y/aeb1de/32.png) [@yoshi](https://www.debian-fr.org/u/yoshi)\
**Post date:** [Février 20, 2016, 4:19 UTC](https://www.debian-fr.org/t/discussion-votre-sources-list/2098/300 "2016-02-20T16:19:46Z")

</div>

De tete je dirais `apt-get install dhcp3-client`

[Page précédente](https://www.debian-fr.org/t/discussion-votre-sources-list/2098.md?page=14)

[Page suivante](https://www.debian-fr.org/t/discussion-votre-sources-list/2098.md?page=16)
