On Dienstag, 8. November 2016 16:58:37 CET Mathias Homann wrote:
Am 08.11.2016 um 16:45 schrieb Dominique Leuenberger / DimStar:
On Tue, 2016-11-08 at 16:29 +0100, Dominique Leuenberger / DimStar
wrote:
Please do not remove it unless zypper is getting something similar to "yum provides <filename>" which is basically the same as what pin does, but across all known repositories.
zypper search --file-list ?
I see zypper still has a short-coming there: it only finds files of 'installed' packages, which is clearly not good enough.
huh.. I tried it with "zypper search --file-list NetworkManager.conf on a system that does not have NM installed, and it listed three *uninstalled* packages related to NM... so at least on a 13.2 it works as I want it to.
Cheers MH
The relevant file is listed in the packages.gz metadata. The packages.gz also apparently lists any files in {,/usr}/{,s}bin/ The only additional files I would probably looking for is anything in /usr/include/. I would refrain from adding these to packages.gz for the following reasons: - only some people would have use for it - packages.gz contains not only package versions, but also the release. I would expect the list of files in /usr/include to be relatively stable over rebuilds and maybe even releases One possible format could be the list of files of each package, keyed by packagename+arch. Save this list to a file e.g. named packages-headers-$ {sha}.gz. Kind regards, Stefan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org