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 95.5k 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

      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
        • T
          TheQuank @Matt2
          last edited by

          @matt2 Worked on my Super Micro 1537 one too. Thanks so much!

          1 Reply Last reply Reply Quote 0
          • S ssppcc referenced this topic on
          • S ssppcc referenced this topic on
          • S ssppcc referenced this topic on
          • S ssppcc referenced this topic on
          • G
            gothixkhan
            last edited by

            @bingo600 said in Unable to check for updates (SOLVED):

            https://forum.netgate.com/post/1062058

            My sincerest apologies to revive a resolved thread.
            currently experiencing this error.
            switching the upgrade channel to DEVEL and back to upgrade+ did not work for me.

            command pkg -d update keeps throwing certificate errors.

            this is a fresh install of pfsense 2.6

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

              @gothixkhan
              The above solution, was due to an update error that Netgate made.
              I doubt they would make the same mistake again.

              I think there is something else : Than an incomplete update URL, causing your issue.

              /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

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

                Yes, any error you're seeing now is not the same cause.
                What's the actual error 'pkg -d update' shows?

                I know there were some backend issues yesterday you could potentially have been hitting.

                Steve

                G 1 Reply Last reply Reply Quote 0
                • G
                  gothixkhan @stephenw10
                  last edited by

                  @stephenw10 it alternates between Certificate and authentication issues.

                  it flips on reboot.

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

                    Can we see the exact error text?

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gothixkhan @stephenw10
                      last edited by

                      @stephenw10 not anymore, apparently.
                      it works now?

                      I'm sorry

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

                        Cool, good to hear. šŸ‘

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          gothixkhan @stephenw10
                          last edited by

                          @stephenw10 just to clarify what I did and why it worked.

                          I had it set to the development branch.
                          I think you guys had a release either yesterday or the day before.
                          the updater + upgrade to pf+ only works because it picked up the new release, which is 20221220.1549

                          up until yesterday it was erroring out.

                          1 Reply Last reply Reply Quote 1
                          • B
                            briddle @Matt2
                            last edited by

                            @matt2

                            I had the same issue and this worked like a charm!

                            1 Reply Last reply Reply Quote 0
                            • W
                              wifi-will @sgc
                              last edited by

                              @sgc Fixed for me. THankyou!

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jare 0
                                last edited by

                                Still having trouble with this.

                                I'm on a 6100 - running 22.01.

                                When running "pkg -d update" I get different errors depending on the selected firmware branch. I get an invalid link error on the release branches and the dev branch gives me much more... few examples below. I can post the entire result if needed.

                                "pkg: Repository pfSense-core has a wrong packagesite, need to re-create database"

                                "DBG(1)[79952]> PkgRepo: need forced update of pfSense-core"

                                "pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64"

                                "pkg: repository pfSense-core contains packages with wrong ABI: FreeBSD:14:amd64"

                                "Processing entries... done"

                                "Unable to update repository pfSense-core"

                                "Error updating repositories!"

                                I've searched around and found some info on forced update of the database but thought I'd check in here first.

                                Thank you.

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

                                  Looks like you may have pulled in a bad pfSense-upgrade at some point. What does pkg info pfSense-upgrade show?
                                  You may need to switch the repo back to 22.01 and force reinstall pfSense-upgrade from there.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jare 0 @stephenw10
                                    last edited by

                                    @stephenw10

                                    pfSense-upgrade-1.0_27
                                    Name : pfSense-upgrade
                                    Version : 1.0_27
                                    Installed on : Fri Sep 16 19:48:18 2022 EDT
                                    Origin : sysutils/pfSense-upgrade
                                    Architecture : FreeBSD:12:amd64
                                    Prefix : /usr/local
                                    Categories : sysutils
                                    Licenses : APACHE20
                                    Maintainer : coreteam@pfsense.org
                                    WWW : https://www.pfsense.org/
                                    Comment : pfSense upgrade script
                                    Annotations :
                                    FreeBSD_version: 1203506
                                    build_timestamp: 2022-09-08T00:05:44+0000
                                    built_by : poudriere-git-3.3.99.20220831
                                    port_checkout_unclean: no
                                    port_git_hash : 83c4d6dbf695
                                    ports_top_checkout_unclean: yes
                                    ports_top_git_hash: 8065fbca4d5a
                                    repo_type : binary
                                    repository : pfSense
                                    Flat size : 63.7KiB
                                    Description :
                                    pfSense upgrade script

                                    WWW: https://www.pfsense.org/

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

                                      Yeah, that's a much later version.

                                      Make sure the update branch is set to 22.01 then run:
                                      pkg upgrade -f pfSense-upgrade

                                      That should bring you back to the correct pkg for 22.01 and that should then allow you to upgrade to either 22.05 or 23.01b.

                                      J D 2 Replies Last reply Reply Quote 0
                                      • J
                                        Jare 0 @stephenw10
                                        last edited by

                                        @stephenw10

                                        Just gave that a shot and received the following;

                                        pkg: invalid url: /pfSense_plus-v22_01_amd64-core
                                        pkg: Cannot parse configuration file!

                                        I would obviously like a quick fix to this, but would doing a clean install of 22.05 and uploading my 22.01 config file clear up this issue? I've been toying with the idea of changing to ZFS anyway.

                                        I appreciate your time - thank you.

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

                                          @jare-0 said in Unable to check for updates (SOLVED):

                                          would doing a clean install of 22.05 and uploading my 22.01 config file clear up this issue?

                                          Yes. An that's also probably quickest if you have local access to the firewall.

                                          1 Reply Last reply Reply Quote 1
                                          • T
                                            thwong @techpro2004
                                            last edited by

                                            @techpro2004 thanks for your fix.
                                            I was running stable 22.05.14 and since then I couldn't update to any version.

                                            With your fix, I can update mine to development version without any issues.

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