HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c45f2d1
)
apt-cache show --no-all-versions should issues the Candidate
author
David Kalnischkies
<kalnischkies@gmail.com>
Sat, 5 Jun 2010 11:42:04 +0000
(13:42 +0200)
committer
David Kalnischkies
<kalnischkies@gmail.com>
Sat, 5 Jun 2010 11:42:04 +0000
(13:42 +0200)
cmdline/apt-cache.cc
patch
|
blob
|
blame
|
history
diff --git
a/cmdline/apt-cache.cc
b/cmdline/apt-cache.cc
index
e3876d5
..
b782c70
100644
(file)
--- 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)