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

    Unable to check for updates (SOLVED)

    Scheduled Pinned Locked Moved General pfSense Questions
    104 Posts 31 Posters 94.3k 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.
    • M
      mcury @bingo600
      last edited by

      @bingo600 said in Unable to check for updates:

      Yes, a repos update ... And the naming might hint that 22.09 is close.

      I think it is close indeed..
      https://redmine.pfsense.org/projects/pfsense-plus/issues?fixed_version_id=60&set_filter=1&status_id=%2A

      dead on arrival, nowhere to be found.

      1 Reply Last reply Reply Quote 1
      • S
        sgc Rebel Alliance
        last edited by sgc

        This is what NetGate support sent to me about this problem.

        Diagnostics --> Edit File --> and in the "Path to file to be Edited", please enter the following and click "Load":

        /usr/local/share/pfSense/pkg/repos/pfSense-repo.conf

        You can then replace the file with the following contents and hit "Save". This will resolve your issue:

        FreeBSD: { enabled: no }

        pfSense-core: {
        url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core",
        mirror_type: "srv",
        signature_type: "fingerprints",
        fingerprints: "/usr/local/share/pfSense/keys/pkg",
        enabled: yes
        }

        pfSense: {
        url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05",
        mirror_type: "srv",
        signature_type: "fingerprints",
        fingerprints: "/usr/local/share/pfSense/keys/pkg",
        enabled: yes
        }

        The problem is gone after changing this.

        W 1 Reply Last reply Reply Quote 13
        • Bob.DigB
          Bob.Dig LAYER 8 @bingo600
          last edited by Bob.Dig

          @bingo600
          I rolled back an "Image" from yesterday mornings backup, fixed it as well. The good thing about all that, I just noticed that I can't roll back an Image of pfSense when it is not running, do to the way I built my network lately, so I had to change that again. 😊

          I think the (official) solution should be pinned somehow.

          bingo600B 1 Reply Last reply Reply Quote 0
          • bingo600B
            bingo600 @Bob.Dig
            last edited by

            @bob-dig
            How did you do that "image backup" ?
            Via the new Boot Environment in 22.05 ?

            Wonder if that one would restore the system too ?
            Anyone knows ???

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

              This is fixed now. As noted the newer repo pkg has the correct URL.

              If you're still seeing it, because the firewall pulled in the bad pkg, then switching the update branch to development and then back to latest stable will pull in the fixed pkg.

              Doing that you will see logged:

              Sep 17 15:36:45 	pkg-static 	13430 	pfSense-repo upgraded: 22.05_5 -> 22.09.a.20220802.0600
              Sep 17 15:37:19 	pkg-static 	22387 	pfSense-repo downgraded: 22.09.a.20220802.0600 -> 22.05_9 
              

              Steve

              1 Reply Last reply Reply Quote 7
              • Bob.DigB
                Bob.Dig LAYER 8 @bingo600
                last edited by Bob.Dig

                @bingo600 said in Unable to check for updates:

                @bob-dig
                How did you do that "image backup" ?

                I use a vm for pfSense.

                @stephenw10 said in Unable to check for updates:

                This is fixed now.

                Too bad I can't test this slick approach to that problem anymore. šŸ˜‰

                bingo600B 1 Reply Last reply Reply Quote 0
                • bingo600B bingo600 referenced this topic on
                • bingo600B
                  bingo600 @Bob.Dig
                  last edited by

                  @bob-dig said in Unable to check for updates:

                  @bingo600 said in Unable to check for updates:

                  @bob-dig
                  How did you do that "image backup" ?

                  I use a vm for pfSense.

                  Ahh šŸ‘

                  If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                  pfSense+ 23.05.1 (ZFS)

                  QOTOM-Q355G4 Quad Lan.
                  CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                  LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                  1 Reply Last reply Reply Quote 0
                  • I
                    Innz
                    last edited by Innz

                    Awesome! Worked on my 6100 without any issues

                    1 Reply Last reply Reply Quote 1
                    • GertjanG Gertjan referenced this topic on
                    • K
                      KB8DOA
                      last edited by

                      This is creepy - I am getting this but never initiated any sort of update.
                      I only noticed as I about weekly go and peek at "Package Manager"
                      to see if I need to do any Package Updates (or install something new).

                      On this pfSense+ on an SG-5100
                      v22.01
                      I was holding off on upgrades, as I wanted to be sure that my OpenVPNs were not going to be "broken" because of changes recently done on recent releases.

                      I am willing to accept that this final resolution might actually upgrade me to v22.05

                      I need advice on whether I should try to fix it using the advice already previously mentioned here on this Forum Topic

                      • which might be meant for those that have intentionally upgraded to v22.05 ?
                      bingo600B 1 Reply Last reply Reply Quote 0
                      • bingo600B
                        bingo600 @KB8DOA
                        last edited by

                        @kb8doa
                        This way of fixing it, came from our resident Netgate guru.
                        https://forum.netgate.com/post/1062058

                        /Bingo

                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                        K 1 Reply Last reply Reply Quote 1
                        • K
                          KB8DOA @bingo600
                          last edited by KB8DOA

                          @bingo600

                          It is not working for me.

                          I am running v22.01 on a SG-5100
                          Should I really have "pfSense_plus-v22_05_amd64-core" in that file?

                          Perhaps a reboot has to happen, to make this effective?

                          bingo600B 1 Reply Last reply Reply Quote 0
                          • bingo600B
                            bingo600 @KB8DOA
                            last edited by bingo600

                            @kb8doa

                            That sounds right you have an Intel CPU

                            b65f5715-913c-4253-b89a-d35efee26e50-image.png

                            Does your file look like this ?

                            b5b415dd-535d-45ce-ba8d-545cbdf1a70f-image.png

                            Else there was a guide how to Edit the file manually here.
                            https://forum.netgate.com/post/1062052

                            But you could try a reboot first

                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              KB8DOA @bingo600
                              last edited by KB8DOA

                              @bingo600

                              Can you clarify:
                              I am running v22.01
                              Should the pfSense.conf file have pfSense_plus-v22_05_amd-core ?

                              And do I need to reboot after fixing this?

                              bingo600B 1 Reply Last reply Reply Quote 0
                              • bingo600B
                                bingo600 @KB8DOA
                                last edited by

                                @kb8doa

                                OOpzz - I missed that you are running 22.01 , thought you were on 22.05

                                According to Netgate , if you have switched to the Development "train" , and then back to "normal" , your file should contain the correct lines.

                                @stephenw10
                                Any wise words here ?

                                If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                                pfSense+ 23.05.1 (ZFS)

                                QOTOM-Q355G4 Quad Lan.
                                CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                                  Yeah, switch to dev(22.11) and then back to prev(22.01). The should restore the correct repos pkg.

                                  You shouldn't need to edit anything manually. But if you do then, yes, it should be 22_01 since that's what you're running.

                                  Steve

                                  1 Reply Last reply Reply Quote 2
                                  • K
                                    KB8DOA @bingo600
                                    last edited by

                                    @bingo600

                                    Did you mean switch the Firmware Branch to "Latest development snapshots (Experimental 22.09 DEVEL)" then Save
                                    Then
                                    switch the Firmware Branch to "Previous stable version (22.01)" then Save
                                    ?

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

                                      Yes, that ^.

                                      K 1 Reply Last reply Reply Quote 0
                                      • K
                                        KB8DOA @stephenw10
                                        last edited by KB8DOA

                                        @stephenw10

                                        Reboot needed?
                                        Because that did not resolve it for me.

                                        Still getting "There are no packages currently installed."

                                        And if I go to System Update, getting "Unable to check for updates"

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

                                          Check the system log. Do you see the repo package being upgraded and then downgraded again?

                                          This could be a completely different problem of course.

                                          Try running at the command line: pkg -d update
                                          See what error it throws.

                                          Steve

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            KB8DOA @stephenw10
                                            last edited by KB8DOA

                                            @stephenw10 @bingo600

                                            It is now working and is seeing updates and packages correctly for v22.01

                                            Thank you all, for your assistance.

                                            1 Reply Last reply Reply Quote 1
                                            • GertjanG Gertjan referenced this topic on
                                            • bmeeksB bmeeks referenced this topic on
                                            • bmeeksB bmeeks referenced this topic on
                                            • bmeeksB bmeeks referenced this topic on
                                            • bmeeksB bmeeks referenced this topic on
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.