diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-04-24 13:15:33 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-04-24 13:15:33 +0200 |
commit | 08bd372d9dd5e4a56176ec08bf6e7870ecd41b32 (patch) | |
tree | 8f5a49dfe7ebf9148f944a9120ee8d038e9cb661 | |
parent | c3a3a1b1b68706df40dc022bdcdf8ede684f5956 (diff) |
set also "all" to this version for pseudo packages in TryToChangeVer
-rw-r--r-- | cmdline/apt-get.cc | 5 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 672f64c68..b43164c2f 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1264,6 +1264,11 @@ bool TryToChangeVer(pkgCache::PkgIterator Pkg,pkgDepCache &Cache, } Cache.SetCandidateVersion(Ver); + + // Set the all package to the same candidate + if (Ver.Pseudo() == true) + Cache.SetCandidateVersion(Match.Find(Pkg.Group().FindPkg("all"))); + return true; } /*}}}*/ diff --git a/debian/changelog b/debian/changelog index ee2be291b..a1a289ab3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,7 @@ apt (0.7.26~exp4) experimental; urgency=low instead of displaying the strongest available (Closes: #576420) - regex for package names executed on Grp- not PkgIterator - show non-candidates as fallback for virtual packages (Closes: #578385) + - set also "all" to this version for pseudo packages in TryToChangeVer * apt-pkg/deb/dpkgpm.cc: - remove Chroot-Directory from files passed to install commands. Thanks to Kel Modderman for report & patch! (Closes: #577226) |