Bug#563728: pbuilder: "sudo -E" doesn't work

Philipp Matthias Hahn pmhahn at debian.org
Mon Jan 4 21:14:45 UTC 2010


Package: pbuilder
Version: 0.196
Severity: important

$ debuild-pbuilder
/usr/bin/debuild-pbuilder: Zeile 14: sudo -E: Kommando nicht gefunden.
$ LC_ALL=C debuild-pbuilder
/usr/bin/debuild-pbuilder: line 14: sudo -E: command not found
$ sed -ne 14p /usr/bin/debuild-pbuilder
"$PBUILDERROOTCMD" "$PBUILDERSATISFYDEPENDSCMD"
$ grep PBUILDERROOTCMD /usr/share/pbuilder/pbuilderrc /etc/pbuilderrc ~/.pbuilderrc
/usr/share/pbuilder/pbuilderrc:PBUILDERROOTCMD="sudo -E"

Quoting "$PBUILDERROOTCMD" and "sudo -E" doen't work together!
If I remove the quotes in /usr/bin/debuild-pbuilder, I get:
$ debuild-pbuilder
sudo: sorry, you are not allowed to preserve the environment

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pbuilder depends on:
ii  cdebootstrap                  0.5.5      Bootstrap a Debian system
ii  coreutils                     8.0-2      GNU core utilities
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  debootstrap                   1.0.20     Bootstrap a basic Debian system
ii  wget                          1.12-1.1   retrieves files from the web

Versions of packages pbuilder recommends:
ii  devscripts                    2.10.61    scripts to make the life of a Debi
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  sudo                          1.7.2p1-1  Provide limited super user privile

Versions of packages pbuilder suggests:
pn  cowdancer                     <none>     (no description available)
pn  gdebi-core                    <none>     (no description available)
pn  pbuilder-uml                  <none>     (no description available)

-- debconf information excluded





More information about the Pbuilder-maint mailing list