Re: Which repo an rpm is from

2020-03-18 Thread Todd Zullinger
Neal Becker wrote: > Is there a way to query dnf to tell which which repo a > given file or a given rpm came from? To add one more option to the list, the dnf repoquery command can show the repo: $ dnf -q repoquery --latest-limit 1 --queryformat '%{name} %{reponame}' rpm rpm updates $ dnf -q rep

Re: Which repo an rpm is from

2020-03-18 Thread Iosif Fettich
Hi there, Is there a way to query dnf to tell which which repo a given file or a given rpm came from? According to https://fedoraproject.org/wiki/Yum_to_DNF_Cheatsheet, find-repos-of-install: [Warning] Use dnf list installed pkg instead On my WS, although it is [very!] slow, I get for ex

Re: Which repo an rpm is from

2020-03-17 Thread John Westerdale
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 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

Re: Which repo an rpm is from

2020-03-17 Thread sixpack13
On 17.03.20 14:33, Neal Becker wrote: Is there a way to query dnf to tell which which repo a given file or a given rpm came from? rpm -qf => package name dnf list installed | grep -i => last column shows the repo could do it -- sixpack13

Re: Which repo an rpm is from

2020-03-17 Thread Ed Greshko
On 2020-03-17 21:33, Neal Becker wrote: > Is there a way to query dnf to tell which which repo a given file or a given > rpm came from? You mean like [egreshko@meimei ~]$ dnf info vlc Installed Packages Name : vlc Epoch    : 1 Version  : 3.0.9 Release  : 33.fc31 Architecture