How can I query the local package cache of
yum on RHEL (and derivatives) without requiring superuser privileges?
Note: I am not interested in running an update of the package cache up front. All I am interested in is to query what the local package cache already knows.
Edit: it turns out the problem wasn't the
yum operation (
search) itself in this case, but rather the fact that some of the files underneath
/etc/yum.repos.d/ were unreadable due to some fellow admin putting them there this way.