Package: apt-src
Version: 0.25.1-0.1

--- Please enter the report below this line. ---
Correct su command should be "su -c --" to prevent apt-get's -y switch from being intercepted by su.

IMHO this is probably best dealt with by changing the description of the RootCommand option. Trivial patch below.

Regards,

David.

==========================================
diff --git a/apt-src b/apt-src
old mode 100755
new mode 100644
index 861e3dd..2efb973
--- a/apt-src
+++ b/apt-src
@@ -217,7 +217,7 @@ The command to use to build a tree. Run in the tree to build The command to use if a non-root user needs to become root. This is used for,
example, to satisfy build-deps. sudo is a good choice and the default.
-If you want to use su, you'll need to set it to "su -c".
+If you want to use su, you'll need to set it to "su -c --".

=item APT::Src::BuildDeps
=================================================

--- System information. ---
Architecture: i386
Kernel: Linux 2.6.18-4-vserver-686

Debian Release: 4.0
500 testing ftp.uk.debian.org

--- Package information. ---
Depends (Version) | Installed
=================================-+-==============
libapt-pkg-perl (>= 0.1.6) | 0.1.21
dpkg-dev | 1.13.25
apt | 0.7.3
perl (>= 5.6.0-16) | 5.8.8-7



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to