• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 106.8k Views 26 Watching
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.
  • S Offline
    stephenw10 Netgate Administrator
    last edited by Sep 23, 2022, 4:12 PM

    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 Sep 23, 2022, 4:17 PM Reply Quote 0
    • K Offline
      KB8DOA @stephenw10
      last edited by KB8DOA Sep 23, 2022, 4:17 PM Sep 23, 2022, 4:17 PM

      @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
      • G Gertjan referenced this topic on Oct 3, 2022, 6:10 AM
      • B bmeeks referenced this topic on Oct 23, 2022, 11:34 PM
      • B bmeeks referenced this topic on Oct 23, 2022, 11:34 PM
      • B bmeeks referenced this topic on Oct 23, 2022, 11:34 PM
      • B bmeeks referenced this topic on Oct 23, 2022, 11:34 PM
      • T Offline
        TheQuank @Matt2
        last edited by Nov 19, 2022, 12:02 AM

        @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 Dec 3, 2022, 10:04 AM
        • S ssppcc referenced this topic on Dec 3, 2022, 10:31 AM
        • S ssppcc referenced this topic on Dec 3, 2022, 10:33 AM
        • S ssppcc referenced this topic on Dec 3, 2022, 10:41 AM
        • G Offline
          gothixkhan
          last edited by Dec 18, 2022, 10:56 PM

          @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

          B 1 Reply Last reply Dec 19, 2022, 5:38 AM Reply Quote 0
          • B Offline
            bingo600 @gothixkhan
            last edited by Dec 19, 2022, 5:38 AM

            @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
            • S Offline
              stephenw10 Netgate Administrator
              last edited by Dec 19, 2022, 12:38 PM

              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 Dec 20, 2022, 4:38 PM Reply Quote 0
              • G Offline
                gothixkhan @stephenw10
                last edited by Dec 20, 2022, 4:38 PM

                @stephenw10 it alternates between Certificate and authentication issues.

                it flips on reboot.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stephenw10 Netgate Administrator
                  last edited by Dec 20, 2022, 5:11 PM

                  Can we see the exact error text?

                  G 1 Reply Last reply Dec 20, 2022, 6:00 PM Reply Quote 0
                  • G Offline
                    gothixkhan @stephenw10
                    last edited by Dec 20, 2022, 6:00 PM

                    @stephenw10 not anymore, apparently.
                    it works now?

                    I'm sorry

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stephenw10 Netgate Administrator
                      last edited by Dec 20, 2022, 6:01 PM

                      Cool, good to hear. 👍

                      G 1 Reply Last reply Dec 20, 2022, 6:03 PM Reply Quote 0
                      • G Offline
                        gothixkhan @stephenw10
                        last edited by Dec 20, 2022, 6:03 PM

                        @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 Offline
                          briddle @Matt2
                          last edited by Jan 5, 2023, 11:23 PM

                          @matt2

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

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            wifi-will @sgc
                            last edited by Jan 10, 2023, 1:43 AM

                            @sgc Fixed for me. THankyou!

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jare 0
                              last edited by Jan 13, 2023, 1:44 PM

                              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
                              • S Offline
                                stephenw10 Netgate Administrator
                                last edited by Jan 13, 2023, 8:01 PM

                                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 Jan 13, 2023, 8:19 PM Reply Quote 0
                                • J Offline
                                  Jare 0 @stephenw10
                                  last edited by Jan 13, 2023, 8:19 PM

                                  @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
                                  • S Offline
                                    stephenw10 Netgate Administrator
                                    last edited by Jan 13, 2023, 8:36 PM

                                    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 Jan 13, 2023, 8:49 PM Reply Quote 0
                                    • J Offline
                                      Jare 0 @stephenw10
                                      last edited by Jan 13, 2023, 8:49 PM

                                      @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.

                                      S 1 Reply Last reply Jan 13, 2023, 9:05 PM Reply Quote 0
                                      • S Offline
                                        stephenw10 Netgate Administrator @Jare 0
                                        last edited by Jan 13, 2023, 9:05 PM

                                        @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 Offline
                                          thwong @techpro2004
                                          last edited by Jan 16, 2023, 10:25 AM

                                          @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.
                                            This community forum collects and processes your personal information.
                                            consent.not_received