Re: setting up a sbuild chroot - which key?

2024-05-03 Thread Riccardo Mottola

Hello,

no hint for me which key to use? or if I miss one, where to get it?

I have apt-get working, so I think I have the key.

Riccardo

Riccardo Mottola wrote:

Hi!

I separate the thread - since it is specific to setting up a viable 
sbuild environment.
The goal is to have the simplest and smallest enviornoment to build 
source packages, in my case pyhon 2.7


I need the chroot. I read jeffrey's suggestions as well as wiki [1]

I am trying this:

sudo sbuild-createchroot   unstable debian-powerpc 
http://ftp.ports.debian.org/debian-ports


But it fails with:

E: Release signed by unknown key (key id 8D69674688B6CB36)
   The specified keyring 
/usr/share/keyrings/debian-archive-keyring.gpg may be incorrect or out 
of date.
   You can find the latest Debian release key at 
https://ftp-master.debian.org/keys.html


taking hint from Jeffrey I tried to pass a keyring key, but couldn't 
find a good one in/usr/share/keyrings/


I don't have /usr/share/keyrings/debian-ports-archive-keyring.gpg, 
debian-archive-keyring.gpg debian doesn't work.


Riccardo

[1] https://wiki.debian.org/sbuild






Re: setting up a sbuild chroot - which key?

2024-05-03 Thread Michael Cree
On Fri, May 03, 2024 at 11:58:57PM +0200, Riccardo Mottola wrote:
> no hint for me which key to use? or if I miss one, where to get it?
> 
> I have apt-get working, so I think I have the key.

You looking for the key to install a chroot with powerpc or ppc64
from debian-ports?  Assuming you have debian-ports-archive-keyring
package installed then you will find it in the directory:
/etc/apt/trusted.gpg.d/

Cheers
Michael.



Re: setting up a sbuild chroot - which key?

2024-05-03 Thread John Paul Adrian Glaubitz
Hello,

On Fri, 2024-05-03 at 23:58 +0200, Riccardo Mottola wrote:
> no hint for me which key to use? or if I miss one, where to get it?
> 
> I have apt-get working, so I think I have the key.

You include the keyring when creating the chroot using the "--include" option:

# sbuild-createchroot unstable /srv/chroot/unstable-powerpc \
  --arch=powerpc --variant=buildd --include=debian-ports-archive-keyring \
  http://ftp.ports.debian.org/debian-ports

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913