diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-05 13:42:04 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-06-05 13:42:04 +0200 |
commit | 292f5b8770a0f10d8a19204dc4a914437d861662 (patch) | |
tree | f0bdd8b694afb4a9700052ee4cf2876433cec533 | |
parent | c45f2d1995a58c7a5a8616c6fbf9f95ee4ccfd49 (diff) |
apt-cache show --no-all-versions should issues the Candidate
-rw-r--r-- | cmdline/apt-cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index e3876d5e0..b782c70af 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1456,7 +1456,7 @@ bool ShowPackage(CommandLine &CmdL) { pkgCacheFile CacheFile; APT::VersionSet::Version const select = _config->FindB("APT::Cache::AllVersions", true) ? - APT::VersionSet::ALL : APT::VersionSet::INSTALLED; + APT::VersionSet::ALL : APT::VersionSet::CANDIDATE; APT::VersionSet const verset = APT::VersionSet::FromCommandLine(CacheFile, CmdL.FileList + 1, select); for (APT::VersionSet::const_iterator Ver = verset.begin(); Ver != verset.end(); ++Ver) if (DisplayRecord(CacheFile, Ver) == false) |