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

    Unable to check for updates

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    44 Posts 3 Posters 6.9k 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.
    • hugoeyngH
      hugoeyng @stephenw10
      last edited by

      @stephenw10 said in Unable to check for updates:

      Run pkg-static -d update at the command line and see what error is shown.

      Hello, Stephen.

      5b940e8c-fa44-4be6-89dc-cd26cc04dbba-image.png

      10ebb520-4866-4cb0-bc26-6e5ffc412a12-image.png

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

        Ok, try setting the branch back to 23.01 and see if it still shows that same authentication error.

        If not then it will probably have pulled in the updated versions or pkg and pfSense-upgrade, the system log will show that. And you should then be able to set 23.05.1 and upgrade to that.

        hugoeyngH 1 Reply Last reply Reply Quote 0
        • hugoeyngH
          hugoeyng @stephenw10
          last edited by

          @stephenw10 After setting branch to 23.01:

          1d0400a5-bbc7-42b8-89bf-fcbe42af6cce-image.png

          And logging GUI again

          b8e76037-75bf-4258-ae9e-0184ee901428-image.png

          0cc26ced-84fe-4417-8994-62bb1ae20123-image.png

          7dece3ee-918c-4282-bec4-58492576abe8-image.png

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

            It looks like you might be hitting a bug with the repoc version that was in RC. If that is the case it should be able to upgrade from the CLI OK.

            Does it show 23.05.1 available as a repo branch?

            hugoeyngH 1 Reply Last reply Reply Quote 0
            • hugoeyngH
              hugoeyng @stephenw10
              last edited by

              @stephenw10 Hi.

              e9add013-3033-4289-bec2-ff3b65c14100-image.png

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

                Ok, try upgrading to 23.05 at the command line. Set the branch to 23.05 in the gui then at the CLI run:
                pfSense-repoc-static

                Then pfSense-upgrade -d

                hugoeyngH 1 Reply Last reply Reply Quote 0
                • hugoeyngH
                  hugoeyng @stephenw10
                  last edited by

                  @stephenw10 is better but not good :) Something is still wrong

                  3cfbb961-7ec7-477b-b04c-66b2081f5a2b-image.png

                  452da9c0-83b7-400d-a8ff-0a69c09e1ce6-image.png

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

                    So it did upgrade? Or just pulled in the new repo list?

                    What do you see you see when you run pkg -d update at the command line now?

                    If you can copy and pasted that here rather than take a screen shot it's much easier to read.

                    Steve

                    hugoeyngH 1 Reply Last reply Reply Quote 0
                    • hugoeyngH
                      hugoeyng @stephenw10
                      last edited by

                      @stephenw10 The problem "Unable to check for updates" persists.

                      DBG(1)[46779]> pkg initialized
                      Updating pfSense-core repository catalogue...
                      DBG(1)[46779]> PkgRepo: verifying update for pfSense-core
                      DBG(1)[46779]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/meta.conf
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/meta.conf with opts "i"
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.pkg
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.pkg with opts "i"
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.txz
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.txz with opts "i"
                      pfSense-core repository is up to date.
                      Updating pfSense repository catalogue...
                      DBG(1)[46779]> PkgRepo: verifying update for pfSense
                      DBG(1)[46779]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/meta.conf
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/meta.conf with opts "i"
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.pkg
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.pkg with opts "i"
                      DBG(1)[46779]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.txz
                      DBG(1)[46779]> opening libfetch fetcher
                      DBG(1)[46779]> Fetch > libfetch: connecting
                      DBG(1)[46779]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.txz with opts "i"
                      pfSense repository is up to date.
                      All repositories are up to date.

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

                        Ok, so it can update at the command line.

                        Did it upgrade? To 23.05? 23.05.1?

                        If not upgrade at the command line: pfSense-upgrade -d

                        hugoeyngH 1 Reply Last reply Reply Quote 0
                        • hugoeyngH
                          hugoeyng @stephenw10
                          last edited by

                          @stephenw10 Hello. Upgraded (last image). But is still showing "Unable to check for updates"

                          Updating repositories metadata...
                          Updating pfSense-core repository catalogue...
                          Fetching meta.conf: . done
                          Fetching packagesite.pkg: . done
                          Processing entries: .. done
                          pfSense-core repository update completed. 15 packages processed.
                          Updating pfSense repository catalogue...
                          Fetching meta.conf: . done
                          Fetching packagesite.pkg: .......... done
                          Processing entries: .......... done
                          pfSense repository update completed. 548 packages processed.
                          All repositories are up to date.

                          The following 9 package(s) will be affected (of 0 checked):

                          Installed packages to be UPGRADED:
                          pfSense: 23.05 -> 23.05.1 [pfSense]
                          pfSense-base: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-boot: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-default-config: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-kernel-pfSense: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-pkg-System_Patches: 2.2.5 -> 2.2.6 [pfSense]
                          pfSense-rc: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-repo: 23.05 -> 23.05.1 [pfSense]
                          pkg: 1.19.1_1 -> 1.19.1_2 [pfSense]

                          Number of packages to be upgraded: 9

                          193 MiB to be downloaded.

                          **** WARNING ****
                          Reboot will be required!!
                          Proceed with upgrade? (y/N) y

                          Removing vital flag from php82...
                          Downloading upgrade packages...
                          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.
                          Checking for upgrades (9 candidates): ......... done
                          Processing candidates (9 candidates): ......... done
                          The following 9 package(s) will be affected (of 0 checked):

                          Installed packages to be UPGRADED:
                          pfSense: 23.05 -> 23.05.1 [pfSense]
                          pfSense-base: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-boot: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-default-config: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-kernel-pfSense: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-pkg-System_Patches: 2.2.5 -> 2.2.6 [pfSense]
                          pfSense-rc: 23.05 -> 23.05.1 [pfSense-core]
                          pfSense-repo: 23.05 -> 23.05.1 [pfSense]
                          pkg: 1.19.1_1 -> 1.19.1_2 [pfSense]

                          Number of packages to be upgraded: 9

                          193 MiB to be downloaded.
                          [1/9] Fetching pfSense-base-23.05.1.pkg: .......... done
                          [2/9] Fetching pfSense-rc-23.05.1.pkg: .. done
                          [3/9] Fetching pfSense-pkg-System_Patches-2.2.6.pkg: .......... done
                          [4/9] Fetching pfSense-default-config-23.05.1.pkg: . done
                          [5/9] Fetching pfSense-23.05.1.pkg: . done
                          [6/9] Fetching pfSense-boot-23.05.1.pkg: .......... done
                          [7/9] Fetching pfSense-repo-23.05.1.pkg: . done
                          [8/9] Fetching pfSense-kernel-pfSense-23.05.1.pkg: .......... done
                          [9/9] Fetching pkg-1.19.1_2.pkg: .......... done
                          Checking integrity... done (0 conflicting)

                          Downloading pkg...

                          No packages are required to be fetched.
                          Integrity check was successful.

                          Upgrading pfSense-boot...>>> Unmounting /boot/efi...
                          umount: /boot/efi: not a file system root directory
                          done.
                          Upgrading pfSense-rc...
                          Checking integrity... done (0 conflicting)
                          The following 1 package(s) will be affected (of 0 checked):

                          Installed packages to be UPGRADED:
                          pfSense-rc: 23.05 -> 23.05.1 [pfSense-core]

                          Number of packages to be upgraded: 1
                          [1/1] Upgrading pfSense-rc from 23.05 to 23.05.1...
                          ===> Setting net.pf.request_maxcount=400000
                          [1/1] Extracting pfSense-rc-23.05.1: ......... done

                          Upgrading pfSense kernel...
                          Checking integrity... done (0 conflicting)
                          The following 1 package(s) will be affected (of 0 checked):

                          Installed packages to be UPGRADED:
                          pfSense-kernel-pfSense: 23.05 -> 23.05.1 [pfSense-core]

                          Number of packages to be upgraded: 1
                          [1/1] Upgrading pfSense-kernel-pfSense from 23.05 to 23.05.1...
                          [1/1] Extracting pfSense-kernel-pfSense-23.05.1: .......... done
                          ===> Keeping a copy of current kernel in /boot/kernel.old

                          Removing unnecessary packages...
                          Checking integrity... done (0 conflicting)
                          Nothing to do.
                          System is going to be upgraded. Rebooting in 10 seconds.

                          Broadcast Message from admin@dmfirewall.datamais.local
                          (/dev/pts/0) at 10:20 -03...

                          System is going to be upgraded. Rebooting in 10 seconds.

                          8b6f60eb-5165-4fa1-96eb-dd46cee8bcbf-image.png

                          4e0d1d49-2e0b-4db2-a3e8-6e78ba7e74ee-image.png

                          78b223ce-9e04-4ba4-ba01-0e691d08626c-image.png

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

                            Do you still see an error when running pkg -d update ?

                            hugoeyngH 1 Reply Last reply Reply Quote 0
                            • hugoeyngH
                              hugoeyng @stephenw10
                              last edited by

                              @stephenw10 I do not see any error running pkg -d update

                              root: pkg -d update
                              DBG(1)[86404]> pkg initialized
                              Updating pfSense-core repository catalogue...
                              DBG(1)[86404]> PkgRepo: verifying update for pfSense-core
                              DBG(1)[86404]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/meta.conf
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/meta.conf with opts "i"
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.pkg
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.pkg with opts "i"
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.txz
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-core/packagesite.txz with opts "i"
                              pfSense-core repository is up to date.
                              Updating pfSense repository catalogue...
                              DBG(1)[86404]> PkgRepo: verifying update for pfSense
                              DBG(1)[86404]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/meta.conf
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/meta.conf with opts "i"
                              DBG(1)[86404]> Fetch: fetcher chosen: https
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.pkg
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.pkg with opts "i"
                              DBG(1)[86404]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.txz
                              DBG(1)[86404]> opening libfetch fetcher
                              DBG(1)[86404]> Fetch > libfetch: connecting
                              DBG(1)[86404]> Fetch: fetching from: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_1_amd64-pfSense_plus_v23_05_1/packagesite.txz with opts "i"
                              pfSense repository is up to date.
                              All repositories are up to date.

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

                                Hmm, do you see packages listed in the package manager in the gui?

                                hugoeyngH 1 Reply Last reply Reply Quote 0
                                • hugoeyngH
                                  hugoeyng @stephenw10
                                  last edited by

                                  @stephenw10 Yes, I can see. In both of them, in Installed Packages and Available Packages.

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

                                    Hmm what does pfSense-upgrade -dc show?

                                    hugoeyngH 3 Replies Last reply Reply Quote 0
                                    • hugoeyngH
                                      hugoeyng @stephenw10
                                      last edited by stephenw10

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • hugoeyngH
                                        hugoeyng @stephenw10
                                        last edited by stephenw10

                                        @stephenw10 it shows:

                                        /root: pfSense-upgrade -dc
                                        >>> Updating repositories metadata...
                                        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.
                                        Your system is up to date
                                        

                                        I found out that disabling a gateway group where the WAN was "Tier 1", and I setup "Never" for one of them, then worked.

                                        b4d39f46-a3a8-4ecc-b640-ef186ff9bcd4-image.png

                                        I doesn´t mind what of the WAN I use "ner" in the gateway group, since I leave only one of them as "Tier 1".

                                        1 Reply Last reply Reply Quote 0
                                        • hugoeyngH
                                          hugoeyng @stephenw10
                                          last edited by

                                          @stephenw10 looking a little bit closer, I found out that

                                          90829a24-4c90-4a70-b6bf-8e8e1053279b-image.png

                                          If I leave GW_WAN (1) as the the default gateway, it works and, if I leave OPT1GW (2) as default gateway it doesn´t work.

                                          Could be something related too DNS?

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

                                            Hmm, that's odd. Also nice catch!

                                            Not sure how that only affects the check at the GUI.... Let me dig into it.

                                            What happens if you try running pfSense-upgrade -dc from Diag > Command Prompt when GW2 is default? Does it also fail there? What error does it return?

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