Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document key issue #138

Open
jamesbennet opened this issue Mar 17, 2013 · 0 comments
Open

Document key issue #138

jamesbennet opened this issue Mar 17, 2013 · 0 comments

Comments

@jamesbennet
Copy link
Contributor

In order to get an Ubuntu based buildd to build for Debian sid I went to do:

sudo sbuild-createchroot unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian

But i got:

jamesb@newpc:~/pybit$ sudo sbuild-createchroot unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
I: SUITE: unstable
I: TARGET: /srv/chroot/unstable
I: MIRROR: http://ftp.uk.debian.org/debian
I: Running debootstrap --arch=i386 --variant=buildd --verbose --include=fakeroot,build-essential --components=main --keyring=/etc/apt/trusted.gpg --resolve-deps unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
I: Retrieving InRelease
I: Checking Release signature
E: Release signed by unknown key (key id AED4B06F473041FA)
E: Error running debootstrap at /usr/sbin/sbuild-createchroot line 200.

This seems to be due to: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614029

Doing this made it work:

sudo gpg --no-default-keyring --keyring /etc/apt/trusted.gpg --recv-keys AED4B06F473041FA

This seems to be as the debian-archive-keyring package on Ubuntu puts them in the wrong place (/etc/apt/trusted.gpg.d) where they cant be found.

This should be documented by someone who knows how/why it works.

@ghost ghost assigned jamesbennet and ghost Mar 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant