From: David Kalnischkies Date: Fri, 31 Jul 2009 18:29:50 +0000 (+0200) Subject: [cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916) X-Git-Tag: 0.7.23~1^2~21 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/0dae8ac5f8a3092057a80d932ae4e55c1e7d3ca5?ds=inline [cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916) Patch from Mike O'Connor, thanks! --- diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index d3972ad81..ebb634b4f 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -2572,7 +2572,10 @@ bool DoBuildDep(CommandLine &CmdL) // Now we check the state of the packages, if (Cache->BrokenCount() != 0) - return _error->Error(_("Build-dependencies for %s could not be satisfied."),*I); + { + ShowBroken(cout, Cache, false); + return _error->Error(_("Build-dependencies for %s could not be satisfied."),*I); + } } if (InstallPackages(Cache, false, true) == false) diff --git a/debian/changelog b/debian/changelog index 46bd16df9..b105faaef 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ apt (0.7.23) unstable; urgency=low * cmdline/apt-get.cc: - add APT::Get::HideAutoRemove=small to display only a short line instead of the full package list. (Closes: #537450) + - ShowBroken() in build-dep (by Mike O'Connor, Closes: #145916) -- Michael Vogt Thu, 30 Jul 2009 15:27:30 +0200