Kenneth Porter
2021-Jan-28 00:21 UTC
[CentOS] How to query which yum package groups a particular package is member of
--On Wednesday, January 27, 2021 11:35 PM +0000 Jamie Burchell <mail at jamieburchell.com> wrote:> How about using yum history to find when and why the package was > installed? > > yum history summary dnsmasq > yum history package-list dnsmasqVery nice! The oldest record of the second command: 1 | Dep-Install | dnsmasq-2.66-12.el7.x86_64 I'm guessing that means it was a dependency for something back then. Is there a way to discover what? Using "yum history info 1" I see that this was the original Anaconda install from 2014. Could dnsmasq be in the original minimal disk installer?
James Szinger
2021-Jan-28 14:20 UTC
[CentOS] How to query which yum package groups a particular package is member of
On Wed, 27 Jan 2021 16:21:33 -0800 Kenneth Porter <shiva at sewingwitch.com> wrote:> I'm guessing that means it was a dependency for something back then. > Is there a way to discover what? Using "yum history info 1" I see > that this was the original Anaconda install from 2014. Could dnsmasq > be in the original minimal disk installer?Try `yum remove --assumeno dnsmasq` and see what it wants to remove. On my system I get --> Processing Dependency: dnsmasq >= 2.41 for package: libvirt-daemon-driver-network-4.5.0-36.el7_9.3.x86_64 Jim
James Szinger
2021-Jan-28 14:22 UTC
[CentOS] How to query which yum package groups a particular package is member of
On Wed, 27 Jan 2021 16:21:33 -0800 Kenneth Porter <shiva at sewingwitch.com> wrote:> I'm guessing that means it was a dependency for something back then. > Is there a way to discover what? Using "yum history info 1" I see > that this was the original Anaconda install from 2014. Could dnsmasq > be in the original minimal disk installer?Or one can also run `rpm -q --whatrequires dnsmasq`. Jim