2023-02-15 10:32:48 +01:00
---
2023-02-15 12:15:51 +01:00
categories: web debian upgrade
2023-02-15 10:32:48 +01:00
title: Howto sources.list
...
Nous conseillons d’ utiliser les `sources.list` suivants en fonction des
versions majeures de Debian.
2023-02-15 12:15:51 +01:00
Assurez vous d’ avoir les [clefs PGP ](#clefs-pgp ) associées aux dépôts
externes ([Evolix](#clef-pgp-pour-evolix),
[Freexian ](#clef-pgp-pour-freexian ), etc.)
2023-02-15 10:32:48 +01:00
2023-03-02 18:15:17 +01:00
## Bookworm
2023-03-02 18:17:08 +01:00
**TODO: revérifier à la sortie de Bookworm**
2023-03-02 18:15:17 +01:00
~~~
# cat /etc/apt/sources.list
# Empty file, we moved to deb822 format
# https://manpages.debian.org/bullseye/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT
2023-03-17 19:58:51 +01:00
# cat /etc/apt/sources.list.d/system.sources
2023-03-02 18:15:17 +01:00
Types: deb
2023-03-17 19:58:51 +01:00
URIs: https://mirror.evolix.org/debian/
2023-03-02 18:15:17 +01:00
Suites: bookworm bookworm-updates
Components: main
2023-03-17 19:58:51 +01:00
# cat /etc/apt/sources.list.d/security.sources
2023-03-02 18:15:17 +01:00
Types: deb
2023-03-17 19:58:51 +01:00
URIs: https://security.debian.org/debian-security
2023-03-02 18:15:17 +01:00
Suites: bookworm-security
Components: main
# cat /etc/apt/sources.list.d/evolix_public.sources
Types: deb
2023-03-17 19:58:51 +01:00
URIs: https://pub.evolix.org/evolix
2023-03-02 18:25:57 +01:00
Suites: bookworm
Components: main
Signed-by: /etc/apt/keyrings/pub_evolix.asc
2023-03-02 18:15:17 +01:00
~~~
2023-02-15 10:32:48 +01:00
## Bullseye
~~~
# cat /etc/apt/sources.list
deb http://mirror.evolix.org/debian bullseye main
2023-02-22 08:04:49 +01:00
deb http://mirror.evolix.org/debian bullseye-updates main
2023-02-15 10:32:48 +01:00
deb http://security.debian.org/debian-security bullseye-security main
# cat /etc/apt/sources.list.d/evolix_public.list
2023-03-30 12:08:38 +02:00
deb http://pub.evolix.org/evolix bullseye main
2023-02-15 10:32:48 +01:00
~~~
2023-02-22 07:30:26 +01:00
## Buster
~~~
# cat /etc/apt/sources.list
deb http://mirror.evolix.org/debian buster main
2023-02-22 08:04:49 +01:00
deb http://mirror.evolix.org/debian buster-updates main
2023-02-22 07:30:26 +01:00
deb http://security.debian.org/debian-security buster/updates main
# cat /etc/apt/sources.list.d/evolix_public.list
2023-03-13 16:09:58 +01:00
deb http://pub.evolix.org/evolix buster main
2023-02-22 07:30:26 +01:00
~~~
2023-02-15 12:15:51 +01:00
## Stretch
~~~
# cat /etc/apt/sources.list
deb http://mirror.evolix.org/debian stretch main
2023-02-22 08:04:49 +01:00
deb http://mirror.evolix.org/debian stretch-updates main
deb http://archive.debian.org/debian-security stretch/updates main
2023-02-27 18:15:24 +01:00
deb http://elts.evolix.org/extended-lts stretch-lts main
2023-02-15 12:15:51 +01:00
# cat /etc/apt/sources.list.d/evolix_public.list
2023-02-27 18:15:24 +01:00
deb http://pub.evolix.org/evolix stretch main
2023-02-15 12:15:51 +01:00
~~~
2023-02-22 07:30:26 +01:00
## Jessie
2023-02-15 12:15:51 +01:00
2023-02-22 08:04:49 +01:00
*Remarque* : les deux premiers dépôts ont été commentés car la clef PGP utilisée pour signer ces dépôt est maintenant expirée. Les paquets fournis par ces dépôts le sont aussi
2023-02-27 16:06:54 +01:00
par la suite `jessie` du (miroir du) dépôt de Freexian.
2023-02-22 08:04:49 +01:00
2023-02-21 16:59:14 +01:00
~~~
2023-02-22 07:30:26 +01:00
# cat /etc/apt/sources.list
2023-03-13 16:09:58 +01:00
# deb http://archive.debian.org/debian jessie main
2023-02-22 08:04:49 +01:00
# deb http://archive.debian.org/debian-security jessie/updates main
2023-02-27 16:06:54 +01:00
deb http://elts.evolix.org/extended-lts jessie main
deb http://elts.evolix.org/extended-lts jessie-lts main
2023-02-22 07:30:26 +01:00
# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.net/ jessie/
~~~
## Wheezy
~~~
# cat /etc/apt/sources.list
2023-02-22 08:04:49 +01:00
deb http://archive.debian.org/debian wheezy main
deb http://archive.debian.org/debian-security wheezy/updates main
2023-02-22 07:30:26 +01:00
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/
2023-02-22 07:34:02 +01:00
~~~
2023-02-22 07:30:26 +01:00
## Squeeze
~~~
# cat /etc/apt/sources.list
2023-02-22 08:04:49 +01:00
deb http://archive.debian.org/debian sqeeze main
deb http://archive.debian.org/debian-security squeeze/updates main
2023-02-22 07:30:26 +01:00
deb http://deb.freexian.com/extended-lts squeeze-lts main
# cat /etc/apt/sources.list.d/evolix_public.list
deb http://pub.evolix.net/ squeeze/
2023-02-21 16:59:14 +01:00
~~~
2023-02-15 12:15:51 +01:00
## Clefs PGP
### Clef PGP pour Evolix
2023-02-27 18:37:30 +01:00
#### 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
2023-02-15 12:15:51 +01:00
~~~
# cd /etc/apt/trusted.gpg.d
# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0c016d3bd1195d30105837cc44975278b8612b5d' -O reg.asc
# chmod 644 reg.asc
2023-02-21 16:59:14 +01:00
~~~
2023-02-15 12:15:51 +01:00
### Clef PGP pour Freexian
2023-02-21 16:59:14 +01:00
~~~
2023-02-15 12:15:51 +01:00
# wget https://deb.freexian.com/extended-lts/archive-key.gpg -O /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg
2023-02-27 18:37:30 +01:00
# chmod 644 /etc/apt/trusted.gpg.d/freexian-archive-extended-lts.gpg
2023-02-21 16:59:14 +01:00
~~~
2023-02-15 12:15:51 +01:00