XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Just FYI: current update seams to break NUT dependancies

    Scheduled Pinned Locked Moved XCP-ng
    12 Posts 7 Posters 215 Views 6 Watching
    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.
    • F Online
      FritzGerald
      last edited by FritzGerald

      Just a short informational update. Current xcp-ng update seems to break nut dependancies.

      Error: Package: nut-2.8.0-2.el7.x86_64 (@epel)
                 Requires: libnetsnmp.so.31()(64bit)
                 Removing: 1:net-snmp-libs-5.7.2-52.1.xcpng8.3.x86_64 (@xcp-ng-updates)
                     libnetsnmp.so.31()(64bit)
                 Updated By: 1:net-snmp-libs-5.9.3-8.1.xcpng8.3.x86_64 (xcp-ng-updates)
                    ~libnetsnmp.so.40()(64bit)
                 Available: 1:net-snmp-libs-5.7.2-33.el7_5.2.x86_64 (xcp-ng-base)
                     libnetsnmp.so.31()(64bit)
                 Available: 1:net-snmp-libs-5.7.2-51.1.xcpng8.3.x86_64 (xcp-ng-base)
                     libnetsnmp.so.31()(64bit)
                 Available: 1:net-snmp-libs-5.7.2-51.2.xcpng8.3.x86_64 (xcp-ng-base)
                     libnetsnmp.so.31()(64bit)
                 Available: 1:net-snmp-libs-5.7.2-51.3.xcpng8.3.x86_64 (xcp-ng-base)
                     libnetsnmp.so.31()(64bit)
      

      Since NUT is an "external" package and everyone was warned about installing "3rd-party" packages, this is not an official xcp-ng problem. I have not yet found a workaround. Since the old repos EPEL 7 are not really updated, it could get tricky. I just wanted to let you know.

      bogikornelB 1 Reply Last reply Reply Quote 0
      • bogikornelB Online
        bogikornel @FritzGerald
        last edited by

        @FritzGerald workaround

        yum update --exclude=net-snmp*
        
        F stormiS 2 Replies Last reply Reply Quote 0
        • F Online
          FritzGerald @bogikornel
          last edited by

          @bogikornel said:

          yum update --exclude=net-snmp*

          You made my day. Works fine and I have learned something new. Thank you for your quick help!

          1 Reply Last reply Reply Quote 0
          • K Offline
            Kajetan321
            last edited by

            I'm having the same problem. I could never get NUT to work properly anyways. What's the best way to uinstal it?

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              Kajetan321 @Kajetan321
              last edited by

              It looks like "yum remove nut" does the trick.

              rzrR 1 Reply Last reply Reply Quote 1
              • P ph7 referenced this topic
              • rzrR Offline
                rzr Vates 🪐 XCP-ng Team @Kajetan321
                last edited by rzr

                @Kajetan321 said:

                It looks like "yum remove nut" does the trick.

                Yes this "extra" tool was not (never?) supported ,

                If you really need it, there are 2 options to consider:

                • 1st is convince us to add it to the distro
                • 2d rebuild it yourself (to link with updated dep, and also rebuild its deps like neon)
                F D 2 Replies Last reply Reply Quote 1
                • stormiS Offline
                  stormi Vates 🪐 XCP-ng Team @bogikornel
                  last edited by

                  @bogikornel said:

                  @FritzGerald workaround

                  yum update --exclude=net-snmp*
                  

                  This is dangerous.

                  F 2 Replies Last reply Reply Quote 0
                  • F Online
                    FritzGerald @rzr
                    last edited by

                    @rzr
                    Hi, thank you for having a look.

                    Regarding point 1.)
                    As it was written by Olivier Lambert in post https://xcp-ng.org/forum/topic/10250/what-os-is-xcp-ng-8-3-based-on/8?_=1773671654080 I understand that your focus is on datacenter usage. Nevertheless I still think - and in other posts users mention it as well - there are quite a lot small non-datacenter - installations in place that use xcp-ng in small office structures using and needing an USV, since it simply essential. I love using XCP-NG and believe it would be a goodie that would make a lot small open source supporters like me very happy.

                    Regarding point 2.)
                    I am always careful when interfering with "mighty" tools like hypervisors. My experience is that my knowledge is unfortunately to small to see all caveats.

                    1 Reply Last reply Reply Quote 1
                    • F Online
                      FritzGerald @stormi
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • F Online
                        FritzGerald @stormi
                        last edited by

                        @stormi said:

                        @bogikornel said:

                        @FritzGerald workaround

                        yum update --exclude=net-snmp*
                        

                        This is dangerous.

                        @stormi Do you see any immediate threat? I am asking since it is working so far for me

                        1 Reply Last reply Reply Quote 0
                        • P Online
                          ph7
                          last edited by

                          You can install nut on a separate (small) machine and let it ssh to Your master and run a shutdown script.
                          That's how I do it since a while back when the NUT-package was temporarily removed from the extra repo

                          1 Reply Last reply Reply Quote 0
                          • D Online
                            DustinB @rzr
                            last edited by

                            @rzr said:

                            Yes this "extra" tool was not (never?) supported ,

                            NUT has never been supported in XCP-ng, it has been asked about for a long time though and a lot of people handle XCP-ng not as an appliance but as any other Server/Desktop system and install packages because they aren't blocked from doing so

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • First post
                              Last post