[CentOS] determining what depends on a rpm

Mon Dec 17 17:24:31 UTC 2018
Simon Matter <simon.matter at invoca.ch>

> 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
> operator error.  Though if you put it in an alias, I suppose that the
> risk is minimal and the answer is simpler.  :)

It's not really dangerous even without --test, because if it has
dependencies the remove is not done, you just get an error.