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
    186 Posts 46 Posters 33.4k Views 43 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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator @JeGr
      last edited by

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

      Every click in the package manager adds another one etc.

      Opened the WebGUI to 1421 messages -.-

      Yikes! I wouldn't expect that many update checks even if it is failing every time. ๐Ÿค”

      But try running: pfSense-repoc -ND and pkg-static -d update and see what errors are shown.

      If it's failing every time like that it may have lost the repo conf data or by trying to use invalid data.

      JeGrJ 1 Reply Last reply Reply Quote 0
      • JeGrJ Offline
        JeGr LAYER 8 Moderator @stephenw10
        last edited by

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

        pkg-static -d update

        OS: FreeBSD
        OS Version: 15.0-CURRENT
        Platform: amd64
        Product: Netgate pfSense Plus
        Version: 25.07.1-RELEASE
        FS type: zfs
        Language: en_US
        Model: unknown hardware
        NDI: 42511b9e4f5917f3c4ec
        Package prefix: pfSense-pkg-
        Serial: (null)
        Repo path: /usr/local/etc/pfSense
        Request query: {"platform":"unknown hardware","os":"FreeBSD","osver":"15.0-CURRENT","prod":"Netgate pfSense Plus","ver":"25.07.1-RELEASE","ed":"Plus","fstype":"zfs","pkgs":"[{\"name\":\"nut\",\"ver\":\"2.8.2_5\"},{\"name\":\"Cron\",\"ver\":\"0.3.8_6\"},{\"name\":\"acme\",\"ver\":\"1.0\"},{\"name\":\"nmap\",\"ver\":\"1.4.4_8\"},{\"name\":\"sudo\",\"ver\":\"0.3_10\"},{\"name\":\"Filer\",\"ver\":\"0.60.6_9\"},{\"name\":\"Nexus\",\"ver\":\"25.07.1_1\"},{\"name\":\"Notes\",\"ver\":\"0.2.9_5\"},{\"name\":\"lldpd\",\"ver\":\"0.9.11_3\"},{\"name\":\"haproxy\",\"ver\":\"0.63_11\"},{\"name\":\"Shellcmd\",\"ver\":\"1.0.5_4\"},{\"name\":\"arpwatch\",\"ver\":\"0.2.3\"},{\"name\":\"Tailscale\",\"ver\":\"0.1.8\"},{\"name\":\"WireGuard\",\"ver\":\"0.2.9_5\"},{\"name\":\"mtr-nox11\",\"ver\":\"0.85.6_5\"},{\"name\":\"RRD_Summary\",\"ver\":\"2.2\"},{\"name\":\"freeradius3\",\"ver\":\"0.15.14\"},{\"name\":\"System_Patches\",\"ver\":\"2.2.23\"},{\"name\":\"Service_Watchdog\",\"ver\":\"1.8.7_4\"},{\"name\":\"pfBlockerNG-devel\",\"ver\":\"3.2.10\"},{\"name\":\"openvpn-client-export\",\"ver\":\"1.9.5\"},{\"name\":\"openvpn-client-import\",\"ver\":\"1.2_3\"}]"}
        POST data: uid=42511b9e4f5917f3c4ec&language=en_US&serial=&version=%7B%22platform%22%3A%22unknown+hardware%22%2C%22os%22%3A%22FreeBSD%22%2C%22osver%22%3A%2215.0-CURRENT%22%2C%22prod%22%3A%22Netgate+pfSense+Plus%22%2C%22ver%22%3A%2225.07.1-RELEASE%22%2C%22ed%22%3A%22Plus%22%2C%22fstype%22%3A%22zfs%22%2C%22pkgs%22%3A%22%5B%7B%5C%22name%5C%22%3A%5C%22nut%5C%22%2C%5C%22ver%5C%22%3A%5C%222.8.2_5%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Cron%5C%22%2C%5C%22ver%5C%22%3A%5C%220.3.8_6%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22acme%5C%22%2C%5C%22ver%5C%22%3A%5C%221.0%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22nmap%5C%22%2C%5C%22ver%5C%22%3A%5C%221.4.4_8%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22sudo%5C%22%2C%5C%22ver%5C%22%3A%5C%220.3_10%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Filer%5C%22%2C%5C%22ver%5C%22%3A%5C%220.60.6_9%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Nexus%5C%22%2C%5C%22ver%5C%22%3A%5C%2225.07.1_1%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Notes%5C%22%2C%5C%22ver%5C%22%3A%5C%220.2.9_5%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22lldpd%5C%22%2C%5C%22ver%5C%22%3A%5C%220.9.11_3%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22haproxy%5C%22%2C%5C%22ver%5C%22%3A%5C%220.63_11%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Shellcmd%5C%22%2C%5C%22ver%5C%22%3A%5C%221.0.5_4%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22arpwatch%5C%22%2C%5C%22ver%5C%22%3A%5C%220.2.3%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Tailscale%5C%22%2C%5C%22ver%5C%22%3A%5C%220.1.8%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22WireGuard%5C%22%2C%5C%22ver%5C%22%3A%5C%220.2.9_5%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22mtr-nox11%5C%22%2C%5C%22ver%5C%22%3A%5C%220.85.6_5%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22RRD_Summary%5C%22%2C%5C%22ver%5C%22%3A%5C%222.2%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22freeradius3%5C%22%2C%5C%22ver%5C%22%3A%5C%220.15.14%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22System_Patches%5C%22%2C%5C%22ver%5C%22%3A%5C%222.2.23%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22Service_Watchdog%5C%22%2C%5C%22ver%5C%22%3A%5C%221.8.7_4%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22pfBlockerNG-devel%5C%22%2C%5C%22ver%5C%22%3A%5C%223.2.10%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22openvpn-client-export%5C%22%2C%5C%22ver%5C%22%3A%5C%221.9.5%5C%22%7D%2C%7B%5C%22name%5C%22%3A%5C%22openvpn-client-import%5C%22%2C%5C%22ver%5C%22%3A%5C%221.2_3%5C%22%7D%5D%22%7D&arch=amd64
        [25.07.1-RELEASE][root@mirage.nt.ops.to]/root: pkg-static -d update
        Updating pfSense-core repository catalogue...
        DBG(1)[16390]> PkgRepo: verifying update for pfSense-core
        DBG(1)[16390]> Pkgrepo, begin update of '/var/db/pkg/repos/pfSense-core/db'
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/meta.conf
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        pkg-static: An error occurred while fetching package: Unknown error
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/meta.txz
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        pkg-static: An error occurred while fetching package: Unknown error
        repository pfSense-core has no meta file, using default settings
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/data.pkg
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        pkg-static: An error occurred while fetching package: Unknown error
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/data.tzst
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        pkg-static: An error occurred while fetching package: Unknown error
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/packagesite.pkg
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        pkg-static: An error occurred while fetching package: Unknown error
        DBG(1)[16390]> (fetch) Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v25_07_1_amd64-core/packagesite.tzst
        DBG(1)[16390]> (fetch) Fetch: fetcher used: pkg+https
        ^C
        

        As described, pkg-static throws unknown errors. And "normal" pkg is in an unusable state as its too high for the current repo -> ld.elf errors.

        Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

          Yes the lib errors for the non-statically linked pkg are normal if an update was ever seen. But pkg-static is provided for that reason.

          However you're hitting something different there. 'Unknown error' is unfortunately unhelpful!

          Try resaving the package repo branch.

          JeGrJ 1 Reply Last reply Reply Quote 0
          • JeGrJ Offline
            JeGr LAYER 8 Moderator @stephenw10
            last edited by

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

            Yes the lib errors for the non-statically linked pkg are normal if an update was ever seen. But pkg-static is provided for that reason.

            However you're hitting something different there. 'Unknown error' is unfortunately unhelpful!

            Try resaving the package repo branch.

            Other than producing new errors again, that does unfortunately nothing

            6e55e772-421b-4432-8452-2a8a43a51f6f-image.png

            Switching to the RC instead brings a simple

            /pkg_mgr_install.php: The command '/usr/local/sbin/pfSense-repo-setup -U' returned exit code '12', the output was ''
            

            and switching back to 25.7.1 still does nothing new.

            Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

              Hmm, I hit this on one test VM but after rebooting it was able to connect fine so I was never able to troubleshoot further. Are you able to reboot that as a test?

              1 Reply Last reply Reply Quote 0
              • S Offline
                Spacecase
                last edited by Spacecase

                I'm running CE version 2.8.1 and just got one of these messages. Here are some observations:

                Here's the message:

                "check_upgrade: "Updating repositories metadata" returned error code 1 @ 2025-11-21 02:17:59"

                When I go to this page...

                https://docs.netgate.com/pfsense/en/latest/releases/versions.html#id5

                ...I see this:

                c4c9863a-eefe-4a38-a9b1-f7d0db6c03e4-image.png

                When I check "page info" on my browser, I see this:

                29927386-4994-46a4-8c0b-e3e0a469a3e2-image.png

                Note the timestamps.

                JeGrJ 1 Reply Last reply Reply Quote 0
                • JeGrJ Offline
                  JeGr LAYER 8 Moderator @Spacecase
                  last edited by JeGr

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

                  Note the timestamps.

                  So? An update to the release notes documentation page doesn't mean anything. Also others have other timestamps as they were checking their systems at other times.
                  In addition I have the same problem running plus where the 25.11 docs page is up for days/weeks. Nothing to see there.

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

                  Hmm, I hit this on one test VM but after rebooting it was able to connect fine so I was never able to troubleshoot further. Are you able to reboot that as a test?

                  That's a nope. For the reboot-fixing-stuff. Just rebootet the device - came up again, still does have the errors popping up.

                  Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

                  If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                  stephenw10S S 2 Replies Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator @JeGr
                    last edited by

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

                    Just rebootet the device - came up again, still does have the errors popping up.

                    Hmm. I assume general connectivity is good. Can resolve hosts. Ping ews.netgate.com etc?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Spacecase @JeGr
                      last edited by Spacecase

                      @JeGr These were my observations. For all I know, the change that triggered the error code could be related to something else occurring in another repository at the same time. Or, it could be a clue to a common mode fault. Do you know how often pfSense polls updates?

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

                        It checks for available upgrades every 24hrs or whenever you open the dashboard if you have the system info widget on there.

                        But it will try to update the pkg db any time you do a pkg operation.

                        S JeGrJ 2 Replies Last reply Reply Quote 0
                        • S Offline
                          Spacecase @stephenw10
                          last edited by Spacecase

                          @stephenw10

                          I might've been checking Package Manager or Patches at the time. And, yes, I have a System Info widget.

                          1 Reply Last reply Reply Quote 0
                          • JeGrJ Offline
                            JeGr LAYER 8 Moderator @stephenw10
                            last edited by JeGr

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

                            It checks for available upgrades every 24hrs or whenever you open the dashboard if you have the system info widget on there.

                            But it will try to update the pkg db any time you do a pkg operation.

                            The error got triggered way more then that. I have logs where it essentially spammed the syslog while noone was logged in so no dashboard etc.

                            Also on another note: the "failed" PKG that is now a way higher version and can't be run essentially blocks the LLDPD package from running as it throws the same elf-ld.so errors around. So if someone could please fix that new pkg package being pushed downwards to 25.07 when NOT trying to update, that would be great, as it essentially fucks up a few packets that won't work anymore :/

                            I have to manually run pkg-static install -f pkg and forcefully downgrade it to 1.21.3_5 again so my services come up again.

                            when the next push happens and pkg happens to happily update to an incompatible version again, those will all go down the again. I don't think it's helpful to have pkg always update to a new version when not even trying to upgrade (e.g. to the RC) especially when other packages have dependencies to the same libraries as pkg does. So given for example for said LLDPd.

                            Cheers

                            edit: just as an example from yesterday night's log just before the rotation. logged in around 11:30pm so waaay later then the logs show. So that error - when it happenes - is not only triggered every 24h or when pkg ops run - something triggers it often and hard.

                            Nov 21 23:59:56	php	10056	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:59:14	php	43615	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:58:32	php	39233	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:57:49	php	61103	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:57:08	php	24688	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:56:25	php	97234	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:55:44	php	5439	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:55:02	php	20464	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:54:19	php	39655	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:53:37	php	62756	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:52:56	php	76285	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:52:14	php	93499	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:51:31	php	2057	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:50:49	php	4835	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:50:08	php	20122	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:49:25	php	43862	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:48:43	php	49831	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:48:01	php	70509	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:47:20	php	85812	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:46:38	php	620	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:45:55	php	17892	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:45:13	php	27060	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:44:32	php	34838	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:43:50	php	42727	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:43:08	php	96444	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:42:26	php	74815	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:41:44	php	96719	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:41:01	php	58995	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:40:20	php	28793	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:39:38	php	50611	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:38:55	php	61683	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:38:13	php	76279	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:37:32	php	92095	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:36:49	php	97376	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:36:07	php	4240	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:35:25	php	25105	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:34:44	php	32740	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:34:02	php	46004	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:33:19	php	70363	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:32:37	php	75878	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:31:56	php	1298	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:31:13	php	7180	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:30:32	php	17174	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:29:50	php	37033	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:29:07	php	58512	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:28:25	php	71480	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:27:44	php	73214	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:27:01	php	28487	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:26:19	php	94743	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:25:37	php	15326	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:24:56	php	31767	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:24:14	php	37273	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:23:31	php	42895	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:22:49	php	54612	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:22:08	php	73092	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:21:25	php	93470	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:20:43	php	98314	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:20:02	php	13762	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:19:20	php	30810	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:18:37	php	46278	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:17:56	php	67058	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:17:14	php	86423	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:16:31	php	98329	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:15:49	php	8267	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:15:08	php	61835	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:14:26	php	66047	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:13:44	php	77881	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:13:06	php	41456	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:12:45	php	36678	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:11:37	php	37307	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:10:55	php	93440	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:10:14	php	57972	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:09:31	php	70481	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:08:49	php	82508	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:08:07	php	98923	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:07:26	php	21647	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:06:43	php	31331	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:06:01	php	47708	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:05:20	php	66050	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:04:37	php	59330	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:03:55	php	81997	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:03:13	php	1622	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:02:31	php	18580	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:01:47	php	37519	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:01:07	php	60083	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 23:00:32	php	57223	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:59:39	php	70250	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:58:56	php	82962	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:58:14	php	89714	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:57:33	php	14182	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:56:51	php	35542	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:56:08	php	32530	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:55:26	php	55767	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:54:45	php	19360	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:54:03	php	91064	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:53:21	php	10878	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:52:39	php	23918	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:51:56	php	33374	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:51:15	php	50011	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:50:33	php	49079	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:49:51	php	61646	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:49:08	php	79618	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:48:26	php	90423	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:47:45	php	95523	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:47:03	php	21062	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:46:20	php	35393	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:45:39	php	49663	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:44:57	php	65182	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:44:15	php	80383	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:43:33	php	1115	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:42:51	php	11978	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:42:08	php	23686	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:41:26	php	48277	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:40:45	php	93646	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:40:03	php	73701	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:39:20	php	71802	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:38:38	php	26778	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:37:57	php	393	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:37:14	php	19704	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:36:32	php	26262	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:35:50	php	43594	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:35:09	php	53468	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:34:27	php	66476	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:33:45	php	84355	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:33:03	php	95573	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:32:21	php	1980	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:31:38	php	13444	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:30:57	php	38230	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            Nov 21 22:30:15	php	36891	Standard input code: New alert found: check_upgrade: "Updating repositories metadata" returned error code 1
                            

                            Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

                            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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

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

                              essentially blocks the LLDPD package from running as it throws the same elf-ld.so errors around.

                              Hmm, that's unexpected. pkg is the only think that would ever update itself. The non-static version then fails because the libs are not updated.

                              Do you have the output error shown by lldpd?

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                Kelpie
                                last edited by

                                Screenshot 2025-11-24 103526.png

                                Hi I have the same issue

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

                                  What do you see from: pfSense-upgrade -dc

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

                                    @stephenw10

                                    >>> Updating repositories metadata...
                                    Updating pfSense-core repository catalogue...
                                    Fetching meta.conf:
                                    Fetching data.pkg:
                                    pfSense-core repository is up to date.
                                    Updating pfSense repository catalogue...
                                    Fetching meta.conf:
                                    Fetching data.pkg:
                                    pfSense repository is up to date.
                                    All repositories are up to date.
                                    Your system is up to date
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S Offline
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      OK that seems fine. You might try: pkg-static -d update

                                      But I would expect pfSense-upgrade to throw an error if that does.

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