ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XenServer 7 has launched!

    IT Discussion
    xenserver
    16
    212
    69.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • KellyK
      Kelly
      last edited by

      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

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • KellyK
          Kelly
          last edited by

          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.

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @Kelly
            last edited by

            @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

            KellyK 1 Reply Last reply Reply Quote 0
            • KellyK
              Kelly @scottalanmiller
              last edited by Kelly

              @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.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                Yup, there is the issue. The repos don't like that different name than what they handle.

                1 Reply Last reply Reply Quote 0
                • KellyK
                  Kelly
                  last edited by

                  Well, altering the distroverpkg to distroverpkg=7.2.1511 isn't fixing anything. Now $releasever is not expanding.

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Kelly
                    last edited by

                    @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.

                    KellyK 1 Reply Last reply Reply Quote 0
                    • KellyK
                      Kelly @scottalanmiller
                      last edited by

                      @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

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Kelly
                        last edited by

                        @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?

                        1 Reply Last reply Reply Quote 0
                        • KellyK
                          Kelly
                          last edited by

                          -bash: centos-release: command not found
                          
                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Kelly
                            last edited by

                            @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 🙂

                            KellyK 1 Reply Last reply Reply Quote 0
                            • KellyK
                              Kelly @scottalanmiller
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                I'm just saying what is a working variable on my server 🙂

                                KellyK 1 Reply Last reply Reply Quote 0
                                • KellyK
                                  Kelly @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in XenServer 7 has launched!:

                                  I'm just saying what is a working variable on my server 🙂

                                  XenServer 7 or CentOS?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • KellyK
                                    Kelly
                                    last edited by

                                    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
                                    
                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Kelly
                                      last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Kelly
                                        last edited by

                                        @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?

                                        KellyK 1 Reply Last reply Reply Quote 0
                                        • KellyK
                                          Kelly @scottalanmiller
                                          last edited by

                                          @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.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Kelly
                                            last edited by

                                            @Kelly said in XenServer 7 has launched!:

                                            @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.

                                            Okay, that's what I thought.

                                            And yum still isn't working? Might have to just put in the manual repo updates then.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 6 / 11
                                            • First post
                                              Last post