This system was not a registered with the portal. Workaround

Source: Internet
Author: User

1. Background description

[[email protected] ~]# yum-y install GCC

Loaded Plugins:rhnplugin, security

This system isn't registered with the portal.

Portal support would be disabled.

Setting up Install Process

Nothing to do

2. Solutions

Redhat This error is due to not registering a portal, so just update the source of Yum.

2.1 Entering the Yum configuration directory

[Email protected] ~]# cd/etc/yum.repos.d/

[email protected] yum.repos.d]# LL

Total 16

-rw-r--r--1 root root 561 Dec Rhel-debuginfo.repo

-rw-r--r--1 root root 222 Dec Rhel-source.repo

2.2 Backing up files Rhel-debuginfo.repo

[Email protected] yum.repos.d]# MV Rhel-debuginfo.repo Rhel-debuginfo.repo_bak

2.3 Download Centos-base.repo File

[Email protected] yum.repos.d]# wget Http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

--2014-12-23 10:28:59--Http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo

Resolving docs.linuxtone.org ... 203.74.150.88

Connecting to docs.linuxtone.org|203.74.150.88|:80 ... Connected.

HTTP request sent, awaiting response ... OK

length:1426 (1.4K) [Application/octet-stream]

Saving to: ' Centos-base.repo '


100%[===================================================>] 1,426--.-k/s in 0s


2014-12-23 10:29:01 (143 MB/s)-' Centos-base.repo ' saved [1426/1426]

2.4 Changing the Centos-base.repo name is called Rhel-debuginfo.repo

[Email protected] yum.repos.d]# MV Centos-base.repo Rhel-debuginfo.repo

3. Testing

[Email protected] yum.repos.d]# yum-y install GCC Flex

Loaded Plugins:rhnplugin, security

This system isn't registered with the portal.

Portal support would be disabled.

Setting up Install Process

Package flex-2.5.4a-41.fc6.i386 already installed and latest version

......

Updated:

Gcc.i386 0:4.1.2-55.el5


Dependency Updated:

......


complete!


This system was not a registered with the portal. Workaround

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.