🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6017

Bug#1155125: mmdebstrap: /usr/bin/sqv complains about SHA1 of old Ubuntu releases

#6017
From: Johannes Schauer Marin Rodrigues
Date: Tue, 24 Nov 2026 21:20
62 lines
4175 bytes
--===============0405099536582520862==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi,

Quoting Benjamin Drung (2026-11-24 15:07:27)
> "mmdebstrap bionic bionic.tar" fails to run on unstable:
>=20
> [...]
>=20
> This is caused by sqv rejecting the SHA1 signatures. Since these are old
> releases, they should still be accepted. So for Ubuntu <=3D bionic sqv
> should probably be configured to still accept SHA1.

here is a reproducer without mmdebstrap involved:

#!/bin/sh
TMPDIR=3D"$(mktemp -d)"
mkdir -p "$TMPDIR/etc/apt" "$TMPDIR/var/cache" "$TMPDIR/var/lib" "$TMPDIR/e=
tc/apt/trusted.gpg.d/" "$TMPDIR/etc/apt/apt.conf.d"
cat << END > "$TMPDIR/apt.conf"
Apt::Architecture "amd64";
Dir "$(cd "$TMPDIR" && pwd)";
END
echo "deb [signed-by=3D/usr/share/keyrings/ubuntu-archive-keyring.gpg] http=
://archive.ubuntu.com/ubuntu bionic main" > "$TMPDIR/etc/apt/sources.list"
APT_CONFIG=3D"$TMPDIR/apt.conf" apt-get update

If you can find out how to make the above work, then you can find out how to
make mmdebstrap work. Did you search the mmdebstrap for APT::Hashes::SHA1::=
Weak
and tried out those options?

Thanks!

cheers, josch
--===============0405099536582520862==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmsF/sUACgkQ8sulx4+9
g+FejhAAo3lmvMS0UT+jRH8qWtv+LJSIHHXTR9yKoGF+0+9iA0IfbWPnWx/IXUet
Qdvn0UcyA8JCppwh6b/nQx3C/s27QZ2xwKlSeSiMkBVR/HZXg8epR69MY9lQB9so
UY8svrZg15OnwfChMIUzcZXxP4fG3wBazgFS9eJYGhNj9cU9xd30ruvSEMWL7KGo
mO3l21wDrwsXlTUOf8V7Dpsa8Vluey/C4ViaOQKLb/iXpcu2xHeC21pOXNBaOst4
et0g+wzE4sKvn8Ce0o6tnEbux42lljwAnpo96df9RoisvqUY/0H/L1vDL230s52e
AmXuWaxjkRWVx+FRF5tFv+nGQaWe+pQLngSnVLZAs0r7CA8bk+J6yt1SzIhnHpeL
3zgpsk/pnoai61cLgk5W0GichwrrSryLwACh5YzFNodXBZwN8tp9Mf9DOjzmxoBM
hJgr+26WDgzPX+3vz0QXpgYQidUYFnUavZxYIA47QRbe7aDl1nTjbe0kDpulAzQv
xPtJaOJG9d64DOgCkAzcpBjReFCQtLzCLo3NYYnnWZKiijkoj1wnpzNrKcqRDHHQ
RVI8pzoiwSBvvZ3iL6Yx//SGYj+AVPobPDFYPTz7CpLbqt3YXeSgSsB2of95+KjD
8/MuFCHQF9NtD4i140dD+CgBOXFXjTBsNxdvhg9yiytJIR6fPi8=
=VhV+
-----END PGP SIGNATURE-----

--===============0405099536582520862==--
Technical Details
Message-ID: <O365H-dWKJ-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O2Znz-dT78-3@gated-at.bofh.it> <O2Znz-dT78-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155125: mmdebstrap: /usr/bin/sqv complains about SHA1 of old Ubuntu releases
Date: Tue, 24 Nov 2026 22:20:01 +0100
Message-ID: <O365H-dWKJ-1@gated-at.bofh.it>
References: <O2Znz-dT78-3@gated-at.bofh.it> <O2Znz-dT78-3@gated-at.bofh.it>
X-Original-To: 1155125@bugs.debian.org, Benjamin Drung <bdrung@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 21:19:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Johannes Schauer Marin Rodrigues <josch@debian.org>, 1155125@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: josch@debian.org
X-Debian-Pr-Message: followup 1155125
X-Debian-Pr-Package: mmdebstrap
X-Debian-Pr-Source: mmdebstrap
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============0405099536582520862=="
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: alot/0.0.0
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004795
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 62
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 22:16:56 +0100
X-Original-Message-ID: <179555501694.2951.3514498980426928462@localhost>
X-Original-References: <179552924798.3392273.828153270533247.reportbug@deep-thought> <179552924798.3392273.828153270533247.reportbug@deep-thought>