diff options
author | Michael Vogt <mvo@debian.org> | 2014-01-25 21:54:52 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-01-25 21:54:52 +0100 |
commit | 62dcafb391a940534d5fb3b804dc461b1187d706 (patch) | |
tree | 83d28ffd4b0af97a0bba4f59c9a44e18091186b6 /apt-private/private-cacheset.cc | |
parent | e093518c03b49a2def83d8b680be4490fed6e69c (diff) | |
parent | 8c39c4b6e65036390b8ca4d74174192739a4139d (diff) |
Merge branch 'debian/experimental-no-abi-break' into debian/sid
Diffstat (limited to 'apt-private/private-cacheset.cc')
-rw-r--r-- | apt-private/private-cacheset.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apt-private/private-cacheset.cc b/apt-private/private-cacheset.cc index 6fb224010..a7dc0e800 100644 --- a/apt-private/private-cacheset.cc +++ b/apt-private/private-cacheset.cc @@ -52,6 +52,15 @@ bool GetLocalitySortedVersionSet(pkgCacheFile &CacheFile, output_set.insert(policy->GetCandidateVer(P)); } } + else if (_config->FindB("APT::Cmd::Manual-Installed") == true) + { + if (P.CurrentVer() && + ((*DepCache)[P].Flags & pkgCache::Flag::Auto) == false) + { + pkgPolicy *policy = CacheFile.GetPolicy(); + output_set.insert(policy->GetCandidateVer(P)); + } + } else { pkgPolicy *policy = CacheFile.GetPolicy(); |