Skip to content

Instantly share code, notes, and snippets.

@qiaohaijun
Created September 16, 2014 16:23
Show Gist options
  • Save qiaohaijun/9607da445baa89aefcdd to your computer and use it in GitHub Desktop.
Save qiaohaijun/9607da445baa89aefcdd to your computer and use it in GitHub Desktop.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6.latest-rhel-x86_64-server-6. Please verify its path and try again
@qiaohaijun
Copy link
Author

http://gym.wd.djt.ss.vm.sogou-op.org/yum-release/cdh5/%24releasever.x86_64/repodata/repomd.xml
这个问题是一个需要处理的问题,因为这个里面的有一个%24符号,这个没有解析

@qiaohaijun
Copy link
Author

/var/lib/docker/containers

@qiaohaijun
Copy link
Author

将有这种没有解析的repo去掉之后,脚本就可以happy的执行了,mkimage-yum.sh

@qiaohaijun
Copy link
Author

$releasever 变量没有识别

@qiaohaijun
Copy link
Author

rpm -q --qf %{version} redhat-release-server;echo

@qiaohaijun
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment