Comment 5 for bug 140964

Revision history for this message
Adrien Cunin (adri2000) wrote : Re: pbuilder-dist tries Ubuntu mirror for Debian distro

The problem seems to be that pbuilder finds out which components to use from the $COMPONENTS var defined in pbuilderrc.
Therefore, if pbuilderrc contains restricted|universe|multiverse, the Debian pbuilder creation will fail.
I don't see any good fix for this, as there is no way to specify which components to use via the command line. This is a bug, reported as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422371

So, the workaround for now is to set $COMPONENTS to main only in pbuilderrc.