Hi,

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

here is a reproducer without mmdebstrap involved:

#!/bin/sh
TMPDIR="$(mktemp -d)"
mkdir -p "$TMPDIR/etc/apt" "$TMPDIR/var/cache" "$TMPDIR/var/lib" 
"$TMPDIR/etc/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=/usr/share/keyrings/ubuntu-archive-keyring.gpg] 
http://archive.ubuntu.com/ubuntu bionic main" > "$TMPDIR/etc/apt/sources.list"
APT_CONFIG="$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

Attachment: signature.asc
Description: signature

Reply via email to