×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

epel on Centos 7

epel on Centos 7

epel on Centos 7

(OP)
after I installed EPEL repos yum update hangs with no sense reason:

CODE --> log

> GET /pub/epel//7/x86_64/repodata/repomd.xml HTTP/1.1
User-Agent: urlgrabber/3.10 yum/3.4.3
Host: fedora.mirrors.telekom.ro
Accept: */*
Pragma:no-cache

* Empty reply from server
* Connection #13 to host fedora.mirrors.telekom.ro left intact
2015-08-20 08:55:47,312 exception: [Errno 14] HTTP Error 302 - Found
2015-08-20 08:55:47,312 calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x245b290>>, (), {})
http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 302 - Found
Trying other mirror.
2015-08-20 08:55:47,312 MIRROR: failed
2015-08-20 08:55:47,312 GR   mirrors: [] 0
2015-08-20 08:55:47,312 MAIN mirrors: [http://download.fedoraproject.org/pub/epel/7/x86_64/] 0


 One of the configured repositories failed (Extra Packages for Enterprise Linux 7 - x86_64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this: 

CODE --> wget

[root@centos7 yum.repos.d]# wget -q http://download.fedoraproject.org/pub/epel/7/x86_64/repodata/repomd.xml
[root@centos7 yum.repos.d]# echo $?
0
[root@centos7 yum.repos.d]# ls -al repomd.xml
-rw-r--r--. 1 root root 4541 Aug 17 18:24 repomd.xml
[root@centos7 yum.repos.d]# head -10 repomd.xml
<?xml version="1.0" ?>
<repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
 <revision>1439830892</revision>
 <tags>
   <content>binary-x86_64</content>
 </tags>
<data type="primary_db">
  <checksum type="sha256">76d4f46c34edd90cb24a5b33a398ac7fa7b6048ad8232fffec7d6e09e383fda2</checksum>
  <open-checksum type="sha256">f78e41ff5319e9629b9cdeadb9a310e222201a610665ff0cc99d8d003fad162f</open-checksum>
  <location href="repodata/76d4f46c34edd90cb24a5b33a398ac7fa7b6048ad8232fffec7d6e09e383fda2-primary.sqlite.xz"/>
[root@centos7 yum.repos.d]# 


So, why yum gets stuck on the url and wget not?

CODE --> cfg

[root@centos7 yum.repos.d]# yum upgrade ca-certificates --disablerepo=epel
No packages marked for update
[root@centos7 yum.repos.d]# yum update --disablerepo=epel
No packages marked for update
[root@centos7 yum.repos.d]# grep -e ^mirr -e ^baseurl -e enab -e ^\\[ epel*
epel.repo:[epel]
epel.repo:baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
epel.repo:enabled=1
epel.repo:[epel-debuginfo]
epel.repo:baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
epel.repo:enabled=0
epel.repo:[epel-source]
epel.repo:baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
epel.repo:enabled=0
epel-testing.repo:[epel-testing]
epel-testing.repo:mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch
epel-testing.repo:enabled=0
epel-testing.repo:[epel-testing-debuginfo]
epel-testing.repo:mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel7&arch=$basearch
epel-testing.repo:enabled=0
epel-testing.repo:[epel-testing-source]
epel-testing.repo:mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=testing-source-epel7&arch=$basearch
epel-testing.repo:enabled=0
[root@centos7 yum.repos.d]# 

CODE --> fastmirr

[root@centos7 pluginconf.d]
# pwd
/etc/yum/pluginconf.d
[root@centos7 pluginconf.d]# grep ^enabled fastestmirror.conf
enabled=0 

any clue what is going wrong in Centos 7? I don;t remember such issues in Centos 6.

of course I can download with wget packages from epel manually and install it with no issue, but why it does not work in yum?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close