unable to use mock

Paul Howarth paul at city-fan.org
Mon Jun 5 12:05:50 UTC 2006


cranium2003 wrote:
> Hi,
> --- seth vidal <skvidal at linux.duke.edu> wrote:
> 
>> On Mon, 2006-06-05 at 04:45 -0700, cranium2003
>> wrote:
>>> Hi,
>>> --- seth vidal <skvidal at linux.duke.edu> wrote:
>>>
>>>> On Mon, 2006-06-05 at 04:16 -0700, cranium2003
>>>> wrote:
>>>>> hi,
>>>>>   I am new to mock tool i followed whats given
>> on
>>>> wiki
>>>>> of fedoraproject.org. According to that i set
>>>> mock.
>>>>> installed it. then i did su - build
>>>>> then in build user i gave mock -r
>>>>> fedora-5-i386-core.cfg foo-0.1.1.src.rpm
>>>>> and i got output as
>>>>> =============================
>>>>> init
>>>>> clean
>>>>> prep
>>>>> This may take a while
>>>>> Error peforming yum command:
>> /usr/sbin/mock-helper
>>>> yum
>>>>> --installroot
>>>>>
>> /var/lib/mock/fedora-development-i386-core/root
>>>>> groupinstall build-minimal build-base build
>>>>> ending
>>>>> done
>>>>> =============================
>>>>> whats wrong happened??
>>>>>
>>>>>
>>>> what happens when you run this, as root:
>>>>
>>>> yum --installroot
>>>> /var/lib/mock/fedora-development-i386-core/root
>> \ 
>>>>     groupinstall build-minimal build-base build
>>>>
>>>>
>>>  when i gave 
>>>  yum --installroot
>>> /var/lib/mock/fedora-development-i386-core/root 
>>> groupinstall build-minimal build-base build
>>> Output->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>
> http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386/repodata/repomd.xml:
>>> [Errno 14] HTTP Error 404: Content-Length: 345
>>> Date: Mon, 05 Jun 2006 11:43:37 GMT
>>> Accept-Ranges: bytes
>>> Content-Type: text/html
>>> Server: lighttpd/1.3.16
>>> Trying other mirror.
>>> Cannot open/read repomd.xml file for repository:
>> core
>>> failure: repodata/repomd.xml from core: [Errno
>> 256] No
>>> more mirrors to try.
>>> Error: failure: repodata/repomd.xml from core:
>> [Errno
>>> 256] No more mirrors to try.
>> rawhide's repository was broken this weekend and the
>> fix hasn't
>> propagated out to all of the mirrors.
>  No but its happening to me since last Monday and i
> was assuming that it was down so daily i tried 5 times
> and then gave up. So in that situation do u suggest me
> to check any other settings in my system. I followed
> all wiki pages as it is excluding squid setup to set
> up Mock tool.

The other problem you have is that the repository layout has changed.

You need to change the baseurl:
baseurl=http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386

to:
baseurl=http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386/os

Paul.




More information about the fedora-extras-list mailing list