[ELGIS] Getting started with mock..

Tyler Mitchell tmitchell at osgeo.org
Fri Nov 11 03:07:31 EST 2011


On 2011-11-10, at 11:57 PM, Mathieu Baudier wrote:

>> Almost got it going - when mock runs yum and tries to grab from a mirror, it's not putting in
>> the right (any!) $releasever, so the PYCURL attempt always fails.  In debug mode I can
>> clearly see the repo URL from mirrorlist tries is something like:
>> 
>> ..../pub/linux/scientific-linux/%24releasever/x86_64/....
> 
> Can you please send the complete URL?
> 
> If I open the SL mirrorlist, I see:
> http://mirror.aarnet.edu.au/pub/scientific/$releasever/$basearch/updates/security/

Right it looks like that to me as well.  It's when I run mock it fails on every mirror
and reports all the URLs from the mirrorlist as failing, with the %24releasever stuck in it.  

> Tyler you are rather using this file:
> https://projects.argeo.org/elgis/svn/factory/trunk/modules/org.argeo.elgis.rpmfactory/files/etc/mock/elgis-6-testing-x86_64.cfg

Yup - that's right, on SL6.


More information about the el mailing list