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

    Error updating repositories

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 5 Posters 2.6k Views 5 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.
    • A Offline
      aes4096
      last edited by aes4096

      Good day to all. The list of packages does not load and there is no update to version 2.7.1. Tell me what to do please?

      * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults
      * Hostname pkg00-atx.netgate.com was found in DNS cache
      *   Trying 208.123.73.207:443...
      * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443
      * ALPN: curl offers http/1.1
      *  CAfile: none
      *  CApath: /etc/ssl/certs/
      * SSL certificate problem: self-signed certificate in certificate chain
      * Closing connection
      pkg-static: An error occured while fetching package
      Unable to update repository pfSense
      Error updating repositories!
      
      

      Pic 1
      Pic 2

      1 Reply Last reply Reply Quote 0
      • A Offline
        aes4096
        last edited by

        I solved it using the command certctl rehash

        E L 2 Replies Last reply Reply Quote 5
        • D Offline
          dl_sdk
          last edited by

          @aes4096 said in Error updating repositories:

          certctl rehash

          This worked for me as well, so thank you for solution.

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            SteveITS Rebel Alliance @dl_sdk
            last edited by

            FWIW this is in the release notes: https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting

            Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
            Upvote 👍 helpful posts!

            1 Reply Last reply Reply Quote 0
            • E Offline
              eagle9362 @aes4096
              last edited by

              @aes4096 Solved my problem too.
              I was not able to fetch available packages

              1 Reply Last reply Reply Quote 0
              • L Offline
                LaUs3r @aes4096
                last edited by LaUs3r

                @aes4096 said in Error updating repositories:

                I solved it using the command certctl rehash

                thx. this saved me from setting up everything from scratch.

                Initially I tried to view installable packages and wondered as the list was EMPTY.
                Then I tried the update process via command line and got multiple errors like:

                pkg-static update

                • pkg-static: An error occured while fetching package
                • Unable to update repository pfSense

                pkg-static clean

                • pkg-static: Repository pfSense-core missing. 'pkg update' required

                The trick then was to use the debug option: pkg-static -d update
                Here I got an SSL certificate problem: self-signed certificate in certification chain

                solved it with your hint above! Thx

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