Re: unable to use mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cranium2003 wrote:
Hi,
--- Paul Howarth <paul@xxxxxxxxxxxx> wrote:

cranium2003 wrote:
There's still something wrong with your
configuration here. You're using fedora-5-i386-core.cfg yet the root is fedora-development-i386-core. What's in /etc/mock/fedora-5-i386-core.cfg?

 Attaching /etc/mock/fedora-5-i386-core.cfg file
here.

The contents of that file are appropriate for
rawhide, not FC5.

If you change all occurrences of "development" in
the file to "5", you should at least pick up the FC5 repos.
 Did it but still same error. Oh god what a prolmes
are in using Fedora Extras. How people can use mock i
dont understand.

When it works, it works well. I wouldn't dream of using it with a core or updates repository on the Internet myself though - I always use a local mirror, which speeds things up significantly and I can rebuild the metadata myself if it's out of sync.

Really finding a good repository is a
tough  task i feel.
   mock -r fedora-5-i386-core.cfg foo.src.rpm
gave
init
clean
prep
This may take a while
Error peforming yum command: /usr/sbin/mock-helper yum
--installroot /var/lib/mock/fedora-5-i386-core/root
groupinstall build build-minimal build-base
ending
done

and yum --installroot /var/lib/mock/fedora-development-i386-core/root groupinstall build-minimal build-base build
http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386/os/Fedora/RPMS/python-2.4.3-3.i386.rpm:
[Errno 4] Socket Error: (11, 'Resource temporarily
unavailable')
Trying other mirror.
Error: failure: Fedora/RPMS/python-2.4.3-3.i386.rpm
from core: [Errno 256] No more mirrors to try.

I'd strongly consider using a local mirror, or at least a decent cache as suggested on the MockTricks wiki page.

Paul.

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux