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

    Pfsense Damaged: module 'Pkg'? During dnsmasq update

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    7 Posts 4 Posters 1.0k 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.
    • A
      awair
      last edited by

      I just tried to patch the dnsmasq bug, via the Diagnostics/Command Prompt route:

      pkg upgrade dnsmasq
      

      Something crashed, I tried to check the status and get a message that:

      libssl.so.8 not found, required by pkg
      

      What,s the best course of action?

      I have a backup, somewhere, and cannot connect to the GUI after a reboot. Internet access is still working, but not sure of the integrity of the install.

      Will an upgrade to 2.4.0 fix everything, or fail mid-progress?

      Many thanks.

      2.4.3 (amd64)
      and given up on the SG-1000

      1 Reply Last reply Reply Quote 0
      • A
        awair
        last edited by

        Definitely locked out of GUI - despite another reboot.

        VPN not working, but still have internet.

        Backup was made before my last major changes - so can I repair this via the console, or is it a full install?

        2.4.3 (amd64)
        and given up on the SG-1000

        1 Reply Last reply Reply Quote 0
        • P
          PiBa
          last edited by

          Can try and fix things from console.

          pkg-static upgrade -f
          

          But a reinstall might be quicker.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            If you want to upgrade to 2.4, then using pfSense-upgrade from the console should work OK, even with that error. If not, run "pkg-static upgrade -yf pfSense-upgrade" and then run pfSense-upgrade again.

            If you want to stay on 2.3.x, go to System > Update, Update Settings, set the option to stay on the 2.3.x security/errata branch, and then reinstall pkg:

            pkg-static install -f pkg
            

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • A
              awair
              last edited by

              Thanks @PiBa & @jimp

              I have tried pfSense-upgrade from the console, and get multiple errors about missing (library) files. In fact every menu option I try from the console bounces back after a page of errors.

              I will complete a fresh install, but before I do - which directories & files should I copy to USB to attempt to recover some of my newer settings that are not backed up. I really need the latest aliases, firewall rules and Static DHCP reservations (about 100).

              The pfsense box is now offline, while I fix this, with a temporary router in place.

              Many thanks

              2.4.3 (amd64)
              and given up on the SG-1000

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                @awair:

                …. will complete a fresh install, but before I do - which directories & files should I copy to USB to attempt to recover some of my newer settings that are not backed up. I really need the latest aliases, firewall rules and Static DHCP reservations (about 100).

                If you can access this directory : /cf/conf then save this file config.xml.
                Everything (except RRD data) is in there.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                1 Reply Last reply Reply Quote 0
                • A
                  awair
                  last edited by

                  Thanks very much @Gertjan.

                  I managed to save the file to USB, and to my delight the new installer also offered to pick this up and automatically restored my new 2.4 install.

                  2.4.3 (amd64)
                  and given up on the SG-1000

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