Package: dpkg-dev Version: 1.20.5 Severity: important Today while working on the autopkgtests of an ITP of mine I discovered that apt fails to install packages from the local repo, seemingly because of missing sha512 hashes. Whether intentional or not, the effect seems to be that apt is enforcing sha512, which isn't a bad thing, hence this bug!
… The following NEW packages will be installed: libexpat1 libpython3-stdlib libpython3.8-minimal libpython3.8-stdlib mime-support python3 python3-atomicwrites python3-attr python3-importlib-metadata python3-minimal python3-more-itertools python3-packaging python3-pkg-resources python3-pluggy python3-py python3-pyparsing python3-pytest python3-six python3-volatile python3-wcwidth python3-zipp python3.8 python3.8-minimal 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/5889 kB of archives. After this operation, 22.9 MB of additional disk space will be used. Get:1 file:/usr/src/repo/amd64 ./ python3-volatile 2.1.0-1 [5356 B] Err:1 file:/usr/src/repo/amd64 ./ python3-volatile 2.1.0-1 Hash Sum mismatch Hashes of expected file: - SHA256:1210131215ad632c8eb4d09b0448ce680ca9805aaf4ec9b3b99ee2161537f93c - SHA1:fc1517b001fe9361d18a31f0d63daac366f93c8e [weak] - MD5Sum:e9c3ec5e3d437c610566fa2d24baee47 [weak] - Filesize:5356 [weak] - SHA512:779d3b466eb7cff946f6efebce7374803ec4afd6631ace49e02073d1da4fa98a4b1449e0e207dff6b32e11f735b29b04298a05632dcc077469ecfc674b0cab5d Hashes of received file: - SHA512:d2330098a34a54fe68a57ef12ce79260bb0eeddea3df251e9e4bbd1588dc0e46904ee89cc9e6bf44d8c0a910caedcc1b9c582066f7402ff264d7dc130d7f79c4 - SHA256:1210131215ad632c8eb4d09b0448ce680ca9805aaf4ec9b3b99ee2161537f93c - SHA1:fc1517b001fe9361d18a31f0d63daac366f93c8e [weak] - MD5Sum:e9c3ec5e3d437c610566fa2d24baee47 [weak] - Filesize:5356 [weak] Last modification reported: Tue, 27 Oct 2020 21:23:22 +0000 W: Sources disagree on hashes for supposely identical version '2.1.0-1' of 'python3-volatile:amd64'. E: Failed to fetch file:/usr/src/repo/amd64/../pool/python3-volatile_2.1.0-1_all.deb Hash Sum mismatch Hashes of expected file: - SHA256:1210131215ad632c8eb4d09b0448ce680ca9805aaf4ec9b3b99ee2161537f93c - SHA1:fc1517b001fe9361d18a31f0d63daac366f93c8e [weak] - MD5Sum:e9c3ec5e3d437c610566fa2d24baee47 [weak] - Filesize:5356 [weak] - SHA512:779d3b466eb7cff946f6efebce7374803ec4afd6631ace49e02073d1da4fa98a4b1449e0e207dff6b32e11f735b29b04298a05632dcc077469ecfc674b0cab5d Hashes of received file: - SHA512:d2330098a34a54fe68a57ef12ce79260bb0eeddea3df251e9e4bbd1588dc0e46904ee89cc9e6bf44d8c0a910caedcc1b9c582066f7402ff264d7dc130d7f79c4 - SHA256:1210131215ad632c8eb4d09b0448ce680ca9805aaf4ec9b3b99ee2161537f93c - SHA1:fc1517b001fe9361d18a31f0d63daac366f93c8e [weak] - MD5Sum:e9c3ec5e3d437c610566fa2d24baee47 [weak] - Filesize:5356 [weak] Last modification reported: Tue, 27 Oct 2020 21:23:22 +0000 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? autopkgtest [18:15:29]: ERROR: testbed failure: apt repeatedly failed to download packages Regards, Nicholas