Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to install lsblk on OL 5.5

JhilAug 21 2017 — edited Aug 22 2017

# cd /etc/yum.repos.d

# wget http://yum.oracle.com/public-yum-el5.repo  

--2017-08-21 04:14:47--  http://yum.oracle.com/public-yum-el5.repo  

Resolving yum.oracle.com... 49.44.120.73, 49.44.120.97  

Connecting to yum.oracle.com|49.44.120.73|:80... connected.  

HTTP request sent, awaiting response... 200 OK  

Length: 4886 (4.8K) [text/plain]  

Saving to: `public-yum-el5.repo'  

  

  

100%[=============================================================================>] 4,886       --.-K/s   in 0s       

  

  

2017-08-21 04:14:48 (12.0 MB/s) - `public-yum-el5.repo' saved [4886/4886] 

>>

[root@DGPRIM yum.repos.d]# yum install lsblk  

Loaded plugins: security  

el5_latest                                                                                      | 1.4 kB     00:00      

el5_latest/primary                                                                              |  26 MB     00:36      

el5_latest                                                                                                 13710/13710`  

http://yum.oracle.com/repo/OracleLinux/OL5/UEK/latest/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>  

Trying other mirror.  

Error: Cannot retrieve repository metadata (repomd.xml) for repository: ol5_UEK_latest. Please verify its path and try again 

Why i am getting error ?

# uname -a

Linux DGPRIM 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686 i686 i386 GNU/Linux 

>>

# cd /etc/yum.repos.d/

[root@DGPRIM yum.repos.d]# ls -l

total 20

-rw-r--r-- 1 root root 10240 Aug 21 04:14 junk.tar

-rw-r--r-- 1 root root  4886 May  5 01:04 public-yum-el5.repo

[root@DGPRIM yum.repos.d]# cat public-yum-el5.repo

[el5_latest]

name=Oracle Linux $releasever Latest ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/latest/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1

[el5_ga_base]

name=Oracle Linux $releasever GA installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/0/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_u1_base]

name=Enterprise Linux $releasever Update 1 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/1/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_u2_base]

name=Enterprise Linux $releasever Update 2 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/2/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_u3_base]

name=Enterprise Linux $releasever Update 3 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/3/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_u4_base]

name=Enterprise Linux $releasever Update 4 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/4/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_u5_base]

name=Enterprise Linux $releasever Update 5 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/5/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u5_base]

name=Oracle Linux $releasever Update 5 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/5/base/x86_64/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u6_base]

name=Oracle Linux $releasever Update 6 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/6/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u7_base]

name=Oracle Linux $releasever Update 7 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/7/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u8_base]

name=Oracle Linux $releasever Update 8 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/8/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u9_base]

name=Oracle Linux $releasever Update 9 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/9/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u10_base]

name=Oracle Linux $releasever Update 10 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/10/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_u11_base]

name=Oracle Linux $releasever Update 11 installation media copy ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/11/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_addons]

name=Enterprise Linux $releasever Add ons ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/addons/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_oracle_addons]

name=Oracle Software addons for Enterprise Linux $releasever ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/oracle_addons/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_UEK_latest]

name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/UEK/latest/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=1

[ol5_UEK_base]

name=Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/UEK/base/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[el5_unsupported]

name=Productivity Applications for Enterprise Linux $releasever ($basearch)

baseurl=http://yum.oracle.com/repo/EnterpriseLinux/EL5/unsupported/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_spacewalk24_client]

name=Spacewalk Client 2.4 for Oracle Linux 5 ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/spacewalk24/client/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

[ol5_spacewalk26_client]

name=Spacewalk Client 2.6 for Oracle Linux 5 ($basearch)

baseurl=http://yum.oracle.com/repo/OracleLinux/OL5/spacewalk26/client/$basearch/

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

gpgcheck=1

enabled=0

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2017
Added on Aug 21 2017
7 comments
929 views