Julian Sikorski pisze: > 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@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@snowball SRPMS]$ > > Am I missing something here? Thanks. > > Regards, > Julian > > I am missing baseurl :). Please ignore my stupidity, I was partying long last night. Regards, Julian -- Fedora-maintainers mailing list Fedora-maintainers@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers -- Fedora-maintainers-readonly mailing list Fedora-maintainers-readonly@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly