RHEL/Centos to ScientificLinux


You don’t want to wait for Centos 6.1 or your RedHat 6 entitlement is running out? This howto is about moving to ScienticLinux.

1a.) (for RHEL) rpm -e redhat-release-server redhat-indexhtml  yum-rhn-plugin –nodeps

1b.) (fpr Centos) rpm -e centos-indexhtml centos-release –nodeps

2.) wget http://ftp.scientificlinux.org/linux/scientific/6.1/x86_64/os/Packages/sl-release-6.1-2.x86_64.rpm http://ftp.scientificlinux.org/linux/scientific/6.1/x86_64/os/Packages/sl-indexhtml-6-2.sl6.5.noarch.rpm

3.) rpm -Uvh sl-release-6.1-2.x86_64.rpm sl-indexhtml-6-2.sl6.5.noarch.rpm
4.) check /etc/yum.repos.d/* it points to the right directory and no

4.) yum distribution-synchronization

5a.) rpm -qa –queryformat %{NAME}\ %{VENDOR}\\n | grep “Red Hat, Inc.” | sed -e ‘s: .*::’ | xargs yum reinstall -y

5b) rpm -qa –queryformat %{NAME}\ %{VENDOR}\\n | grep “CentOS” | sed -e ‘s: .*::’ | xargs yum reinstall -y

6.) check packages that are not available in ScientificLinux with “package-cleanup –orphan”

7.) check of all dependencies are still satisfied: “package-cleanup –problems”

8.) If you like install yum-autoupdate


This entry was posted in Enterprise Linux, Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *