SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Maciej Puzio <[log in to unmask]>
Reply To:
Maciej Puzio <[log in to unmask]>
Date:
Fri, 4 Mar 2011 17:39:03 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
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.

ATOM RSS1 RSS2