Hi, Quoting peterc (2019-04-10 07:51:00) > I'm trying to build a chroot for riscv64. > > I've done > sudo apt-get install debian-ports-archive-keyring > sudo sbuild-createchroot --include=eatmydata,ccache,gnupg \ > --arch=riscv64 \ > sid /usr/home/sid-riscv64-sbuild \ > http://deb.debian.org/debian-ports/ > > and see: > Failed to fetch http://deb.debian.org/debian-ports/dists/sid/InRelease The > following signatures couldn't be verified because the public key is not > available: NO_PUBKEY DA1B2CEA81DCBC61 > > > To fix I had to do: > sudo gpg --no-default-keyring --keyring > /usr/share/keyrings/debian-archive-keyring.gpg --import > /etc/apt/trusted.gpg.d/debian-ports-archive-2019.gpg > > Looks like when sbuild invokes apt-get it's not using the right mechanism for > finding keys.
should you not add debian-ports-archive-keyring to --include so that the keyring exists inside the chroot? Thanks! cheers, josch
signature.asc
Description: signature