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
...
2023-07-28 23:05:08 +02:00
* Statut de cette page : prod
2023-02-15 10:32:48 +01:00
2023-07-28 23:05:08 +02:00
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),
2023-09-27 10:12:36 +02:00
[eLTS ](#clé-pgp-pour-elts ), etc.)
2023-07-28 23:05:08 +02:00
2023-08-23 11:07:53 +02:00
## Bookworm (12)
2023-03-02 18:15:17 +01:00
~~~
# cat /etc/apt/sources.list
# Empty file, we moved to deb822 format
2023-06-20 09:24:04 +02:00
# https://manpages.debian.org/bookworm/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT
2023-03-02 18:15:17 +01:00
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-10-12 16:38:15 +02:00
URIs: http://mirror.evolix.org/debian
2023-03-02 18:15:17 +01:00
Suites: bookworm bookworm-updates
Components: main
2023-09-28 16:40:24 +02:00
Signed-by: /usr/share/keyrings/debian-archive-bookworm-automatic.gpg
2023-03-02 18:15:17 +01:00
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-10-12 16:38:15 +02:00
URIs: http://security.debian.org/debian-security
2023-03-02 18:15:17 +01:00
Suites: bookworm-security
Components: main
2023-09-28 16:40:24 +02:00
Signed-by: /usr/share/keyrings/debian-archive-bookworm-security-automatic.gpg
2023-03-02 18:15:17 +01:00
# cat /etc/apt/sources.list.d/evolix_public.sources
Types: deb
2023-10-12 16:38:15 +02:00
URIs: http://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-08-23 11:07:53 +02:00
## Bullseye (11)
2023-02-15 10:32:48 +01:00
~~~
# 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-08-23 11:07:53 +02:00
## Buster (10)
2023-02-22 07:30:26 +01:00
~~~
# cat /etc/apt/sources.list
2024-04-05 14:21:51 +02:00
deb http://archive.debian.org/debian buster 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-08-23 11:07:53 +02:00
## Stretch (9)
2023-02-15 12:15:51 +01:00
~~~
# cat /etc/apt/sources.list
2023-04-20 15:23:04 +02:00
deb http://archive.debian.org/debian stretch main
2023-02-22 08:04:49 +01:00
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-08-23 11:07:53 +02:00
## Jessie (8)
2023-02-15 12:15:51 +01:00
2023-07-28 23:05:08 +02:00
*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,
2023-09-27 10:12:36 +02:00
mais les paquets fournis par ces dépôts sont également fournis par notre miroir du dépôt eLTS.
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/
~~~
2023-08-23 11:07:53 +02:00
## Wheezy (7)
2023-02-22 07:30:26 +01:00
2023-07-28 23:05:08 +02:00
*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.
2023-02-22 07:30:26 +01:00
~~~
# 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
2023-08-23 11:07:53 +02:00
## Squeeze (6)
2023-02-22 07:30:26 +01:00
2023-07-28 23:05:08 +02:00
*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.
2023-02-22 07:30:26 +01:00
~~~
# cat /etc/apt/sources.list
2024-04-05 12:08:41 +02:00
deb http://archive.debian.org/debian squeeze main
2023-02-22 08:04:49 +01:00
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
deb http://pub.evolix.net/ squeeze/
2023-07-28 23:05:08 +02:00
deb http://pub.evolix.net/ kernel/
2023-02-21 16:59:14 +01:00
~~~
2023-02-15 12:15:51 +01:00
2023-07-28 23:05:08 +02:00
## Clés PGP
2023-02-15 12:15:51 +01:00
2023-07-28 23:05:08 +02:00
### Clé PGP pour Evolix
2023-02-15 12:15:51 +01:00
2023-02-27 18:37:30 +01:00
#### pub.evolix.org
~~~
2023-10-12 16:38:15 +02:00
wget https://pub.evolix.org/evolix/pub.asc -O /etc/apt/keyrings/pub_evolix.asc
chmod 644 /etc/apt/keyrings/pub_evolix.asc
# # Avant Bookworm, on utilisait « simplement » /etc/apt/trusted.gpg.d
2023-02-27 18:37:30 +01:00
# 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
2023-09-27 10:12:36 +02:00
### Clé PGP pour eLTS
2023-02-15 12:15:51 +01:00
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