Skip to content

Support mirror from upstream with missing packages #1530

Open

Description

@fukawi2

The public Jenkins repository is missing packages - apparently this may be a known issue with how they operate their repository - but it means we cannot properly mirror/snapshot/publish the repository.

Could aptly handle this situation (possibly with a flag like -permit-missing-packages) by just publishing what packages are available?


Reproduction Steps

Create Mirror

As per the repo details at https://www.jenkins.io/blog/2025/12/23/repository-signing-keys-changing/

$ aptly mirror create jenkins https://pkg.jenkins.io/debian-stable binary/
Downloading https://pkg.jenkins.io/debian-stable/binary/InRelease...
Error downloading https://pkg.jenkins.io/debian-stable/binary/InRelease: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/binary/InRelease retrying...
Retrying 0 https://pkg.jenkins.io/debian-stable/binary/InRelease...
Giving up on https://pkg.jenkins.io/debian-stable/binary/InRelease...
Downloading https://pkg.jenkins.io/debian-stable/binary/Release...
Success downloading https://pkg.jenkins.io/debian-stable/binary/Release
Downloading https://pkg.jenkins.io/debian-stable/binary/Release.gpg...
Success downloading https://pkg.jenkins.io/debian-stable/binary/Release.gpg
gpgv: Signature made Wed Jan 21 09:34:06 2026 UTC
gpgv:                using RSA key 5E386EADB55F01504CAE8BCF7198F4B714ABFC68
gpgv: Good signature from "Jenkins Project <jenkinsci-board@googlegroups.com>"

Mirror [jenkins]: https://pkg.jenkins.io/debian-stable/ ./binary/ successfully added.
You can run 'aptly mirror update jenkins' to download repository contents.

Update Mirror

Receives 404s on multiple files - missing from upstream repository. Output shows subsequent update attempt in the interest of minimizing extra log lines in this GH issue:

$ aptly mirror update jenkins
Downloading https://pkg.jenkins.io/debian-stable/binary/InRelease...
Error downloading https://pkg.jenkins.io/debian-stable/binary/InRelease: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/binary/InRelease retrying...
Retrying 0 https://pkg.jenkins.io/debian-stable/binary/InRelease...
Giving up on https://pkg.jenkins.io/debian-stable/binary/InRelease...
Downloading https://pkg.jenkins.io/debian-stable/binary/Release...
Success downloading https://pkg.jenkins.io/debian-stable/binary/Release
Downloading https://pkg.jenkins.io/debian-stable/binary/Release.gpg...
Success downloading https://pkg.jenkins.io/debian-stable/binary/Release.gpg
gpgv: Signature made Wed Jan 21 09:34:06 2026 UTC
gpgv:                using RSA key 5E386EADB55F01504CAE8BCF7198F4B714ABFC68
gpgv: Good signature from "Jenkins Project <jenkinsci-board@googlegroups.com>"
Downloading & parsing package files...
Downloading https://pkg.jenkins.io/debian-stable/binary/Packages.bz2...
Success downloading https://pkg.jenkins.io/debian-stable/binary/Packages.bz2
Building download queue...
Download queue: 51 items (2.75 GiB)
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.565.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.554.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.6_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.5_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.4_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.4_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.2_all.deb...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.580.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.580.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.642.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.642.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.625.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.424.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.651.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.565.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.565.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.554.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.554.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.32.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.6_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.424.6_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.625.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.4_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2
.7.4_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.447.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.409.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.19.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.596.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.424.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2
.7.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.480.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.609.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.532.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.409.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.609.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.466.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.60.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.596.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.609.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2
.7.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.4_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.642.4_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.509.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.5_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.424.5_all.deb retrying...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.565.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.565.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.554.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.554.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.4_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.4_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.3_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.4_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.1_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.6_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.6_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.4_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.4_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.4_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.4_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.2_all.deb...
Downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.5_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.5_all.deb...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.596.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.509.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.32.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.46.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.651.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.642.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.46.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.447.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.4_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.509.4_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.32.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.532.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.580.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.480.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.3_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.532.3_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.480.2_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.4_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.424.4_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.1_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins
_1.466.1_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.4_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.19.4_all.deb retrying...
Error downloading https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.2_all.deb: HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_
2.19.2_all.deb retrying...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.4_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.4_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.2_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.3_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.3_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.4_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.4_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.1_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.1_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.4_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.4_all.deb...
Retrying 0 https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.2_all.deb...
Giving up on https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.2_all.deb...
ERROR: unable to update: download errors:
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.565.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.554.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.4_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.6_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.625.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.409.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.609.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.7.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.4_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.5_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.447.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.596.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.642.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.651.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.46.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.580.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.509.4_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.32.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.2_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.480.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.532.3_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.424.4_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_1.466.1_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.4_all.deb
  HTTP code 404 while fetching https://pkg.jenkins.io/debian-stable/direct/jenkins_2.19.2_all.deb

Mirror is still in state "Last update: never", so we cannot snapshot or publish the repository:

$ aptly mirror show jenkins
Name: jenkins
Archive Root URL: https://pkg.jenkins.io/debian-stable/
Distribution: ./binary/
Components:
Architectures:
Download Sources: no
Download .udebs: no
Last update: never

Information from release file:
Architectures: all
Date: Wed, 21 Jan 2026 09:34:06 +0000
Origin: jenkins.io
Suite: binary

Activity

  1. andiarbeit0815 commented on Feb 5, 2026

    @andiarbeit0815

    +1, looks like we have to go back to apt-mirror

  2. devopstt commented on Feb 5, 2026

    @devopstt

    I had the same issue with mirroring jenkins.
    I applied a filter to the mirror so every package is available.

    -filter "$Version (>=2.300.0)"

    create a new mirror or just edit the existing one with the filter.

  3. r4co0n commented on Jul 10, 2026

    @r4co0n

    This looks like Jenkins upstream is publishing broken DEB mirrors. A workaround was found, the underlying issue is:

    The release file at https://pkg.jenkins.io/debian-stable/binary/Release references the Packages file at https://pkg.jenkins.io/debian-stable/binary/Packages , which contains packages which are apparently no longer available on https://pkg.jenkins.io/debian-stable/ .

    For example, Packages, fetched 2026-07-10 13:50 UTC , SHA-256 5753d1db8803dd0356ed82a7bd039c386d787eda574186689631bd6d7c3d3b22, contains the following missing package https://pkg.jenkins.io/debian-stable/direct/jenkins_2.60.1_all.deb :

    Package: jenkins
    Priority: extra
    Section: devel
    Installed-Size: 68996
    Maintainer: Kohsuke Kawaguchi <kk@kohsuke.org>
    Architecture: all
    Version: 2.60.1
    Replaces: hudson
    Depends: daemon, adduser, procps, psmisc, net-tools, default-jre-headless (>= 2:1.7) | java7-runtime-headless
    Conflicts: hudson
    Filename: direct/jenkins_2.60.1_all.deb
    Size: 70252322
    MD5sum: 430887e471b6d7246ecad9a5e0135789
    SHA1: aead068cab48a120db5aa02e78a12247b8aa7e6f
    SHA256: 72932962a5e17e69d7fa240abe11817740b77817672736f8f292fd4dc433d831
    SHA512: c45a1487dec88b2fed0af03672e076cdec4e34a36b7f4310610db58a8624a00f2d99ac8b57a1ccf8a720e02140a007b19dcdec5a120c834a4818152e0403ad86
    Description: Jenkins is an open source automation server which enables developers around the world to reliably automate  their development lifecycle processes of all kinds, including build, document, test, package, stage, deployment, static analysis and many more.
     .
     Jenkins is being widely used in areas of Continuos Integration, Continuous Delivery, DevOps, and other areas. And it is not only about software, the same automation techniques can be applied in other areas like Hardware Engineering, Embedded Systems, BioTech, etc.
     .
     For information see https://jenkins.io
    Homepage: http://jenkins.io/
    

    Interestingly, this file is downloadable from https://pkg.jenkins.io/debian-stable/binary/jenkins_2.60.1_all.deb , s#/direct#/binary#, and the SHA256SUM matches to the entry shared above. To me, this looks like a misconfigured upstream repository, we cannot mirror files that are 404 Not Found.

    I might misunderstand something about the direct/ and binary/ folders, but only entries starting their Filename value with direct/ seem to fail. (It might be all entries, I did not check.)

  4. Rascalov commented on Sep 21, 2026

    @Rascalov
    Contributor

    We have a similar use case with the now EOL Debian bullseye.
    Upstream seems to have (re)moved some pool files from bullseye-security without updating the packages file

    ERROR: unable to update: download errors:
      HTTP code 404 while fetching http://deb.debian.org/debian-security/pool/updates/main/l/linux/linux-source-5.10_5.10.257-1_all.deb
      HTTP code 404 while fetching http://deb.debian.org/debian-security/pool/updates/main/r/rustc-web/rust-web-lldb_1.85.0+dfsg3-1~deb11u1_all.deb
      HTTP code 404 while fetching http://deb.debian.org/debian-security/pool/updates/main/l/linux/linux-source_5.10.257-1_all.deb
      HTTP code 404 while fetching http://deb.debian.org/debian-security/pool/updates/main/c/clamav/clamav-docs_1.0.9+dfsg-1~deb11u1_all.deb
      HTTP code 404 while fetching http://deb.debian.org/debian-security/pool/updates/main/l/linux/linux-source_5.10.259-1_all.deb
       ... omitted the rest
    

    So we can't create/update the mirror anymore. Of course the real solution is to move away from bullseye or get freexian LTS. But would be nice to keep the mirror and ensure that it's up to date with whatever is left upstream (last update we did was a month and a half ago, when it was still technically supported 😁) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions