I am following the steps in https://wiki.ubuntu.com/PbuilderHowto to build a package, and I get stuck with unmet dependencies in apt-get. The command that I use to build are:
$ sudo pbuilder update --distribution precise --override-config
$ pdebuild
This is the resulting error from the *build output file:
I: Current time: Sat Dec 8 16:24:21 UTC 2012 I: pbuilder-time-stamp: 1354983861 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/base.tgz] I: creating local configuration I: copying local configuration I: mounting /proc filesystem I: mounting /dev/pts filesystem I: Mounting /var/cache/pbuilder/ccache I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Setting up ccache I: Installing the build-deps This package is uninstallable Dependency is not satisfiable: mpi-default-bin
E: pbuilder-satisfydepends failed. I: Copying back the cached apt archive contents I: unmounting /var/cache/pbuilder/ccache filesystem I: unmounting dev/pts filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//2422 and its subdirectories
I do have mpi-default-bin and the other pre-requisite package installed:
$ aptitude show mpi-default-bin Package: mpi-default-bin State: installed Automatically installed: no Version: 1.0.1 Priority: extra
Any idea what could be missing and how I can force pbuilder to install the required packages in the chrooted build environment?