Bug 249797 - yum-presto: variable expansion fails
Summary: yum-presto: variable expansion fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-presto
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jonathan Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-27 02:43 UTC by Rex Dieter
Modified: 2014-01-21 22:59 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-30 19:31:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2007-07-27 02:43:54 UTC
For a private repo of mine, I've always pointed yum to a mirror list, something
like, say:
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable

Which contains entries that contain/use variables ($releasever, $arch), ie,
http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch/stable

Using yum-3.2.2-1.fc7, this no longer works, yum tries to use
ttp://.../fedora/%24releasever/%24basearch/stable/repodata/repomd.xml
which, of course, doesn't work.

Comment 1 Rex Dieter 2007-07-27 12:04:31 UTC
OK, totally creepy.  Tried duplicating this on another f7 box this morning, and
couldn't.  it works.  box boxes have updates-testing enabled.

Comment 2 Rex Dieter 2007-07-27 12:10:45 UTC
on the box that fails, it's not just the mirrorlist, substituting
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch/stable
fails too, with
Error: Cannot open/read repodata/repomd.xml file ...




Comment 3 Rex Dieter 2007-07-27 12:33:40 UTC
Arg, cast the gremlins away!

I just changed to 
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/fedora/7/i386/stable
to verify my sanity (and it works), changed back to
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/fedora/$releasever/$basearch/stable
and now that works too! ??  It didn't just minutes before. (I run 'rm -rf
/var/cache/yum/*' in between invocations for extra paranoia).

So trying,
mirrorlist=http://apt.kde-redhat.org/apt/kde-redhat/fedora/mirrors-stable
but that (still) failed. ):

On a whim, tried disabling yum-presto, bingo! fixed!.  reassigning.

$ rpm -q yum-presto
yum-presto-0.3.10-1.fc7.noarch
btw.




Comment 4 Jonathan Dieter 2007-07-30 19:31:18 UTC
This bug shouldn't exist in yum-presto 0.4.0 (the version in Rawhide that's been
pretty much rewritten).

Yum-presto 0.3.x re-used some older yum code that didn't properly parse mirrorlists.

I'm going to close this as Rawhide, but if you want me to fix it in F7 (which
isn't trivial), please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.