Package: sbuild
Version: 0.78.1-2
Severity: normal

Dear Maintainer,

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.

Peter C
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, armel, i386, powerpc, arm64, riscv64

Kernel: Linux 5.0.0-rc4-00001-g4aa9fc2a435a (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sbuild depends on:
ii  adduser         3.118
ii  libsbuild-perl  0.78.1-2
ii  perl            5.28.1-6

Versions of packages sbuild recommends:
ii  autopkgtest  5.10
ii  debootstrap  1.0.114
ii  schroot      1.6.10-6+b1

Versions of packages sbuild suggests:
pn  deborphan  <none>
ii  e2fsprogs  1.45.0-1
ii  kmod       26-1
ii  wget       1.20.1-1

-- no debconf information

Reply via email to