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

    Broken packages no updates available 22.05-RELEASE

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 3 Posters 746 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      At the command line run: pkg-static -d update

      What error(s) does it report?

      Steve

      M 1 Reply Last reply Reply Quote 0
      • M
        mike_broxt @stephenw10
        last edited by

        @stephenw10 said in Broken packages no updates available 22.05-RELEASE:

        At the command line run: pkg-static -d update

        What error(s) does it report?

        Steve

        Just a device ID nothing else. I tried to restore backup that didn't work. I ended up resetting it to the factory settings, and the problem is still there. It can't check the updates of the device, nor packages are available. When I reset I got at the end an error saying something like " it wasn't possible to identify whick pfsense kernel is installed"

        What else can I do?

        Thanks

        S M 2 Replies Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @mike_broxt
          last edited by

          @mike_broxt I'd strongly consider reinstalling and restoring your backup file.
          https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html

          Updates on slower storage can easily take 10-15 minutes but 30 seems long. Did you uninstall packages before the update? If not it still might not have been finished...

          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!

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

            When you run that command you should see quite a lot of output, even when it succeeds:

            [22.05-RELEASE][admin@fw1.stevew.lan]/root: pkg-static -d update
            DBG(1)[52987]> pkg initialized
            Updating pfSense-core repository catalogue...
            DBG(1)[52987]> PkgRepo: verifying update for pfSense-core
            DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            pfSense-core repository is up to date.
            Updating pfSense repository catalogue...
            DBG(1)[52987]> PkgRepo: verifying update for pfSense
            DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz
            DBG(1)[52987]> opening libfetch fetcher
            DBG(1)[52987]> Fetch > libfetch: connecting
            DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz with opts "i"
            DBG(1)[52987]> Fetch: fetcher chosen: https
            pfSense repository is up to date.
            All repositories are up to date.
            

            Yours will probably have a bunch of errors in there.

            Re-installing clean is probably going to be fastest though, I agree.

            Steve

            M 1 Reply Last reply Reply Quote 0
            • M
              mike_broxt @mike_broxt
              last edited by

              @mike_broxt said in Broken packages no updates available 22.05-RELEASE:

              @stephenw10 said in Broken packages no updates available 22.05-RELEASE:

              At the command line run: pkg-static -d update

              What error(s) does it report?

              Steve

              Just a device ID nothing else. I tried to restore backup that didn't work. I ended up resetting it to the factory settings, and the problem is still there. It can't check the updates of the device, nor packages are available. When I reset I got at the end an error saying something like " it wasn't possible to identify whick pfsense kernel is installed"

              What else can I do?

              Thanks

              I think that's the only option left I tried everything. Thanks for the tip for setting off packages before upgrade. Thanks

              1 Reply Last reply Reply Quote 0
              • M
                mike_broxt @stephenw10
                last edited by

                @stephenw10 said in Broken packages no updates available 22.05-RELEASE:

                When you run that command you should see quite a lot of output, even when it succeeds:

                [22.05-RELEASE][admin@fw1.stevew.lan]/root: pkg-static -d update
                DBG(1)[52987]> pkg initialized
                Updating pfSense-core repository catalogue...
                DBG(1)[52987]> PkgRepo: verifying update for pfSense-core
                DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/meta.conf with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.pkg with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-core/packagesite.txz with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                pfSense-core repository is up to date.
                Updating pfSense repository catalogue...
                DBG(1)[52987]> PkgRepo: verifying update for pfSense
                DBG(1)[52987]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/meta.conf with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                DBG(1)[52987]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz
                DBG(1)[52987]> opening libfetch fetcher
                DBG(1)[52987]> Fetch > libfetch: connecting
                DBG(1)[52987]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v22_05_armv7-pfSense_plus_v22_05/packagesite.txz with opts "i"
                DBG(1)[52987]> Fetch: fetcher chosen: https
                pfSense repository is up to date.
                All repositories are up to date.
                

                Yours will probably have a bunch of errors in there.

                Re-installing clean is probably going to be fastest though, I agree.

                Steve

                Nope. I'm not getting anything. null. No tails, no errors, nothing.

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

                  Like it tries to run and has no output? Or it just finishes with no output?
                  Both would be very odd....

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    mike_broxt @stephenw10
                    last edited by mike_broxt

                    @stephenw10 said in Broken packages no updates available 22.05-RELEASE:

                    Like it tries to run and has no output? Or it just finishes with no output?
                    Both would be very odd....

                    No output at all. When I press enter it goes to the the next line waiting for the command. Like nothing was entered previously. Like I typed CTRL + C. :)

                    I've submitted a ticket for the stable image. Thanks

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

                      Hmm, yeah, that's not something I've seen before then. Clean reinstall would be best.

                      Steve

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mike_broxt @stephenw10
                        last edited by

                        @stephenw10 Thanks Steve! Everything is ok now. I've built a new image and restored my backup. Yeah you were right guys, it took at least 40 min to reinstall and update packages in the background. I wish I can monitor all background processes, to be able to understand what is happening behind the scene.

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