About free resolution for RedHat6.5: This system was not registered to Red Hat Subscription Management.

Source: Internet
Author: User

Redhat The default comes with the Yum source need to register, to update, error:
This system isn't registered to Red Hat Subscription Management. You can use the Subscription-manager to register.
Can be replaced with centos corresponding source. The operation is as follows:


1. Check if the Yum package is installed. To see if Rhel is installed with Yum, and if so, what Yum packages are available:
Rpm-qa |grep Yum

2 Delete Redhat's own Yum pack
Rpm-qa|grep Yum|xargs rpm-e--nodeps (without checking dependencies, delete rpm packages directly)
Rpm-qa |grep Yum (query confirmation)
[Email protected] ~]#

3. Download the new Yum package. Yum Package with Centos6.5
1) View the version number and system category:
Cat/etc/redhat-release
Arch

2) Follow the previous step to find the corresponding Yum package and download it. My server corresponds to the following:
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-60.el6.centos.noarch.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm

3) Execution:
RPM-IVH yum-metadata-parser-1.1.2-16.el6.x86_64.rpm yum-3.2.29-60.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm
If this step is an error, the outsole is as follows:
Libc.so.6 is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libc.so.6 (glibc_2.0) is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libc.so.6 (glibc_2.1.3) is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libglib-2.0.so.0 is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libpthread.so.0 is needed by yum-metadata-parser-1.1.2-16.el6.i686
libpython2.6.so.1.0 is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libsqlite3.so.0 is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libxml2.so.2 is needed by yum-metadata-parser-1.1.2-16.el6.i686
Libxml2.so.2 (libxml2_2.4.30) is needed by yum-metadata-parser-1.1.2-16.el6.i686
The Yum package downloaded and installed does not match the system version and requires a re-download of the installation. In addition, 163 mirror sites are merged into the 6 directory for 6.0~6.5 resources.

4) Replace the Yum source, delete or back up the original source under another:
cd/etc/yum.repos.d/
wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
VI Centos6-base-163.repo
Edit the file and replace all the $releasever in the file with the version number: 6 (note, not 6.5!) ) Last Save!

4. Clear the original cache and rebuild the cache:
Clean all
Yum Makecache

5. Update the system:
Yum Update


Reference:
http://qingwang.blog.51cto.com/505009/1551228
Http://www.th7.cn/system/lin/201402/50472.shtml


Yum Pack Download: http://mirrors.163.com/centos/6/os/x86_64/Packages/

About free resolution for RedHat6.5: This system was not registered to Red Hat Subscription Management.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.