blog.rupamsunyata.org

Decklin’s excuse for some blogging software. Est. 2006.

HOWTO setup an i386 pbuilder on amd64

This is mostly for my own reference, because the thing in the manual didn't work for me and it took too much googling. I just wanted these steps listed in order.

  1. debootstrap --variant=buildd --arch i386 --foreign sid base-i386
  2. chroot base-i386 /debootstrap/debootstrap --second-stage
  3. vi base-i386/etc/apt/sources.list (there must be some way to do this exactly like pbuilder --create?)
  4. (cd base-i386 && tar vczf /var/cache/pbuilder/base-i386.tgz .)
  5. pbuilder --update --basetgz /var/cache/pbuilder/base-i386.tgz

I'm not sure if this is quite right, as I did end up tidying up both amd64 and i386 by hand at some point. But it's functional.

Generated by Mnemosyne 0.10.