Re: Problems switching from RHEL 6 to Centos 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 30/07/17 14:04, Alois Treindl wrote:
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.



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.

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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux