XenServer 7 has launched!
-
Same repo error as above?
-
Poking at it some more and it looks like there is something sideways about the $releasever variable in the /etc/yum.repos.d/CentOS.* The resulting URL is http://mirror.centos.org/centos/7-2.1511.el7.centos.2.10/os/x86_64/repodata/repomd.xml.
The one that I get manually navigating is: http://mirror.centos.org/centos/7.2.1511/os/x86_64/repodata/repomd.xml
-
That's what I have been thinking. Autodetecting repos are very fragile and I see them fail all of the time. Put in a static, direct link and I bet it will work just fine.
-
I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.
-
@Kelly said in XenServer 7 has launched!:
I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.
What does this show...
cat /etc/redhat-release
-
@scottalanmiller said in XenServer 7 has launched!:
@Kelly said in XenServer 7 has launched!:
I replaced the references in CentOS-Base.repo with 7.2.1511 and that took away some of the errors, but it still failed. Looks like I'll need to update the other *.repo files unless there is a way to change what is going into the $releasever variable.
What does this show...
cat /etc/redhat-release
XenServer release 7.0.0-125380c (xenenterprise)
I get the same output from /etc/centos-release which is what the distroverpkg variable in yum.conf references.
-
Yup, there is the issue. The repos don't like that different name than what they handle.
-
Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.
-
@Kelly said in XenServer 7 has launched!:
Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.
Try this instead: centos-release
That is what is in working CentOS 7 variable for that.
-
@scottalanmiller said in XenServer 7 has launched!:
@Kelly said in XenServer 7 has launched!:
Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.
Try this instead: centos-release
That is what is in working CentOS 7 variable for that.
centos-release is not installed
-
@Kelly said in XenServer 7 has launched!:
@scottalanmiller said in XenServer 7 has launched!:
@Kelly said in XenServer 7 has launched!:
Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.
Try this instead: centos-release
That is what is in working CentOS 7 variable for that.
centos-release is not installed
It said that? Where did it give that error?
-
-bash: centos-release: command not found
-
@Kelly said in XenServer 7 has launched!:
-bash: centos-release: command not found
You dont' run it as a command, you put it into the variable that you mentioned
-
@scottalanmiller said in XenServer 7 has launched!:
@Kelly said in XenServer 7 has launched!:
-bash: centos-release: command not found
You dont' run it as a command, you put it into the variable that you mentioned
Oh, ok. centos-release is the normal entry in yum.conf. It does return the same value as redhat-release though, but both of them are different from the value used in the $releasever. I'm a little confused at the moment.
-
I'm just saying what is a working variable on my server
-
@scottalanmiller said in XenServer 7 has launched!:
I'm just saying what is a working variable on my server
XenServer 7 or CentOS?
-
Summary:
[root@[server] ]# cat /etc/redhat-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# cat /etc/centos-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# yum version Installed: 7-2.1511.el7.centos.2.10/x86_64
-
@Kelly said in XenServer 7 has launched!:
@scottalanmiller said in XenServer 7 has launched!:
I'm just saying what is a working variable on my server
XenServer 7 or CentOS?
CentOS, because XS7 doesn't work.
-
@Kelly said in XenServer 7 has launched!:
Summary:
[root@[server] ]# cat /etc/redhat-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# cat /etc/centos-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# yum version Installed: 7-2.1511.el7.centos.2.10/x86_64
Is that after updating the yum.conf variable?
-
@scottalanmiller said in XenServer 7 has launched!:
@Kelly said in XenServer 7 has launched!:
Summary:
[root@[server] ]# cat /etc/redhat-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# cat /etc/centos-release XenServer release 7.0.0-125380c (xenenterprise) [root@[server] ]# yum version Installed: 7-2.1511.el7.centos.2.10/x86_64
Is that after updating the yum.conf variable?
That is after setting it back to the default of distroverpkg=centos-release.