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

Bug#773385: Ping



Dima Kogan:
This really should work. It's maybe sorta ok for "apt-file list", but it
also affects "apt-file find". Look:

[...]

I.e. I asked it to tell me what package provides a file, and I had to
tell it which architecture to look at.

The whole point of apt-file is to look up the package name from a path,
and if I have to tell IT things like the architecture, it loses a lot of
its utility.

Thanks.


Hi Dima,

From my PoV, what you experience here with find is a complete different problem.

By default, apt-file uses the `APT::Architectures` configuration variable to determine which architectures to search for[1]. If APT's default is not correct here and you do not APT to see arm64, then please add the corrected `APT::Architectures` to `/etc/apt/apt-file.conf`. If you feel that `-a` should have a different default, then please file a separate bug. Also, MRs or patches are welcome to improve the documentation if you want to contribute to making apt-file better for the next person! :)

I hope that solves your particular issue.

Thanks,
Niels

[1]: You can use `apt-config dump | grep Architectures` to see the default value that apt-file would get.


Reply to: