Thank you. I could resolve the issues, by editing stuff in
/etc/yum/pluginconf.d
There, I created a file rhnplugin.conf with the content
[rhel-6-server-extras-rpms]
enabled=0
[rhel-6-server-optional-rpms]
enabled=0
and I edited the file search-disabled-repos.conf and inserted into the line
ignored-repos= ... the pattern rhel*
I do not know whether this second step was necessary, I happened to do
both at once.
After that, yum upgrade no longer demanded rhel repositories.
On 30.07.17 14:37, Johnny Hughes wrote:> On 07/30/2017 07:32 AM, Alois Treindl wrote:
>> I am trying to migratean existing RHEL 6 machine to Centos 6.
>>
>> I followed the instructions in
>> https://wiki.centos.org/HowTos/MigrationGuide
>>
>> I run into problems:
>>
>> when I run
>>
>> yum upgrade
>>
>> then yum tries to access a repository rhel-6-server-extras-rpms
>>
>> and then fails.
>>
>> What can I do that yum no longer tries to access this repository?
>>
> Normally, .repo files are in /etc/yum.repos.d/ .
>
> You should be able to edit files in that directory and find a section
> for any repos that you wish to disable. Setting enable=0 in the
> applicable section will turn off that specific repo.
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos