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.
    • 7
      753951 @stephenw10
      last edited by

      @stephenw10 I'm getting that error for the last week or so, and I'm still on 24.11. If I try to manually check for an update, the branch drop down is empty.

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

        Ah, that seems like a different issue then; it's actually unable to check.

        Try running: pkg -d update

        And: pfSense-repoc -ND

        See what errors are shown.

        7 1 Reply Last reply Reply Quote 0
        • 7
          753951 @stephenw10
          last edited by

          @stephenw10
          [24.11-RELEASE][root@pfsense.stanar.info]/root: pkg -d update
          DBG(1)[92284]> pkg initialized
          pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
          No active remote repositories configured.

          As for pfSense-repoc -ND

          Messages:
          Your device has not been registered for pfSense+. Please purchase a pfSense+ subscription to receive future updates. <a href="https://shop.netgate.com/products/pfsense-software-subscription" target="_blank" rel="noopener noreferrer">Netgate store</a>

          Don't get it. I made no changes in months.

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

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

            B 1 Reply Last reply Reply Quote 0
            • R
              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
                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
                  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
                    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
                      benhamou.ahmed
                      last edited by

                      i have same issue

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

                        @stephenw10 i have same issue

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