[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#564317: Apt-cache showpkg shows repeated lines



Hello Jidanni,

First of all: Thanks for your report:

2010/1/9  <jidanni@jidanni.org>:
> Apt-cache showpkg shows repeated lines
> $ apt-cache showpkg iceweasel|sort|uniq -c|sort -n|tail -n 4
>      2   xul-ext-notify,iceweasel
>      2   xul-ext-pwdhash,iceweasel
>      2   xul-ext-webdeveloper,iceweasel
>      4   mozilla-openoffice.org,iceweasel
These are the reverse dependencies. In the mozilla-openoffice.org package
case iceweasel is Recommend and Enhanced - for all available versions.
It is really this specific version of the package which is a rdepends of
another package (or multiply versions of the other package) so the information
isn't wrong. And as you see in the Recommend and Enhances combi you can
never eliminate repetitions - even if only one version of the reverse
dependencies would be considered, but and this is the second point...

> $ apt-config dump|grep Cache
> APT::Cache "";
> APT::Cache::AllVersions "false";
... as noted in the description for this option in the manpage for apt-cache:
man> This option is only applicable to the show command.

And as a third argument, even the showpkg description says:
man> The [...] reverse dependencies [...] are listed [...] for each version.

In Conclusion:
I am failing to see what you actually request here or what do you expect
to be different in the output of apt-cache showpkg, so could you be a bit
more specific/verbose ?


Best regards / Mit freundlichen Grüßen,

David "DonKult" Kalnischkies



Reply to: