summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-05-04 12:54:52 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-05-04 12:54:52 +0200
commit173ae2a460b905b18911f42964fd38dbac2959d6 (patch)
tree2a23137fca18032126219b5fabcaf121a7799d9e
parent52c41485092d6da77d2848a955609f22da50372c (diff)
use GroupCount for package names in stats and add a package struct line
-rw-r--r--cmdline/apt-cache.cc4
-rw-r--r--debian/changelog1
2 files changed, 4 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index b0034bf6d..b981e2fa7 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -242,7 +242,9 @@ bool DumpPackage(CommandLine &CmdL)
bool Stats(CommandLine &Cmd)
{
pkgCache &Cache = *GCache;
- cout << _("Total package names: ") << Cache.Head().PackageCount << " (" <<
+ cout << _("Total package names: ") << Cache.Head().GroupCount << " (" <<
+ SizeToStr(Cache.Head().GroupCount*Cache.Head().GroupSz) << ')' << endl
+ << _("Total package structures: ") << Cache.Head().PackageCount << " (" <<
SizeToStr(Cache.Head().PackageCount*Cache.Head().PackageSz) << ')' << endl;
int Normal = 0;
diff --git a/debian/changelog b/debian/changelog
index 5885f9246..3fd3f0a33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,7 @@ apt (0.7.26~exp4) experimental; urgency=low
* cmdline/apt-cache.cc:
- align Installed and Candidate Version in policy so they can be compared
easier, thanks Ralf Gesellensetter for the pointer! (Closes: #578657)
+ - use GroupCount for package names in stats and add a package struct line
* doc/apt.ent:
- Add a note about APT_CONFIG in the -c description (Closes: #578267)
* doc/po/de.po: