<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Latest snippets tagged apt</title>
  <link rel="alternate" href="http://snippets.prendreuncafe.com/snippets/tagged/apt/order_by/date"></link>
  <id>http://snippets.prendreuncafe.com/snippets/tagged/apt/order_by/date</id>
  <updated>2007-01-24T15:23:56Z</updated>
  <author>
    <name>Symfony</name>
    <author_email>noreply@symfony-project.com</author_email>
  </author>
<entry>
  <title>Exclure un paquet d'un dist-upgrade</title>
  <link href="http://snippets.prendreuncafe.com/snippet/47"></link>
  <updated>2007-01-24T15:23:56Z</updated>
  <id>47</id>
  <summary type="html">Wajig permet de bloquer un paquet via sa sous-commande hold :

[code]
$ sudo apt-get install wajig
$ sudo wajig hold &lt;package_name&gt;
$ sudo apt-get update
$ sudo apt-get dist-upgrade
[/code]

Ici le paquet &lt;package_name&gt; ne sera pas mis à jour.

Avec aptitude, vous pouvez conserver un paquet en faisant :

[code]
$ aptitude hold package_name
[/code]

et enlever le drapeau « hold » avec

[code]
$ aptitude unhold package_name
[/code]
</summary>
</entry>
<entry>
  <title>[Edgy] Sources.list bien cool</title>
  <link href="http://snippets.prendreuncafe.com/snippet/34"></link>
  <updated>2007-01-03T20:19:43Z</updated>
  <id>34</id>
  <summary type="html">De quoi subvenir à la plupart des besoins.

[code]
# Ubuntu officials
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu edgy-security main restricted multiverse universe

# Ubuntu commercials
deb http://archive.canonical.com/ubuntu edgy-commercial main

# Beryl
deb http://ubuntu.beryl-project.org edgy main

# Asher
deb http://asher256-repository.tuxfamily.org edgy main dupdate french
deb http://asher256-repository.tuxfamily.org ubuntu main dupdate french

# Medibuntu
deb http://medibuntu.sos-sts.com/repo/ edgy free
deb http://medibuntu.sos-sts.com/repo/ edgy non-free

# Wine
deb http://wine.budgetdedicated.com/apt edgy main

# Geany
deb http://gauvain.tuxfamily.org/repos edgy contrib
[/code]</summary>
</entry>
<entry>
  <title>Downgrader un package sous Ubuntu</title>
  <link href="http://snippets.prendreuncafe.com/snippet/28"></link>
  <updated>2006-12-21T18:28:07Z</updated>
  <id>28</id>
  <summary type="html">On peut forcer la version d'un paquet à installer :

[code]
$ sudo aptitude install nomdupaquet=1.2.3-version2
[/code]</summary>
</entry>
</feed>