diff options
author | Michael Vogt <mvo@debian.org> | 2008-10-07 20:38:46 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2008-10-07 20:38:46 +0200 |
commit | 2ee50e0af732ddd94222ca7cbb120341651b02f0 (patch) | |
tree | 8da51623f9e3b66498c46846d3e997ac8506b47f /apt-pkg/depcache.cc | |
parent | c5fdf360513f8d2e5858711ff46c744cddcdeb6f (diff) | |
parent | 12f894a435b5c6766835be434be41734e1ee631c (diff) |
merged from debian-sid
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index d1bea4cf6..d8b4dc6d2 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -914,8 +914,9 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, { //FIXME: deal better with or-groups(?) DepIterator LocalStart = D; - - if(IsImportantDep(D) && Start.TargetPkg() == D.TargetPkg()) + + if(IsImportantDep(D) && !D.IsCritical() && + Start.TargetPkg() == D.TargetPkg()) { if(!isPreviouslySatisfiedImportantDep) { |