Confirmed users
3,104
edits
(Fix pbuilder --create example for proper argument usage) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 56: | Line 56: | ||
Use the following command to create pbuilder environments. | Use the following command to create pbuilder environments. | ||
* 64 bit | * Ubuntu 12.04 Precise 64 bit | ||
<pre> | <pre> | ||
sudo pbuilder --create --distribution precise --architecture amd64 \ | sudo pbuilder --create --distribution precise --architecture amd64 \ | ||
| Line 67: | Line 67: | ||
</pre> | </pre> | ||
* 32 bit | * Ubuntu 12.04 Precise 32 bit | ||
<pre> | <pre> | ||
sudo pbuilder --create --distribution precise --architecture i386 \ | sudo pbuilder --create --distribution precise --architecture i386 \ | ||
--components "main restricted universe multiverse" \ | --components "main restricted universe multiverse" \ | ||
--override-config | --override-config \ | ||
--debootstrapopts --variant=buildd \ | --debootstrapopts --variant=buildd \ | ||
--basetgz /var/cache/pbuilder/base-precise-i386.tgz \ | --basetgz /var/cache/pbuilder/base-precise-i386.tgz \ | ||
--mirror http://archive.ubuntu.com/ubuntu \ | --mirror http://archive.ubuntu.com/ubuntu \ | ||
--othermirror "deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse" | --othermirror "deb http://archive.ubuntu.com/ubuntu precise-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu precise-security main restricted universe multiverse" | ||
</pre> | |||
* Ubuntu 14.04 Trusty 32 bit | |||
<pre> | |||
sudo pbuilder --create --distribution trusty --architecture i386 \ | |||
--components "main restricted universe multiverse" \ | |||
--override-config \ | |||
--debootstrapopts --variant=buildd \ | |||
--basetgz /var/cache/pbuilder/base-trusty-i386.tgz \ | |||
--mirror http://archive.ubuntu.com/ubuntu \ | |||
--othermirror "deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse" | |||
</pre> | |||
* Ubuntu 14.04 Trusty 64 bit | |||
<pre> | |||
sudo pbuilder --create --distribution trusty --architecture amd64 \ | |||
--components "main restricted universe multiverse" \ | |||
--override-config \ | |||
--debootstrapopts --variant=buildd \ | |||
--basetgz /var/cache/pbuilder/base-trusty-amd64.tgz \ | |||
--mirror http://archive.ubuntu.com/ubuntu \ | |||
--othermirror "deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse|deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse" | |||
</pre> | </pre> | ||