`dnf provides` doesn't show the package

dnf provides for some reason doesn’t show me which package provides the rt2870.bin.xz firmware file. When I do dnf repoquery -l linux-firmware however, I do see rt2870.bin.xz file listed in that package.

1 Like
dnf provides \*/rt2870.bin.xz
1 Like

You have to wildcard the preceding path?? Is that because it’s a file and not an executable?

2 Likes

You need to use globs to force path lookups, otherwise it searches against the provided capabilities, which only include feature, binary, and library names.

See also: dnf: DNF Command Reference | dnf System Administration | Man Pages | ManKier

2 Likes