Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

镜像资源访问404错误 #216

Closed
houming818 opened this issue Mar 24, 2017 · 5 comments
Closed

镜像资源访问404错误 #216

houming818 opened this issue Mar 24, 2017 · 5 comments

Comments

@houming818
Copy link

这是访问链接:http://mirrors.tuna.tsinghua.edu.cn/virtualbox/rpm/el7/repodata/repomd.xml.asc: [Errno 14] HTTP Error 404 - Not Found
这是请求机器的ip信息:
{
"ip": "119.147.158.52",
"hostname": "No Hostname",
"city": "Guangzhou",
"region": "Guangdong",
"country": "CN",
"loc": "23.1167,113.2500",
"org": "AS134763 CHINANET Guangdong province network"
}
备注:访问mirror.tuna.tsinghua.edu.cn的域名也是404错误。

@shankerwangmiao shankerwangmiao changed the title [service issue]镜像资源访问404错误 镜像资源访问404错误 Mar 24, 2017
@shankerwangmiao
Copy link
Member

请设定

repo_gpgcheck=0

@huiyiqun
Copy link
Member

当前 virtualbox 是使用 https://github.com/tuna/tunasync-scripts/blob/master/virtualbox.sh 这个脚本同步的,metadata是在本地用createrepo重新创建的,而不是直接下载上游metadata,再加上tuna本身通过https服务文件,所以认为gpg对于我们没什么意义。

所以这个签名文件在我们服务器上就是不存在的。

可以按如下方式设置repo:

[virtualbox]
name=Virtualbox Repository
baseurl=https://mirrors.tuna.tsinghua.edu.cn/virtualbox/rpm/el$releasever/
gpgcheck=0
enabled=1

@houming818
Copy link
Author

为什么要关掉gpg。

@shankerwangmiao
Copy link
Member

shankerwangmiao commented Mar 24, 2017 via email

@bigeagle
Copy link
Member

不是「gpg没有意义」,而是我们本身就是「中间人」,不可能进行 gpg 签名。

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

No branches or pull requests

4 participants