View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0009916 | Kali Linux | Kali Package Bug | public | 2026-10-26 22:28 | 2026-10-26 22:46 |
| Reporter | mikie | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0009916: Installer ISO: Release advertises SHA512 but Packages lack it — offline installs fail with debootstrap >= 1.0.145 | ||||
| Description | SummaryInstaller ISOs built from the current kali-rolling mirror fail offline ("Install the base system" -> debootstrap-failed) with every package reported corrupt. Root cause is a checksum field skew between the Release file and the Packages stanzas on our media, combined with debootstrap 1.0.145's new SHA512 negotiation. What happens
Evidence that the media are fineIndex SHA256 matches the file, Size matches, byte-perfect cp to /target verified, ample disk space. The failure is purely the checksum negotiation path. Verified on two build hosts (one vSphere VM, one bare-metal desktop, installed under KVM) — not hardware, not container artifacts. The official 2026.3 ISO has the same skewkali-linux-2026.3-installer-amd64.iso carries the identical skew: Release has a SHA512 section, gcc-16-base's stanza has only Size: 37984 and SHA256: 2c83b8b5a3ebe4431ca1f8f20370af04f8e80ca5a8726afd56f3fa1523f83e16. It installs cleanly only because it ships debootstrap-udeb 1.0.144, which predates the SHA512 negotiation. Any installer ISO rebuilt from the current mirror (debootstrap 1.0.145) will fail offline installs. Related
FixStrip the SHA512 section from Release before md5sum.txt regeneration in the kali-installer build, forcing debootstrap to fall back to SHA256, which every stanza carries. Patch against kalilinux/build-scripts/kali-installer, simple-cdd/disc-end-hook: index 27e3554..6e71c70 100755 +# debian-cd's make_disc_trees.pl unconditionally emits a SHA512 section
Tested: rebuilt ISO with this hook completes a full offline install. | ||||
|
I botched the diff formatting, attempt #2. |
|