Description of problem: running $ dnf provides /usr/lib/kbd/keymaps/xkb (or any other file below /usr/lib/kbd/) doesn't give the package providing this file. running $ rpm -qf /usr/lib/kbd/keymaps/xkb works fine and gives kbd-misc-2.0.2-3.fc21.noarch Version-Release number of selected component (if applicable): dnf 0:0.6.4-1.fc21
Hello, please note that there is no package that explicitly provides /usr/lib/kbd/keymaps/xkb. "kbd-misc-0:2.0.2-3.fc21.noarch" explicitly only provides "/lib/kbd/keymaps/xkb". See also http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#dnf-provides-bin-file-does-not-find-any-packages-on-fedora. *** This bug has been marked as a duplicate of bug 982664 ***
Ok, while $ dnf provides /usr/lib/kbd/keymaps/xkb doesn't work, $ dnf provides /lib/kbd/keymaps/xkb does. Just in case anyone runs into the same problem. And if I understand this correct on the long run kbd-misc should generate files to install in /usr/lib/kbd/… instead of /lib/kbd/…, am I right?
Christian, please take a look at https://fedoraproject.org/wiki/Packaging:Guidelines#Effect_of_the_UsrMove_Fedora_Feature .