[Buildd-tools-devel] Bug#449253: Bug#449253: sbuild: pass --no-install-recommends to apt-get on new versions of apt
Roger Leigh
rleigh at whinlatter.ukfsn.org
Sun Dec 2 00:58:06 UTC 2007
tags 449253 + patch
thanks
Riku Voipio <riku.voipio at iki.fi> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20071202/9f85d430/attachment.pgp
More information about the Buildd-tools-devel
mailing list