HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
if Resolver fails, do not continue even if not broken
[ntk/apt.git]
/
apt-private
/
private-install.cc
diff --git
a/apt-private/private-install.cc
b/apt-private/private-install.cc
index
107ed39
..
f15ccc3
100644
(file)
--- a/
apt-private/private-install.cc
+++ b/
apt-private/private-install.cc
@@
-617,7
+617,8
@@
bool DoCacheManipulationFromCommandLine(CommandLine &CmdL, CacheFile &Cache,
if (Fix != NULL)
{
// Call the scored problem resolver
- Fix->Resolve(true);
+ if (Fix->Resolve(true) == false && Cache->BrokenCount() == 0)
+ return false;
}
// Now we check the state of the packages,