Bug#635698: pbuilder uses "/usr/bin/apt-get" not "apt-get", etc.

Ian Jackson ijackson at chiark.greenend.org.uk
Thu Jul 28 09:32:59 UTC 2011


Package: pbuilder
Version: 0.199+nmu1

Programs should normally be found on the PATH.  That makes it possible
to do exciting things by putting a wrapper on the PATH, to install a
local version in /usr/local, and so on.

pbuilder gets this wrong not just for apt-get but also for a number
of other programs (dpkg, dpkg-buildpackage, make, ...)

The output of, in the pbuilder source tree,
  grep -R /usr/bin *[^~] |grep -v '^testsuite'
is a good starting point for a set of candidate uses to be fixed.

Ian.





More information about the Pbuilder-maint mailing list