diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-02-12 17:17:16 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-02-12 17:17:16 +0100 |
commit | 42d71ab5fe58953a680bd300a99d173e23430d7c (patch) | |
tree | d79a294141757a8bc9207bd44fa53cfa13ac006a /cmdline | |
parent | 803ea2a87f81252b2c0d541b8502ed206ce57c84 (diff) |
In SingleArch environments we don't need the arch "all" pseudo package
for handling arch:all packages, so we create only one package and stop
calling it a pseudo package.
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 93065004c..343226bc3 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -585,6 +585,9 @@ void Stats(ostream &out,pkgDepCache &Dep) unsigned long ReInstall = 0; for (pkgCache::PkgIterator I = Dep.PkgBegin(); I.end() == false; I++) { + if (pkgCache::VerIterator(Dep, Dep[I].CandidateVer).Pseudo() == true) + continue; + if (Dep[I].NewInstall() == true) Install++; else |