Files /etc/yum.repos.d/atrpms.repo, atrpms-testing.repo and
atrpms-bleeding.repo from package atrpms-repo-6-4.el6.x86_64 contain wron
g
baseurls:
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/bleeding
Variable $releasever expands to "6.0", while atrpms keeps packages in
directories el6-i386 and el6-x86_64 - that is, without ".0". As a result,
yum fails to retrieve repo metadata, and quits, if metadata is not availa
ble
in the cache.
Steps to reproduce:
1. Install SL with manual package selection, and select ATrpms repo packa
ge.
2. After installation, log in and try to update the system using "yum upd
ate".
Result:
Loaded plugins: downloadonly, refresh-packagekit, security
http://dl.atrpms.net/el6.0-x86_64/atrpms/stable/repodata/repomd.xml: [Err
no
14] HTTP Error 404 :
http://dl.atrpms.net/el6.0-x86_64/atrpms/stable/repodata/repomd.xml
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
atrpms. Please verify its path and try again
Expected result: yum succeeds without an error message.
Alternative steps to reproduce the problem:
1. yum install atrpms-repo
2. yum clean all
3. yum check-update
Workaround:
Disable atrpms repository or correct /etc/yum.repos.d/atrpms.repo by
replacing $releasever with 6. Files atrpms-testing.repo and
atrpms-bleeding.repo must also be modified in this way, if these
repositories are enabled.