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

Bug#525813: apt-file: Doesn't work very well when multiple package versions are available



Christoph Anton Mitterer:
Hey.

I took the liberty to forcemerge these two bugs (578727 and 525813) as
they seem to be about the same thing.

My suggestion would be that per default, the apt-file should print the
package name with =version.
Perhaps with the exception if only one version is available (or maybe
there should be an option, that causes the =version to be omitted, if
and only if, only on version is available).

When specifying the package name I think it should also allow =version
to be appended and follow the behaviour of e.g. apt-get cache, that is:
- if no version is given, match all available versions
- if one is given, match only that.


Cheers,
Chris.


Hi

One challenge we have here is that a package can have multiple versions in a given suite at the same time; notably in unstable. There is no metadata that tells apt-file which file is in which version of the package. So in this case, even adding a version could produce the wrong result. I have no plan to support versioning for selecting the suite because of the above problem, because it will not fix the root issue - only gloss over it in some cases.

For people that want better support here, please request the archive maintainers to provide an index with versioning so that apt-file can do proper filtering.

Best regards,
Niels


Reply to: