[SOLVED] Migration from RHEL6 to CentOS6
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Migration from RHEL6 to CentOS6
[quote]
G0d-servant wrote:
...
but "/etc/yum/yum.repo.d" is empty. above instructions don't set default centos repo ?[/quote]
That should be /etc/yum.repos.d/
G0d-servant wrote:
...
but "/etc/yum/yum.repo.d" is empty. above instructions don't set default centos repo ?[/quote]
That should be /etc/yum.repos.d/
-
- Posts: 6
- Joined: 2011/07/17 03:44:11
Re: Migration from RHEL6 to CentOS6
[quote]
pschaff wrote:
That should be /etc/yum.repos.d/[/quote]
oh, It was the wrong word, "/etc/yum.repos.d" is empty. and when i entered the yum command for update packages list, not thing for do.
pschaff wrote:
That should be /etc/yum.repos.d/[/quote]
oh, It was the wrong word, "/etc/yum.repos.d" is empty. and when i entered the yum command for update packages list, not thing for do.
Re: Migration from RHEL6 to CentOS6
There's a typo in this portion of one of your commands
[quote]
rpm -Uvh centos-release-6-0.el6.centos.5.686.rpm
[/quote]
686 should be i686
[quote]
rpm -Uvh centos-release-6-0.el6.centos.5.686.rpm
[/quote]
686 should be i686
-
- Posts: 6
- Joined: 2011/07/17 03:44:11
Re: Migration from RHEL6 to CentOS6
[quote]
TrevorH wrote:
There's a typo in this portion of one of your commands[/quote]
wow, i enter it command truly.
[code] rpm -Uvh centos-release-6-0.el6.centos.5.i686.rpm[/code]
I got careless, Is difficult to understand:
[code][root@localhost TMP]# rpm -Uvh centos-release-6-0.el6.centos.5.i686.rpm centos-indexhtml-6-1.el6.centos.noarch.rpm yum-3.2.27-14.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
centos-release-6-0.el6.centos.5.i686.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de:
NOKEY Preparing... ########################################### [100%]
file /etc/issue from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/issue.net from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/redhat-release from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/rpm/macros.dist from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/system-release from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/system-release-cpe from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686 [/code]
I renamed these files with add "back" suffix. but same error appears.
TrevorH wrote:
There's a typo in this portion of one of your commands[/quote]
wow, i enter it command truly.
[code] rpm -Uvh centos-release-6-0.el6.centos.5.i686.rpm[/code]
I got careless, Is difficult to understand:
[code][root@localhost TMP]# rpm -Uvh centos-release-6-0.el6.centos.5.i686.rpm centos-indexhtml-6-1.el6.centos.noarch.rpm yum-3.2.27-14.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm
centos-release-6-0.el6.centos.5.i686.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de:
NOKEY Preparing... ########################################### [100%]
file /etc/issue from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/issue.net from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/redhat-release from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/rpm/macros.dist from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/system-release from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686
file /etc/system-release-cpe from install of centos-release-6-0.el6.centos.5.i686 conflicts with file from package redhat-release-server-6Server-6.0.0.37.el6.i686 [/code]
I renamed these files with add "back" suffix. but same error appears.
Re: Migration from RHEL6 to CentOS6
It's complaining about the entries in the rpm database not the files themselves. You would need to remove redhat-release-server-6Server-6.0.0.37.el6.i686 before you can replace it with the CentOS equivalent.
-
- Posts: 6
- Joined: 2011/07/17 03:44:11
Re: Migration from RHEL6 to CentOS6
[quote]
TrevorH wrote:
It's complaining about the entries in the rpm database not the files themselves. You would need to remove redhat-release-server-6Server-6.0.0.37.el6.i686 before you can replace it with the CentOS equivalent.[/quote]
538 package will be removed. removed all? xorg,nautilus and many of graphic tools will removed.
[code]
ransaction Summary
===============================================================================================================================================
Remove 538 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]:
[/code]
TrevorH wrote:
It's complaining about the entries in the rpm database not the files themselves. You would need to remove redhat-release-server-6Server-6.0.0.37.el6.i686 before you can replace it with the CentOS equivalent.[/quote]
538 package will be removed. removed all? xorg,nautilus and many of graphic tools will removed.
[code]
ransaction Summary
===============================================================================================================================================
Remove 538 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]:
[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: Migration from RHEL6 to CentOS6
Don't try to remove it with yum. You need to use "rpm -e --nodeps ..." as explained in the link given in post #3.
-
- Posts: 6
- Joined: 2011/07/17 03:44:11
Re: Migration from RHEL6 to CentOS6
Thanks all, solved.
[code]rpm -e --nodeps redhat-release-server-6Server-6.0.0.37.el6.i686[/code]
[code]rpm -e --nodeps redhat-release-server-6Server-6.0.0.37.el6.i686[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: [SOLVED] Migration from RHEL6 to CentOS6
Thanks for reporting back. Marking this thread [SOLVED] for posterity.