Table of Contents

@related: dpkg chroot Debian Build

java

sudo pbuilder login  --basetgz ~/pbuilder/etch.tgz --save-after-login
# inside the build chroot do:
echo "sun-java6-jdk   shared/accepted-sun-dlj-v1-1    boolean true" | debconf-set-selections
echo "deb http://ftp.jp.debian.org/debian etch main non-free" >> /etc/apt/sources.list
# outside again, update
sudo pbuilder update --basetgz ~/pbuilder/etch.tgz

thx to <stockholm>

@tag: Java

debian (also on ubuntu)

v=lenny # sid
s=/var/cache/pbuilder
d=${HOME}/mnt/pbuilder/$v/$s
sudo mkdir -p "$d" ; sudo touch $d/base.tgz
sudo rm -rf "$s"
sudo ln -fs $d $s
export FLAGS="--distribution $v --basetgz $d/base.tgz --override-config --mirror http://ftp.ch.debian.org/debian " 
sudo pbuilder --create ${FLAGS}
sudo pbuilder --update ${FLAGS}
sudo pbuilder --upgrade ${FLAGS}
sudo pbuilder --build ${FLAGS} *.dsc 
sudo pbuilder login  --save-after-login ${FLAGS}

misc

sudo pbuilder create --basetgz /mnt/large/tmp/pbuilder.tgz create
...
P: Configuring helper cdebootstrap-helper-apt
E: Couldn't install system due to errors!
pbuilder: cdebootstrap failed
E: cdebootstrap does not exist, install or change DEBOOTSTRAP option
apt-get install debootstrap 
cat ~/.pbuilderrc
DEBOOTSTRAP=debootstrap

@tag: conf

http://meetings-archive.debian.net/pub/debian-meetings/2007/debconf7/low/362_pbuilder_talk.ogg

ed2k:|file|362_pbuilder_talk.ogg|94636101|432e306679e1a0e24f282c21925213db| == m-a == @tag: unicorn sudo pbuilder –create –distribution etch sudo pbuilder –login –distribution etch su root -c “apt-get install aptitude sudo” sudo aptitude install \ wget module-assistant bzip2 quilt kernel-package debhelper linux-headers-2.6-686 sudo aptitude install \ bzip2 debhelper diffstat file gawk gettext gettext-base html2text \ intltool-debian kernel-package libcompress-zlib-perl libmagic1 \ libmail-sendmail-perl libssl0.9.8 \ linux-headers-2.6-686 linux-headers-2.6.18-5 linux-headers-2.6.18-5-686 linux-kbuild-2.6.18 \ module-assistant po-debconf quilt wget wget http://ftp.debian.org/debian/pool/non-free/u/unicorn/unicorn-source_0.9.3-2_all.deb dpkg -i unicorn-source_0.9.3-2_all.deb m-a –text -k /usr/src/linux-headers-2.6.18-5-686/ -l 2.6.18-5-686 a-i unicorn == dpkg @tag: dpkg devscripts “dpkg-genchanges: failure: cannot read files list file: No such file or directory ” * http://bugs.debian.org/447248

pbuilder.txt · Last modified: 2022/04/16 12:23 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki