unable to use mock

cranium2003 cranium2003 at yahoo.com
Mon Jun 5 12:46:17 UTC 2006


hi,
--- Paul Howarth <paul at city-fan.org> wrote:

> cranium2003 wrote:
> > Hi,
> > --- Paul Howarth <paul at city-fan.org> wrote:
> > 
> >> 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
> >   I dont know what happened. I am attaching my
> current
> > fedora-5-i386-core.cfg under /etc/mock
> 
> This does not appear to be the config you were using
> that caused the 
> error you posted about earlier. That one was for
> rawhide, this one's for 
> FC5.
> 
> You do appear to have a missing newline though,
> before "enabled=1" for 
> the [extras-i386] repo.
> 
  Oops i remove mock package and again install it
thru' yum and now my errors are
yum --installroot
/var/lib/mock/fedora-development-i386-core/root 
groupinstall build-minimal build-base build
http://extras64.linux.duke.edu/plague-results/development/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Date: Mon, 05 Jun 2006
12:32:12 GMT
Server: Apache/2.0.52
Content-Length: 324
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: local
failure: repodata/repomd.xml from local: [Errno 256]
No more mirrors to try.
Error: failure: repodata/repomd.xml from local: [Errno
256] No more mirrors to try.
 
     Attaching my
/var/lib/mock/fedora-development-i386-core/root/etc/yum.conf
file.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum.conf
Type: application/octet-stream
Size: 496 bytes
Desc: 2662009895-yum.conf
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060605/b1f98520/attachment.obj>


More information about the fedora-extras-list mailing list