Skip to content

ci: cannot update the package index in debian:stretch #5818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kmk3 opened this issue May 5, 2023 · 1 comment
Closed

ci: cannot update the package index in debian:stretch #5818

kmk3 opened this issue May 5, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@kmk3
Copy link
Collaborator

kmk3 commented May 5, 2023

Log from build_debian_package:
https://gitlab.com/Firejail/firejail_ci/-/jobs/4195782936:

Executing "step_script" stage of the job script
Using docker image sha256:662c05203bab4c59568d24689fa5c3955439360a35c483178598d226b9a5ad10 for debian:stretch with digest debian@sha256:c5c5200ff1e9c73ffbf188b4a67eb1c91531b644856b4aefe86a58d2f0cb05be ...
$ 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.

Updating the image from debian:stretch (Debian 9) to debian:buster (Debian
10) works, though it could be useful to keep the same older image to check that
firejail can still be built with the same older toolchains.

kmk3 added a commit that referenced this issue May 6, 2023
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
@kmk3
Copy link
Collaborator Author

kmk3 commented May 6, 2023

Upgraded to debian:buster to fix GitLab CI.

build_debian_package works now:

If anyone knows a way to make debian:stretch work, maybe it could be added back
as a separate job; closing this for now.

@kmk3 kmk3 closed this as completed May 6, 2023
@kmk3 kmk3 moved this to To do in Release 0.9.74 Sep 28, 2024
@kmk3 kmk3 added the bug Something isn't working label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done (on RELNOTES)
Development

No branches or pull requests

1 participant