# cd /etc/yum.repos.d
# cp rhel-beta.repo rhel-beta.repo.bak
# vi rhel-beta.repo
take out the # sign before baseurl and change enabled from 0 to 1
[root@redhat71 yum.repos.d]# cat rhel-beta.repo
[rhel-beta]
name=Red Hat Enterprise Linux 7 Beta - $basearch
baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-7-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
[rhel-beta-source]
name=Red Hat Enterprise Linux 7 Beta - $basearch - Source
baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/source/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-source-7-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
[rhel-beta-debuginfo]
name=Red Hat Enterprise Linux 7 Beta - $basearch - Debuginfo
baseurl=ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=rhel-debug-7-beta&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
[root@redhat71 yum.repos.d]# yum repolist all
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel-beta-debuginfo/x86_64/metalink | 2.0 kB 00:00
rhel-beta-debuginfo | 3.0 kB 00:00
rhel-beta-source/x86_64/metalink | 1.9 kB 00:00
rhel-beta-source | 3.0 kB 00:00
(1/2): rhel-beta-source/x86_64/primary_db | 894 kB 00:02
(2/2): rhel-beta-debuginfo/x86_64/primary_db | 629 kB 00:03
repo id repo name status
rhel-beta/x86_64 Red Hat Enterprise Linux 7 Beta - x86_ enabled: 8,520
rhel-beta-debuginfo/x86_64 Red Hat Enterprise Linux 7 Beta - x86_ enabled: 2,194
rhel-beta-source/x86_64 Red Hat Enterprise Linux 7 Beta - x86_ enabled: 0
repolist: 10,714
[root@redhat71 ~]# yum install python-cups-doc
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package python-cups-doc.x86_64 0:1.9.63-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
python-cups-doc x86_64 1.9.63-4.el7 rhel-beta 45 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 45 k
Installed size: 516 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7Everything/rhel-beta/packages/python-cups-doc-1.9.63-4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f21541eb: NOKEY
Public key for python-cups-doc-1.9.63-4.el7.x86_64.rpm is not installed
python-cups-doc-1.9.63-4.el7.x86_64.rpm | 45 kB 00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Importing GPG key 0xF21541EB:
Userid : "Red Hat, Inc. (beta key 2) <security@redhat.com>"
Fingerprint: b08b 659e e86a f623 bc90 e8db 938a 80ca f215 41eb
Package : redhat-release-everything-7.0-0.6.el7.x86_64 (@anaconda/7.0)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y
Importing GPG key 0x897DA07A:
Userid : "Red Hat, Inc. (Beta Test Software) <rawhide@redhat.com>"
Fingerprint: 17e8 543d 1d4a a5fa a96a 7e9f fd37 2689 897d a07a
Package : redhat-release-everything-7.0-0.6.el7.x86_64 (@anaconda/7.0)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-cups-doc-1.9.63-4.el7.x86_64 1/1
Verifying : python-cups-doc-1.9.63-4.el7.x86_64 1/1
Installed:
python-cups-doc.x86_64 0:1.9.63-4.el7
Complete!
No comments:
Post a Comment