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

    check_upgrade: "Updating repositories metadata" returned error code 1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    83 Posts 21 Posters 11.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.
    • DonnyD
      Donny @stephenw10
      last edited by

      @stephenw10 This is the hardware I used for testing with pfSense 2.7.2, and I have never encountered this issue before.
      Asrock QC 5000 ITX/PH CPU on board
      Type AMD A4-5000 APU with Radeon(TM) HD Graphics
      4 CPUs : 1 package(s) x 4 core(s)
      AES-NI CPU Crypto: Yes (active)
      QAT Crypto: No
      Hardware crypto: AES-CBC, AES-CCM, AES-GCM, AES-ICM, AES-XTS
      Intel network card 4 ports (39Y6138)
      Kington SSD now 300V 60 GB

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

        @mad_4u said in check_upgrade: "Updating repositories metadata" returned error code 1:

        i am runing pfsense on proxmox vm

        What specs on the VM?

        I also test in proxmox extensively on various sized VMs and haven't yet been able to replicate. I'll keep trying...

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

          @stephenw10

          i am running proxmox on PowerEdge T620 2 X CPU 256 GB RAM
          CPU Type QEMU Virtual CPU version 2.5+
          16 CPUs : 4 package(s) x 4 core(s)
          AES-NI CPU Crypto: Yes (inactive)
          QAT Crypto: No
          RAM: 8GB
          HD: 10GB

          on 2.7.2 never had this issue but only apears after upgrading.
          it's only apearing after reboot otherwise no conflect or issue on any functions

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

            Hmm, OK not an under resource issue then. Perhaps something hit y booting much faster in fact....

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

              @stephenw10

              I did factory defaults and reset everyting the error still shows and even after restoring my configuration it keeps coming back
              then i reinstall all packages and reboot.
              no more errors

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

                Are you redirecting DNS? Routing over a VPN?

                I can't hit this on anything here, fast or slow...

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

                  @stephenw10
                  yes dns on adguard-home, Guest vlan on wireguard vpn.
                  after reinstalling everything no more erros i suspect the issue was acme package

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

                    Hmm, curious...

                    1 Reply Last reply Reply Quote 1
                    • R
                      rpsmith
                      last edited by

                      Same problem here:

                      PC Engines APU2 Platform ("apu4" model)
                      Netgate Device ID: 97372676272a13e1bf6f

                      Everything else seems to be working OK. This system has no packages installed and the WAN is using 100 megabit PPPoE.

                      RPSmith...

                      1 Reply Last reply Reply Quote 0
                      • R
                        rpsmith
                        last edited by

                        Also, if I set "Disable the dashboard auto-update check", the error does not appear again even after a reboot and I can manually check for an update and still no error so It might be a timing issue during boot-up.

                        RPSmith...

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

                          Yes, it certainly seems like a race condition with the initial upgrade check. But there must be something additional in play to trigger it. I still can't replicate it here....

                          R 1 Reply Last reply Reply Quote 1
                          • R
                            rpsmith @stephenw10
                            last edited by

                            @stephenw10 ~ I think it will start again if I re-enable "dashboard auto-update check" and I could give you access to the firewall if that would help your troubleshooting.

                            RPSmith...

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

                              I think we're going to need to replicate it locally but if I can't that could be helpful.

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                rpsmith @stephenw10
                                last edited by rpsmith

                                @stephenw10 ~ The one I'm seeing this problem on is my one and only PC Engines APU2 Platform ("apu4" model) so it doesn't have much for CPU power and my "Branch" has always been correctly populated. Also, My WAN is PPPoE and I have the new PPPoE service enabled.

                                RPSmith...

                                1 Reply Last reply Reply Quote 1
                                • J
                                  JonnyQuest
                                  last edited by

                                  I would like to add I am having the same problem after upgrading from 2.7.2 to 2.8.0. The only packages that I had installed were Wireguard and the system patches. Packages were uninstalled then updated. As with the others, the message only shows up again after a reboot.

                                  Running bare metal on a

                                  Dell Wyze 5070 Extended

                                  Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz
                                  Current: 1500 MHz, Max: 1501 MHz
                                  4 CPUs : 1 package(s) x 4 core(s)
                                  AES-NI CPU Crypto: Yes (active)
                                  QAT Crypto: No

                                  4 GB DDR4

                                  250GB M.2 SATA used for pfSense
                                  (Internal eMMC not used)

                                  Intel I350-T2 Network card

                                  Very basic configuration (no vlans) with no wireguard at the moment (Did not restore my configuration file yet).

                                  Had no issues running 2.7.2

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

                                    Also using a pppoe WAN?

                                    And I assume, like the others here, you can still access the repos after boot?

                                    J P 2 Replies Last reply Reply Quote 0
                                    • J
                                      JonnyQuest @stephenw10
                                      last edited by

                                      @stephenw10

                                      WAN - DHCP

                                      I also noticed the first 3-4 minutes of a reboot the CPU usage is very high at 27-37% then settles down to 2-5% (typical for 2.7.2) then the message pops up. I don't remember that high of a CPU usage with 2.7.2 during the first few minutes, but to be fair I did not reboot much.

                                      I do have "Current Stable Version (2.8.0)" in the Branch dropdown box.

                                      stephenw10S 1 Reply Last reply Reply Quote 0
                                      • R
                                        rpsmith
                                        last edited by

                                        I've seen this error now on multiple PC Engines APU2 Platforms but not on any of my other platforms.

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

                                          @JonnyQuest said in check_upgrade: "Updating repositories metadata" returned error code 1:

                                          I do have "Current Stable Version (2.8.0)" in the Branch dropdown box.

                                          I mean, for example, if you go to the package manager can you see the list of available packages? The requires querying the configured repos which would fail if it could access them.

                                          J 1 Reply Last reply Reply Quote 0
                                          • R
                                            rpsmith
                                            last edited by rpsmith

                                            I have no problems showing or searching for available packages on the firewall that displays this error.

                                            RPSmith...

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