ci: upgrade debian:stretch to debian:buster

Instead of Debian 9, use Debian 10 in build_debian_package.

It currently fails to update the package index[1]:

    $ apt-get update -qq
    W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
    W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
    W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
    E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found [IP: 146.75.38.132 80]
    E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found [IP: 146.75.38.132 80]
    E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.130.132 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.

Also, note that LTS support for Debian 9 ended on 2022-06-30, while
Debian 10 has LTS support until 2024-06-30[2].

Relates to #5818.

[1] https://gitlab.com/Firejail/firejail_ci/-/jobs/4195782936
[2] https://wiki.debian.org/LTS
This commit is contained in:
Kelvin M. Klann 2023-04-25 12:37:44 -03:00
parent 264deebaa3
commit 7b8ce3acf4
2 changed files with 2 additions and 1 deletions

View file

@ -22,7 +22,7 @@ build_ubuntu_package:
# - python3 contrib/sort.py etc/profile-*/*.profile etc/inc/*.inc
build_debian_package:
image: debian:stretch
image: debian:buster
script:
- apt-get update -qq
- >

View file

@ -27,6 +27,7 @@ firejail (0.9.73) baseline; urgency=low
* ci: fix swapped name/email arguments in debian_ci (#5795)
* ci: formatting and misc improvements (#5802)
* ci: run for every branch instead of just master (#5815)
* ci: upgrade debian:stretch to debian:buster (#5818)
* test: split individual test groups in github workflows
* test: add chroot, appimage and network tests in github workflows
* docs: remove apparmor options in --help when building without apparmor