[CentOS] determining what depends on a rpm

Jon LaBadie jcu at labadie.us
Sun Dec 16 03:21:56 UTC 2018


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 "--whatrequires" option.
"rpm -q --requires lightdm" gives me 41 lines of output.

You might also try "yum deplist lightdm".

Jon
-- 
Jon H. LaBadie                 jon at jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)



More information about the CentOS mailing list