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

    upgrading from 2.8-2.8.2 -> check_upgrade: "Updating repositories metadata" returned error code 1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 2 Posters 807 Views 2 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.
    • J Offline
      jc1976
      last edited by

      Updating pf2ad repository catalogue...
      pkg: An error occured while fetching package
      pkg: An error occured while fetching package
      repository pf2ad has no meta file, using default settings
      pkg: An error occured while fetching package
      pkg: An error occured while fetching package
      pkg: An error occured while fetching package
      pkg: An error occured while fetching package
      Unable to update repository pf2ad
      Updating pfSense-core repository catalogue...
      Fetching meta.conf: 0%
      Fetching data.pkg: 0%
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      Fetching meta.conf: 0%
      Fetching data.pkg: 0%
      pfSense repository is up to date.
      Error updating repositories!

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

        You have an unsupported 3rd party package repo installed. Remove it, restore the default values and try again.

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

          @stephenw10

          I do? Where? how do i uninstall it?

          Thanks!!

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

            @jc1976 said in upgrading from 2.8-2.8.2 -> check_upgrade: "Updating repositories metadata" returned error code 1:

            Updating pf2ad repository

            That is not a pfSense package. That pkg repo has been added manually or via some script and is breaking the repo updates against the official repos.

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

              @stephenw10

              I don't suppose you could tell me how to uninstall it?

              if there's an easy way to uninstall it via the command line, will it break anything else?

              Thanks!

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

                Check for rogue repo files here:

                [2.8.1-RELEASE][admin@cedev-2.stevew.lan]/root: ls -ls /usr/local/etc/pkg/repos/
                total 1
                1 -rw-r--r--  1 root wheel 25 Aug 28 17:10 FreeBSD.conf
                1 lrwxr-xr-x  1 root wheel 55 Sep  5 12:02 pfSense.conf -> /usr/local/etc/pfSense/pkg/repos/pfSense-repo-0002.conf
                

                It's been a long while since I tried pf2ad but I'm pretty sure it has an install/uninstall script that should do it. Unless it's completely broken!

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