Description of problem: It doesn't seem to be possible to do "dnf repoquery -f /usr/bin/gcc" / "urpmf /usr/bin/gcc" to get back exact matches. The former returns nothing (since there's no glob to indicate inexact matches were desired) and the latter returns permutations but no exact matches. This means that things like "dnf install /usr/bin/gcc" doesn't work. The reason this happens is because we don't have %ghost entries for the links created by alternatives. Adding %ghost entries to the file list for gcc, g++, cc, cpp, etc. will allow for those things to be tracked and queried. (This bug was discovered by Igor Gnatenko while Rémi Verschelde and I were working with him on Rust things.) Version-Release number of selected component (if applicable): 5.4.0-5.mga6 How reproducible: Always Steps to Reproduce: 1. repoquery with dnf or urpmf for /usr/bin/gcc 2. Watch neither of them return an exact match 3. Attempt "dnf install /usr/bin/gcc" and watch it fail to find something to install
CC: (none) => rverschelde
CC: (none) => marja11Assignee: bugsquad => tmb