---
categories: web debian upgrade
title: Howto sources.list
...

* Statut de cette page : prod

Nous utilisons les `sources.list` suivants en fonction des versions majeures de Debian.
Assurez vous d’avoir les [clés PGP](#clés-pgp) associées aux dépôts externes ([Evolix](#clé-pgp-pour-evolix),
[Freexian](#clé-pgp-pour-freexian), etc.)

## Bookworm (12)

~~~
# cat /etc/apt/sources.list
# Empty file, we moved to deb822 format
# https://manpages.debian.org/bookworm/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT

# cat /etc/apt/sources.list.d/system.sources
Types: deb
URIs: https://mirror.evolix.org/debian/
Suites: bookworm bookworm-updates
Components: main

# cat /etc/apt/sources.list.d/security.sources
Types: deb
URIs: https://security.debian.org/debian-security
Suites: bookworm-security
Components: main

# cat /etc/apt/sources.list.d/evolix_public.sources
Types: deb
URIs: https://pub.evolix.org/evolix
Suites: bookworm
Components: main
Signed-by: /etc/apt/keyrings/pub_evolix.asc
~~~

## Bullseye (11)

~~~
# cat /etc/apt/sources.list
deb http://mirror.evolix.org/debian bullseye main
deb http://mirror.evolix.org/debian bullseye-updates main
deb http://security.debian.org/debian-security bullseye-security main

# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.org/evolix bullseye main
~~~

## Buster (10)

~~~
# cat /etc/apt/sources.list
deb http://mirror.evolix.org/debian buster main
deb http://mirror.evolix.org/debian buster-updates main
deb http://security.debian.org/debian-security buster/updates main

# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.org/evolix buster main
~~~

## Stretch (9)

~~~
# cat /etc/apt/sources.list
deb http://archive.debian.org/debian stretch main
deb http://archive.debian.org/debian-security stretch/updates main
deb http://elts.evolix.org/extended-lts stretch-lts main

# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.org/evolix stretch main
~~~

## Jessie (8)

*Remarque* : les deux premiers dépôts ont été commentés car la clé PGP utilisée pour signer ces dépôt est maintenant expirée,
mais les paquets fournis par ces dépôts sont également fournis par notre miroir du dépôt de Freexian.

~~~
# cat /etc/apt/sources.list
# deb http://archive.debian.org/debian jessie main
# deb http://archive.debian.org/debian-security jessie/updates main
deb http://elts.evolix.org/extended-lts jessie main
deb http://elts.evolix.org/extended-lts jessie-lts main

# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.net/ jessie/
~~~

## Wheezy (7)

*Remarque* : les clés PGP de ces dépôts sont expirées, vous aurez donc un warning du type `Do you want to ignore this warning and proceed anyway?` en installant des paquets.

~~~
# cat /etc/apt/sources.list
deb http://archive.debian.org/debian wheezy main
deb http://archive.debian.org/debian-security wheezy/updates main
deb http://deb.freexian.com/extended-lts wheezy-lts main

# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.net/ wheezy/
~~~

## Squeeze (6)

*Remarque* : les clés PGP de ces dépôts sont expirées, vous aurez donc un warning du type `Do you want to ignore this warning and proceed anyway?` en installant des paquets.

~~~
# cat /etc/apt/sources.list
deb http://archive.debian.org/debian sqeeze main
deb http://archive.debian.org/debian-security squeeze/updates main
deb http://deb.freexian.com/extended-lts squeeze-lts main

deb http://pub.evolix.net/ squeeze/
deb http://pub.evolix.net/ kernel/
~~~

## Clés PGP

### Clé PGP pour Evolix

#### pub.evolix.org

~~~
# wget https://pub.evolix.org/evolix/pub.asc -O /etc/apt/trusted.gpg.d/pub_evolix.asc
# chmod 644 /etc/apt/trusted.gpg.d/pub_evolix.asc
~~~

#### pub.evolix.net

~~~
# cd /etc/apt/trusted.gpg.d
# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0c016d3bd1195d30105837cc44975278b8612b5d' -O reg.asc
# chmod 644 reg.asc
~~~

### Clé PGP pour Freexian

~~~
# wget https://deb.freexian.com/extended-lts/archive-key.gpg -O /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg
# chmod 644 /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg
~~~

