[CentOS] Problems switching from RHEL 6 to Centos 6

Sun Jul 30 16:51:59 UTC 2017
Phil Perry <pperry at elrepo.org>

On 30/07/17 15:00, Alois Treindl wrote:
> On 07/30/2017 03:23 PM, Phil Perry wrote:
> 
>> I would use yum to uninstall the packages that provide 
>> /etc/yum.repos.d/redhat.repo and /etc/yum/pluginconf.d/rhnplugin.conf
>>
>> On rhel7, these are yum-rhn-plugin and subscription-manager, use rpm 
>> to check which packages provide them on el6.
>>
> 
> which rpm command does this exactly?

rpm -q --whatprovides /etc/yum.repos.d/redhat.repo