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
    87 Posts 24 Posters 16.8k Views 25 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.
    • R Offline
      renanlofiego
      last edited by

      Me too, after the update, I started receiving the message "check_upgrade: "updating repositories metadata" returned error code 1".

      I ran the command "pkg -d update" and it returned the following: "DBG(1)[56533]> pkg initialized
      pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf': No such file or directory
      No active remote repositories configured.
      "

      I don't know if it has to do with the license. Is there still a free pfSense+ license for labs?

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

        So same as above; run pfSense-repoc -ND and see what error that returns.

        Send me your NDI in chat and I'll check it.

        1 Reply Last reply Reply Quote 0
        • M Offline
          mrpon8
          last edited by

          check_upgrade: "Updating repositories metadata" returned error code 1
          for resolve this problem only need update the pkg
          into the "Diagnostics, then Command Prompt" run "pkg update -f"

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            renanlofiego @mrpon8
            last edited by

            @mrpon8 When I run this command "pkg update -f" it returns this message "pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf': No such file or directory
            No active remote repositories configured.
            "

            1 Reply Last reply Reply Quote 0
            • B Offline
              benhamou.ahmed
              last edited by

              i have same issue

              1 Reply Last reply Reply Quote 0
              • B Offline
                benhamou.ahmed @stephenw10
                last edited by

                @stephenw10 i have same issue

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hbbn
                  last edited by

                  I had same issue for a long time.

                  Then I tried pkg update -f and got an error for SunnyVally repository
                  I figured that I had a old version of zenarmor installed that matches the FreeBSD 14 and not 15.
                  Upgraded the zenarmor to the latest version.

                  Haven't had any of the error messages for some time now. hopefully that was it.

                  Maybe this can be helpfull to someone.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JonnyQuest @JonnyQuest
                    last edited by

                    I did a fresh install of 2.8.0 and do not get the error anymore.

                    C 1 Reply Last reply Reply Quote 1
                    • C Offline
                      Cre8or @JonnyQuest
                      last edited by

                      @JonnyQuest

                      im on 2.8.0 and i also had no problems

                      Shell Output - pkg update -f

                      Updating ntop repository catalogue...
                      Fetching meta.conf: . done
                      Fetching data.pkg: . done
                      Processing entries: . done
                      ntop repository update completed. 6 packages processed.
                      Updating pfSense-core repository catalogue...
                      Fetching meta.conf: . done
                      Fetching data.pkg: . done
                      Processing entries: . done
                      pfSense-core repository update completed. 4 packages processed.
                      Updating pfSense repository catalogue...
                      Fetching meta.conf: . done
                      Fetching data.pkg: ......... done
                      Processing entries: .......... done
                      pfSense repository update completed. 541 packages processed.
                      All repositories are up to date.

                      1 Reply Last reply Reply Quote 1
                      • L Offline
                        lutel
                        last edited by lutel

                        Same problem here, i'm running 2.8.0 updated from 2.7.2. It also takes much longer to login to dashboard than in previous version.

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