Christoph Anton Mitterer:
On Thu, 2024-02-22 at 08:59 +0100, Niels Thykier wrote:One challenge we have here is that a package can have multiple versions in a given suite at the same time; notably in unstable.And multiple arches...
Indeed. Though, `apt-file` has the information needed to filter here and if you ask for only things in one architecture, you only get those (plus maybe the implicit arch:all).
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.Against what would one file such request? ftp.debian.org? Cheers, Chris.
That would be my best guess indeed. They are the provided of the metadata, apt-file consumes. I do not think it would need to be a major change to the format. Adding the version next to the package name would be sufficient (like turn foo/section to foo_version/section).
Best regards, Niels