Tip: Getting sid pbuilder work in ubuntu

Standard

So, I was getting fun in #1023329 and wanted to test some packages, so I went over the console and tried to build a sid chroot:

$ sudo DIST=sid ARCH=i386 pbuilder create
[sudo] password for chilicuil:
 I: Distribution is sid.
 I: Building the build environment
 I: running debootstrap
 /usr/sbin/debootstrap
 I: Retrieving Release
 I: Retrieving Release.gpg
 I: Checking Release signature
 E: Release signed by unknown key (key id AED4B06F473041FA)
 E: debootstrap failed

In order to get it fixed I had to install:

$ sudo apt-get install debian-archive-keyring

And then create the chroot with

$ sudo DIST=sid ARCH=i386 pbuilder create --debootstrapopts \
  --keyring=/usr/share/keyrings/debian-archive-keyring.gpg

Thanks to Pirmin Kalberer for pointing this out https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/599394

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s