Bug 1451212
Summary: | epel.repo: mirrorlist instead of metalink | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Eva Mrakova <emrakova> |
Component: | epel-release | Assignee: | Michael Stahnke <mastahnke> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | epel7 | CC: | dennis, djw8605, herrold, jmracek, kevin, ksrot, mastahnke, packaging-team-maint, rpm-software-management, vmukhame |
Target Milestone: | --- | Keywords: | TestBlocker |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | epel-release-7-10 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-11 20:51:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eva Mrakova
2017-05-16 06:54:18 UTC
Yes, this is because we predate yum handling 'metalink=' in a repo file. yum handles this transparently with: "As a special hack is the mirrorlist URL contains the word "metalink" then the value of mirrorlist is copied to metalink (if metalink is not set)." Im a bit leary of changing this now as I am not sure if older rhel7's yum's would handle metalink= Perhaps dnf could just use this same workaround? Moving over to them to comment on... I definitely don't like this "hacks"... What if I just had metalink.foo.bar/mirrorlist URL... shall it use metalink instead of mirrorlist? (In reply to Kevin Fenzi from comment #1) ... > Im a bit leary of changing this now as I am not sure if older rhel7's yum's > would handle metalink= ... I've tested the following scenario for several rhel/yum versions and it always worked OK: 1. install epel-release 2. replace mirrorlist keyword with metalink in /etc/yum.repos.d/epel.repo 3. list available pkgs in epel repo 4. install a pkg from epel rhel/yum versions tested: * RHEL-7.4, yum-3.4.3-154.el7 * RHEL-7.1, yum-3.4.3-125.el7 * RHEL-7.1, yum-3.4.3-118.el7 (should be the version from released RHEL-7.0) * RHEL-6.9, yum-3.2.29-81.el6 * RHEL-6.0, yum-3.2.27-14.el6 Example of changed epel.repo: [epel] name=Extra Packages for Enterprise Linux 7 - $basearch #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 Eva, thanks a lot for testing. Switching back to epel-release. epel-release-7-10 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-eb495217ca epel-release-7-10 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-eb495217ca epel-release-7-10 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |