From 3518021283aa5d44e441fdce59615ca2af9d94fc Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 13 Apr 2011 11:33:41 +0200 Subject: * cmdline/apt-get.cc: - Do not install recommends for build-dep (Closes: #454479) (LP: #245273) --- cmdline/apt-get.cc | 3 +++ debian/changelog | 2 ++ 2 files changed, 5 insertions(+) diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 6ffecd777..e2d9bb7d4 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -2638,6 +2638,9 @@ bool DoSource(CommandLine &CmdL) bool DoBuildDep(CommandLine &CmdL) { CacheFile Cache; + + _config->Set("APT::Install-Recommends", false); + if (Cache.Open(true) == false) return false; diff --git a/debian/changelog b/debian/changelog index 6878debc5..d5bbc20ed 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ apt (0.8.13.3) UNRELEASED; urgency=low things a directory named Sources to exist on a CD-ROM (LP: #750694). * apt-pkg/acquire-item.cc: - Use Release files even if they cannot be verified (LP: #704595) + * cmdline/apt-get.cc: + - Do not install recommends for build-dep (Closes: #454479) (LP: #245273) [ Michael Vogt ] * mirror method: -- cgit v1.2.3