On Donnerstag, 15. Dezember 2016, 14:56:44 CET wrote Neal Gompa:
On Thu, Dec 15, 2016 at 1:32 PM, Sebastian
wrote: AFAIK there is no way to search for filenames in packages if they are not explicitly listed as Provides: or currently installed. But tools like this are available on other distros (apt-file), see also this discussion: https://features.opensuse.org/308437
That's not true for DNF, Yum, or Zypper. All of them have a way to search for files through the repodata, and match it to packages.
the repodata usually contains only files from selected directories though.
Zypper can do it with "zypper search --file-list <file-path>"
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org