Re: [CentOS] determining what depends on a rpm

2018-12-17 Thread Phil Perry
On 17/12/2018 17:24, Simon Matter wrote: On 12/17/18 3:50 AM, Leon Fauster via CentOS wrote: or this one :-) rpm -ev --test PACKAGENAME will list all packages that require PACKAGENAME True.  I considered that, and then decided that I could never recommend using "rpm -e" as a test, even with

Re: [CentOS] determining what depends on a rpm

2018-12-17 Thread Simon Matter
> On 12/17/18 3:50 AM, Leon Fauster via CentOS wrote: >> >> or this one :-) >> rpm -ev --test PACKAGENAME >> will list all packages that require PACKAGENAME > > > True.  I considered that, and then decided that I could never recommend > using "rpm -e" as a test, even with the --test flag, due to

Re: [CentOS] determining what depends on a rpm

2018-12-17 Thread Gordon Messmer
On 12/17/18 3:50 AM, Leon Fauster via CentOS wrote: or this one :-) rpm -ev --test PACKAGENAME will list all packages that require PACKAGENAME True.  I considered that, and then decided that I could never recommend using "rpm -e" as a test, even with the --test flag, due to the risk of

Re: [CentOS] determining what depends on a rpm

2018-12-17 Thread Leon Fauster via CentOS
> Am 16.12.2018 um 00:07 schrieb Gordon Messmer : > > On 12/15/18 1:05 PM, Frank Cox wrote: >> Ultimately it would be very useful to have some kind of a tool that would >> generate a report from the rpms installed on a system and tell you exactly >> what depends on what else. Among other

Re: [CentOS] determining what depends on a rpm

2018-12-15 Thread Jon LaBadie
On Sat, Dec 15, 2018 at 03:05:45PM -0600, Frank Cox wrote: > yum remove lightdm > > That command tells me that it's also going to remove lightdm-gobject and > lightdm-gtk. > > rpm -q --whatrequires lightdm > no package requires lightdm > Perhaps you want the "--requires" instead of

Re: [CentOS] determining what depends on a rpm

2018-12-15 Thread Gordon Messmer
On 12/15/18 1:05 PM, Frank Cox wrote: Ultimately it would be very useful to have some kind of a tool that would generate a report from the rpms installed on a system and tell you exactly what depends on what else. Among other things you could use that report to remove stuff that's not needed

Re: [CentOS] determining what depends on a rpm

2018-12-15 Thread Phil Perry
On 15/12/2018 21:05, Frank Cox wrote: yum remove lightdm That command tells me that it's also going to remove lightdm-gobject and lightdm-gtk. rpm -q --whatrequires lightdm no package requires lightdm So obviously we can't take the word of the --whatrequires option from the rpm command

[CentOS] determining what depends on a rpm

2018-12-15 Thread Frank Cox
yum remove lightdm That command tells me that it's also going to remove lightdm-gobject and lightdm-gtk. rpm -q --whatrequires lightdm no package requires lightdm So obviously we can't take the word of the --whatrequires option from the rpm command since yum remove tells me that there are