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:
Hi,
--- Paul Howarth <paul@xxxxxxxxxxxx> wrote:

cranium2003 wrote:
Hi,
--- seth vidal <skvidal@xxxxxxxxxxxxxx> wrote:

On Mon, 2006-06-05 at 04:45 -0700, cranium2003
wrote:
Hi,
--- seth vidal <skvidal@xxxxxxxxxxxxxx> 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.

The configuration for the "local" repository is also broken (as indicated in the error message). Try changing the baseurl for that repo

from:
baseurl=http://extras64.linux.duke.edu/plague-results/development/

to:
baseurl=http://extras64.linux.duke.edu/plague-results/fedora-development-extras/

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