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
    193 Posts 46 Posters 33.6k Views 42 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
      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 Online
          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 Online
              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 Online
                    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?

                    JeGrJ 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 Online
                        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 Online
                            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
                            • S Offline
                              stevo11811
                              last edited by

                              It seems to be fixed this morning on all firewalls I was having trouble with.

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

                                Ah good to hear.

                                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:

                                  Do you have the output error shown by lldpd?

                                  It's likely the same as pkg itself, an elf error because of ld.so mismatch due to wrong version of a library. I think it was either libc.so.7 or libssl.so.30 or one among those lines. It'd surely be easy to reproduce when you have a 25.07 VM and manually upgrade pkg to 2.x.x instead of 1.12.5.

                                  Edit:

                                  [25.07.1-RELEASE][admin@pfs-plus-2507.lab.test]/root: pkg info
                                  ld-elf.so.1: Shared object "libutil.so.10" not found, required by "pkg"
                                  
                                  [25.07.1-RELEASE][admin@pfs-plus-2507.lab.test]/root: lldpd
                                  ld-elf.so.1: Shared object "libutil.so.10" not found, required by "libpkg.so.4"
                                  

                                  after manually force-down installing pkg to 1.12.5 again, the errors also stopped.

                                  Cheers

                                  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 Online
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    But those libs are not updated when pkg gets upgraded. That;s why the new pkg fails to run unless it's run with statically linked libs. So I wouldn't expect anything else to be affected unless that was also upgraded. But, yes, let me confirm....

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

                                      Hmm, OK. Let me try to replicate that....

                                      JeGrJ 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:

                                        Hmm, OK. Let me try to replicate that....

                                        I did that 5min ago, so it does indeed hang on libutil or some other it seems ;)

                                        Anyway it's one of the dependency libs that PKG and LLDPd share that seems to be borked whenever pkg is "over-updating" itself. ldd shows a LOT they have in common. I forgot to make a ldd-run before and after, that should have shown some light into it.

                                        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 Online
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Ok I can see how this would break it but, for some reason, I'm now failing to replicate it. Digging....

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