diff options
-rw-r--r-- | apt-pkg/depcache.cc | 2 | ||||
-rw-r--r-- | debian/changelog | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 16282df21..dee5318ea 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1226,7 +1226,7 @@ bool pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, continue; } // now check if we should consider it a automatic dependency or not - if(InstPkg->CurrentVer == 0 && InstVer->Section != 0 && ConfigValueInSubTree("APT::Never-MarkAuto-Sections", InstVer.Section())) + if(InstPkg->CurrentVer == 0 && P.InstVerIter(*this)->Section != 0 && ConfigValueInSubTree("APT::Never-MarkAuto-Sections", P.InstVerIter(*this).Section())) { if(DebugAutoInstall == true) std::clog << OutputInDepth(Depth) << "Setting NOT as auto-installed (direct " diff --git a/debian/changelog b/debian/changelog index 64ef12c04..ab27d3df7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +apt (1.0.9.10ubuntu6) wily; urgency=medium + + * Fix regression in the Never-MarkAuto-Sections feature caused by the + previous auto-removal fix, with inspiration drawn from the patches + and conversation from http://bugs.debian.org/793360 (LP: #1479207) + + -- Adam Conrad <adconrad@ubuntu.com> Sat, 01 Aug 2015 16:14:05 -0600 + apt (1.0.9.10ubuntu5) wily; urgency=medium * apt-pkg/packagemanager.h: |