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

    4100: pkg: An error occured while fetching package

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 325 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.
    • T
      tomdo
      last edited by

      Hi
      I'm currently unable to add any packages to my 4100.

      On the CLI I get the below error

      [24.11-RELEASE][admin@pfSense.home.arpa]/root: pkg update
      Updating pfSense-core repository catalogue...
      pkg: An error occured while fetching package
      ...
      
      DBG(1)[57929]> pkg initialized
      Updating pfSense-core repository catalogue...
      DBG(1)[57929]> PkgRepo: verifying update for pfSense-core
      DBG(1)[57929]> Pkgrepo, begin update of '/var/db/pkg/repos/pfSense-core/db'
      DBG(1)[57929]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_11_amd64-core/meta.conf
      DBG(1)[57929]> curl_open
      DBG(1)[57929]> Fetch: fetcher used: pkg+https
      DBG(1)[57929]> curl> fetching https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_11_amd64-core/meta.conf
      
      DBG(1)[57929]> CURL> attempting to fetch from , left retry 3
      
      * Couldn't find host pfsense-plus-pkg01.atx.netgate.com in the .netrc file; using defaults
      * Host pfsense-plus-pkg01.atx.netgate.com:443 was resolved.
      * IPv6: 2610:160:11:18::209
      * IPv4: 208.123.73.209
      *   Trying 208.123.73.209:443...
      * Connected to pfsense-plus-pkg01.atx.netgate.com (208.123.73.209) port 443
      * ALPN: curl offers http/1.1
      *  CAfile: /etc/ssl/netgate-ca.pem
      *  CApath: /etc/ssl/certs/
      * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / X25519 / RSASSA-PSS
      * ALPN: server accepted http/1.1
      * Server certificate:
      *  subject: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=pfSense Plus; CN=pfsense-plus-pkg01.atx.netgate.com
      *  start date: Mar 15 20:23:37 2022 GMT
      *  expire date: Feb 19 20:23:37 2122 GMT
      *  common name: pfsense-plus-pkg01.atx.netgate.com (matched)
      *  issuer: C=US; ST=Texas; L=Austin; O=Rubicon Communications, LLC (Netgate); OU=Netgate CA; CN=Netgate CA
      *  SSL certificate verify ok.
      *   Certificate level 0: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
      *   Certificate level 1: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
      * using HTTP/1.x
      > GET /pfSense_plus-v24_11_amd64-core/meta.conf HTTP/1.1
      Host: pfsense-plus-pkg01.atx.netgate.com
      User-Agent: pkg/1.21.3
      Accept: */*
      If-Modified-Since: Fri, 22 Nov 2024 06:31:23 GMT
      
      * Request completely sent off
      < HTTP/1.1 400 Bad Request
      < Server: nginx
      < Date: Mon, 13 Jan 2025 12:04:08 GMT
      < Content-Type: text/html
      < Content-Length: 208
      < Connection: close
      <
      * Closing connection
      

      in the web interface I get

      Another instance of pfSense-upgrade is running.  Try again later
      

      This appliance has largely sat there doing its job with little intervention since I've had it. I'm only now looking at extending it a little for better monitoring

      Any hints?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @tomdo
        last edited by

        @tomdo

        It was working this morning (GMT here), but now :

        [24.11-RELEASE][root@pfSense.bhf.tld]/root: pkg update
        Updating pfSense-core repository catalogue...
        pkg: An error occured while fetching package
        pkg: An error occured while fetching package
        repository pfSense-core 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 pfSense-core
        Updating pfSense repository catalogue...
        pkg: An error occured while fetching package
        pkg: An error occured while fetching package
        repository pfSense 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 pfSense
        Error updating repositories!
        

        also :

        2d8e7001-94a0-460d-9197-ccb3e989e7a6-image.png

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          Working OK here.

          Try running: pfSense-repoc -N
          Then retest.

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

            Looks like there were some backend issues earlier today but that should be resolved now.

            GertjanG 1 Reply Last reply Reply Quote 1
            • T
              tomdo @stephenw10
              last edited by

              @stephenw10 said in 4100: pkg: An error occured while fetching package:

              Working OK here.

              Try running: pfSense-repoc -N
              Then retest.

              Working now. Thanks!

              1 Reply Last reply Reply Quote 1
              • GertjanG
                Gertjan @stephenw10
                last edited by

                @stephenw10 said in 4100: pkg: An error occured while fetching package:

                Looks like there were some backend issues earlier today but that should be resolved now.

                We noticed 😊

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

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