mock woes - ftp mirror setup trouble

Julian Sikorski belegdol at gmail.com
Sun Aug 5 10:37:52 UTC 2007


Hello folks,

I was trying to set up mock to use the fastest mirror available, as
according to yum-fastestmirror plugin data. I set it up as follows:

[fedora]
name=fedora
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=x86_64
ftp://ftp.pwr.wroc.pl/pub/linux/fedora/linux/releases/7/Everything/x86_64/os/

[updates-released]
name=updates
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f7&arch=x86_64
ftp://ftp.pwr.wroc.pl/pub/linux/fedora/linux/updates/7/x86_64/

Yet, it was moaning about repomd.xml not being found, despite the fact
it is present:

[jsikorski at snowball SRPMS]$ mock --rebuildcache
goffice04-0.4.2-1.fc7.src.rpm
init
clean
prep
This may take a while
Error: Cannot open/read repomd.xml file for repository: updates-released

Error performing yum command: /usr/sbin/mock-helper yum --installroot
/var/lib/mock/fedora-7-x86_64/root install buildsys-build
ending
mock-helper: error: /var/lib/mock/fedora-7-x86_64/root/dev/pts: No such
file or directory

Traceback (most recent call last):
  File "/usr/bin/mock", line 1145, in <module>
    main()
  File "/usr/bin/mock", line 1142, in main
    do_rebuild(config_opts, srpms)
  File "/usr/bin/mock", line 1007, in do_rebuild
    my.close()
  File "/usr/bin/mock", line 415, in close
    self._umountall()
  File "/usr/bin/mock", line 513, in _umountall
    self._umount(self.mounts[key])
  File "/usr/bin/mock", line 506, in _umount
    raise RootError, "could not umount %s error was: %s" % (path, output)
__main__.RootError: could not umount
/var/lib/mock/fedora-7-x86_64/root/dev/pts error was: mock-helper:
error: /var/lib/mock/fedora-7-x86_64/root/dev/pts: No such file or directory

[jsikorski at snowball SRPMS]$

Am I missing something here? Thanks.

Regards,
Julian




More information about the Fedora-maintainers mailing list