]> git.saurik.com Git - apt.git/commitdiff
[cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)
authorDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 31 Jul 2009 18:29:50 +0000 (20:29 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Fri, 31 Jul 2009 18:29:50 +0000 (20:29 +0200)
Patch from Mike O'Connor, thanks!

cmdline/apt-get.cc
debian/changelog

index d3972ad81b94b2fb4acd12ac6e13f15c3042a449..ebb634b4fca968e6054f243a1142e3a547bca394 100644 (file)
@@ -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)
index 46bd16df9c7ccdb7722cc229f987bee164b8ca6e..b105faaef0fe3d6dcec32abf45ba90bf2804c6bb 100644 (file)
@@ -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 <michael.vogt@ubuntu.com>  Thu, 30 Jul 2009 15:27:30 +0200