diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-10-26 14:39:44 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-10-26 14:39:44 +0100 |
commit | 681f74a8bd5beaad5b821a5c4eb3c0bc1c471669 (patch) | |
tree | 3b1f841b2285abc38dbbdfb1a25f79727e8cf459 /apt-pkg/contrib/progress.cc | |
parent | 9cc002939afc0d2283fd2f5e7d6e7434af5d10ff (diff) |
pkgnames: Do not exclude virtual packages with --all-names
We accidentally excluded virtual packages by excluding every
group that had a package, but where the package had no versions.
Rewrite the code so the lookup consistently uses VersionList()
instead of FirstVersion and FindPkg("any") - those are all the
same, and this is easier to read.
Diffstat (limited to 'apt-pkg/contrib/progress.cc')
0 files changed, 0 insertions, 0 deletions