diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2009-07-31 20:29:50 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2009-07-31 20:29:50 +0200 |
commit | 0dae8ac5f8a3092057a80d932ae4e55c1e7d3ca5 (patch) | |
tree | 95884eef411cf24c40f4d9aba74a4b2beb410124 /cmdline | |
parent | 03dbbc98ba48eeb7c360c7fb02f21cdc9cd86465 (diff) | |
download | apt-0dae8ac5f8a3092057a80d932ae4e55c1e7d3ca5.tar.gz |
[cmdline/apt-get.cc] ShowBroken() in build-dep (Closes: #145916)
Patch from Mike O'Connor, thanks!
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index d3972ad8..ebb634b4 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) |