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

    Pkg stopped working and can't update 2.4.3-RELEASE-p1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    8 Posts 4 Posters 1.2k 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.
    • C
      cbadk
      last edited by

      One day I saw that the update stopped working and tried manually updating it. But all the sudden pkg in the console stopped working. It prints out nothing in the console. It's like its corupted somehow. I've tried all pkg commands, but all of them returns nothing. Just a new line.

      Anyone else experienced this and know how to fix it? I would really hate to install pfsense again...

      alt text

      Release version: 2.4.3-RELEASE-p1

      Best regards,
      Claus

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

        It looks like you have no WAN IP there, do you have a default route even?

        You might try using pkg-static instead of pkg.

        Steve

        1 Reply Last reply Reply Quote 0
        • C
          cbadk
          last edited by

          I've experienced it on a couple of our production servers. No idea what is causing this problem. Had to reinstall the server. First I thought it might had been a hdd problem, but turns out it happen on 2 computers now. First it stops being able to update and the pkg stops working at all.

          PS: I added a black mask over the ip

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

            Next best possibility : DNS setup hosed.

            Try
            pkg-static -d update
            this should return info like :

            DBG(1)[6473]> pkg initialized
            Updating pfSense-core repository catalogue...
            DBG(1)[6473]> PkgRepo: verifying update for pfSense-core
            DBG(1)[6473]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
            DBG(1)[6473]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_4_3_amd64-core/meta.txz with opts "i"
            DBG(1)[6473]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_4_3_amd64-core/packagesite.txz with opts "i"
            pfSense-core repository is up to date.
            Updating pfSense repository catalogue...
            DBG(1)[6473]> PkgRepo: verifying update for pfSense
            DBG(1)[6473]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
            DBG(1)[6473]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_4_3_amd64-pfSense_v2_4_3/meta.txz with opts "i"
            DBG(1)[6473]> Fetch: fetching from: https://files01.netgate.com/pfSense_v2_4_3_amd64-pfSense_v2_4_3/packagesite.txz with opts "i"
            pfSense repository is up to date.
            

            Also : check if another instance is already running :

            ps -ax | grep 'pkg'
            

            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
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              You are on 2.4.3-p1, there are no new updates from that yet (2.4.4 will be out soon, but not yet).

              Before you make any other changes, go to System > Update, Update Settings tab, then set Branch to Latest Stable Version.

              Next, force an update and do a little cleanup:

              $ pkg-static update -f
              $ pkg-static clean -ay
              $ pkg-static install -fy pkg pfSense-repo pfSense-upgrade
              $ pkg-static update -f
              

              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
              • GertjanG
                Gertjan
                last edited by

                @cbadk said in Pkg stopped working and can't update 2.4.3-RELEASE-p1:

                2.4.3-RELEASE-p1

                lol ....
                Like Windows Update : if all is up to date it shows ... nothing ☺

                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
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  It should still return that:

                  [2.4.3-RELEASE][root@pfsense.fire.box]/root: pkg update
                  Updating pfSense-core repository catalogue...
                  pfSense-core repository is up to date.
                  Updating pfSense repository catalogue...
                  pfSense repository is up to date.
                  All repositories are up to date.
                  

                  We haven't seen if pkg-staticresponds yet though.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • C
                    cbadk
                    last edited by

                    We "image" the pfsense routers once a week. As far as I remember none of the pkg commands worked - pkg-static ..etc, and thats why we werent able to install any packages either. But as said before, since I have reinstalled the server it works again. If it happens again I will try and look at the image and see what changed and maybe get an idea why it stops working.

                    Thanks for the help anyway.

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