2 steps: file -> RPM and then RPM -> Repo.
File -> RPM
rpm -qf /usr/bin/google-chrome
google-chrome-stable-80.0.3987.132-1.x86_64
google-chrome-stable-80.0.3987.132-1.x86_64
RPM -> Repo
dnf info google-chrome-stable | grep -e ^Name -e ^From -e ^Version
Name : google-chrome-stable
Version : 80.0.3987.132
From repo : production-rhel-x86_64-workstation-csb-8.0
Name : google-chrome-stable
Version : 80.0.3987.132
From repo : production-rhel-x86_64-workstation-csb-8.0
On Tue, Mar 17, 2020 at 9:34 AM Neal Becker <ndbecker2@xxxxxxxxx> wrote:
Is there a way to query dnf to tell which which repo a given file or a given rpm came from?
Thanks,
Neal
John Westerdale
Sr Container Consultant
NYC Office/WFH
john.westerdale@xxxxxxxxxx
M: 201-376-9993 IM: jwesterd He / Him / His
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx