Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pkg Errors After Updating/Installing Packages

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 3 Posters 459 Views
    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.
    • D
      djtech2k
      last edited by

      I have a NetGate 1541 running pfsense that is used on a disconnected network. In order to update and install needed bgp packages, I was able to get a primitive wireless connection working over a cellphone network as a temporary measure to apply these updates.

      The dashboard said no pfsense update was needed as it was running the newest version. I was able to install the FRR package once I ran “pkg update” from the CLI console.. FRR and its dependencies seemed to install successfully as the web admin panel said success. I then saw that the factory installed IPsec and wireshark packages needed updated so I clicked the button to update those.

      After that point, everything seemed to freeze. The admin web panel was unresponsive and the console was very slow as well. After waiting for a while with no change, I navigated away from that update package page. When I went back to the console, the “pkg update” command now returned an error saying libssl.so.30 cannot be found. Nothing with pkg commands worked. So I rebooted the device.

      It is not back online and seems to be operating but the pkg errors persist. I would like to know how to resolve this issue before I put this device into production.

      What can I do to solve this error? I’m unsure of the impact it is having at this point but don’t want to depend on the device until it’s working as expected without errors.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @djtech2k
        last edited by

        @djtech2k were you on 23.09.1? (See my sig)

        “Not” or “now” back online?

        Did you find https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors ?

        Brute force would be to reinstall. You can get the install image from Netgate for free.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        D 1 Reply Last reply Reply Quote 0
        • D
          djtech2k @SteveITS
          last edited by

          @SteveITS Good catch. I meant to say it IS online.

          I have not read/tried that article but I will do that.

          In the meantime, I unboxed a new NetGate 1541 that’s new in the box but it’s been probably 18 months or so. I’m not in the location of the one I opened this thread about so I’m messing with this one as a test. I ran repeated updates on pfsense until it said it was newest version, which I think was 23.09 IIRC.

          The installed packages changed between the upgrades and I noticed they are different than what’s on my original 1541 and also different than a pfsense test vm I have running. All 3 have different installed packages from factory.

          Anyway, this new 1541 is updated and I also updated the IPsec package that was installed. I went to the console and tried pkg help, and it fails with the same error as the original.

          Thanks for the reference I will try it asap.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You will need to use pkg-static update if it's not on the current version because it will have updated pkg to the current version.

            That should not prevent the gui seeing pfSense updates or package updates though. It always uses pkg-static.

            But you should upgrade to the current version, 23.09.1, before upgrading packages.

            Steve

            D 1 Reply Last reply Reply Quote 0
            • D
              djtech2k @stephenw10
              last edited by

              I am looking the problematic one right now and it shows the following:

              Current Stable Version 23.09.1

              Current Base system: 23.05.1
              Latest Base System: 23.05.1

              Status: Up to Date

              Why do I not have the option to upgrade from 23.05.1 to the 23.09.1?

              1 Reply Last reply Reply Quote 0
              • D
                djtech2k
                last edited by

                When I run pkg-static upgrade, I get errors about unable to fetch package and error updating repositories.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  That's expected if the 23.09.1 branch is selected whilst running 23.05.1 because the ABI version difference prevents it.

                  You should still be able to run: pfSense-upgrade -d though because that expects the ABI difference and allows for it.

                  What error do you see running that?

                  1 Reply Last reply Reply Quote 0
                  • D
                    djtech2k
                    last edited by

                    I ended up figuring it out by a couple of things. I don't know why the UI was saying up to date, but after running some of the commands and I set the default gateway for the "temp" WAN connection, then the commands started working and the UI started saying update available.

                    There was some kind of connectivity issue resolving the DNS for the repo's and I don't know why hard setting the default gateway made it work, but thats what happened.

                    I was able to update to the newest version and the pkg commands work again. Thanks for the consult.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.