0

我一直在尝试使用 mock 为 epel-7 创建一个 chroot。按照此链接: http: //miroslav.suchy.cz/blog/archives/2015/05/20/why_mock_does_not_work_on_el_6_and_el7_and_how_to_fix_it/index.html 我更改了我的 .cfg 文件。现在,当我创建 chroot 时,我收到以下错误:

 sudo ./create_chroot.sh epel-7
INFO: mock.py version 1.2.8 starting (python version = 2.7.8)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
INFO: enabled ccache
Mock Version: 1.2.8
INFO: Mock Version: 1.2.8
Start: yum install
Error: Nothing to do
ERROR: Command failed. See logs for output.

由于我已经在 /etc/mock/*.cfg 文件中进行了更改,我不确定为什么我仍然会收到此错误。您能帮我弄清楚还需要哪些其他更改吗?TIA

4

1 回答 1

0

原来原因是没有正确配置回购。更改了存储库,一切正常。谢谢。

于 2015-06-04T05:35:35.420 回答