[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting up a sbuild chroot - which key?



Hi,

perhaps I'm loosing myself in a glass of water here.

John Paul Adrian Glaubitz wrote:
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
I don't need buildd, so I think I can simplify the call to createchroot.

 sudo sbuild-createchroot unstable debian-powerpc --include=debian-ports-archive-keyring http://ftp.ports.debian.org/debian-ports

this answer me

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

Thanks to this error and some internet search [1]

 sudo apt-get install debian-ports-archive-keyring

Reissuing the command, still gets the same error. Then I follow Jeffrey's advice of using --keyring

sudo sbuild-createchroot unstable debian-powerpc --include=debian-ports-archive-keyring --keyring /usr/share/keyrings/debian-ports-archive-keyring.gpg http://ftp.ports.debian.org/debian-ports

<... iBook fan goes full power and wait wait ...>

And I seem to have an environment.

Then I go into python-2.7 directory I got with the command:

$ dget -uhttp://snapshot.debian.org/archive/debian/20220801T085926Z/pool/main/p/python2.7/python2.7_2.7.18-13.2.dsc


I issue:

sbuild -d sid --arch-all --arch=powerpc python2.7_2.7.18-13.2.dsc

but I get:
Package: python2.7
Version: 2.7.18-13.2
Source Version: 2.7.18-13.2
Distribution: sid
Machine Architecture: powerpc
Host Architecture: powerpc
Build Architecture: powerpc
Build Type: binary

E: Chroot for distribution sid, architecture powerpc not found
E: Error creating chroot


I suppose the issue is because the distribution is sid, but we want bookworm?

Riccardo

[1] https://github.com/go-debos/debos/issues/463


Reply to: