diff options
-rw-r--r-- | apt-pkg/algorithms.cc | 2 | ||||
-rw-r--r-- | apt-private/private-install.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index fbc809ed0..64eefa690 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1082,7 +1082,7 @@ bool pkgProblemResolver::ResolveInternal(bool const BrokenFix) pkgCache::PkgIterator I = Cache.PkgBegin(); for (;I.end() != true; ++I) { if (Cache[I].NewInstall() && !(Flags[I->ID] & PreInstalled)) { - if(_config->FindI("Debug::pkgAutoRemove",false)) { + if(_config->FindB("Debug::pkgAutoRemove",false)) { std::clog << "Resolve installed new pkg: " << I.FullName(false) << " (now marking it as auto)" << std::endl; } diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index 9716e6580..0377955ae 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -398,7 +398,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety) /* Remove unused automatic packages */ bool DoAutomaticRemove(CacheFile &Cache) { - bool Debug = _config->FindI("Debug::pkgAutoRemove",false); + bool Debug = _config->FindB("Debug::pkgAutoRemove",false); bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", false); bool hideAutoRemove = _config->FindB("APT::Get::HideAutoRemove"); |