tags 449253 + patch
thanks

Riku Voipio <[EMAIL PROTECTED]> writes:

> apt-get in unstable (0.7.something) has started installing recommends
> by default. Thus unstable sbuild chroots will now install many more
> packages than required (especially when dealing with texlive packages),
> potentially hiding lacking build-dependency problems.
>
> See #448562 on similar discussion on pbuilder.

Thanks for the notice.

Please could you test the following patch to confirm this does the
right thing?

diff --git a/Sbuild/Chroot.pm b/Sbuild/Chroot.pm
index 3398f5a..5b80df7 100644
--- a/Sbuild/Chroot.pm
+++ b/Sbuild/Chroot.pm
@@ -146,6 +146,7 @@ sub _setup_options {
                                            UNLINK => 0) ) {
 
                        print $F "APT::Get::AllowUnauthenticated true;\n";
+                       print $F "APT::Install-Recommends false;\n";
 
                        if (! rename $F->filename, $chroot_aptconf) {
                                die "Can't rename $F->filename to 
$chroot_aptconf: $!\n";



Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgp4X0LNJ2703.pgp
Description: PGP signature

Reply via email to