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

    Issue with going from 2.7.0 to 2.7.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    31 Posts 11 Posters 28.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Run at the command line: pkg-static -d update

      What errors are shown?

      N UnderstudyU 2 Replies Last reply Reply Quote 2
      • N
        ntgt6372 @stephenw10
        last edited by

        @stephenw10 using ssh I get:

        DBG(1)[97011]> pkg initialized
        pkg-static: Insufficient privileges to update the repository catalogue.
        
        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You have to be admin/root to run that.

          N 1 Reply Last reply Reply Quote 1
          • N
            ntgt6372 @stephenw10
            last edited by ntgt6372

            @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

            You have to be admin/root to run that.

            More output now, there are multiple repeated notifications likes these in the output:

            • Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults

            • 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
              DBG(1)[64045]> CURL> attempting to fetch from , left retry 2

            • 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
              DBG(1)[64045]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz
              DBG(1)[64045]> curl_open
              DBG(1)[64045]> Fetch: fetcher used: pkg+https
              DBG(1)[64045]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz

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

              Run: certctl rehash and then try again.

              N P UnderstudyU 3 Replies Last reply Reply Quote 23
              • N
                ntgt6372 @stephenw10
                last edited by ntgt6372

                @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                Run: certctl rehash and then try again.

                Thank you so much for your help! That worked like a charm:

                2.7.2-RELEASE (amd64)
                built on Fri Dec 8 21:55:00 CET 2023
                FreeBSD 14.0-CURRENT
                
                The system is on the latest version.
                Version information updated at Sat Dec 9 1:28:56 CET 2023
                
                1 Reply Last reply Reply Quote 3
                • P
                  Popolou @stephenw10
                  last edited by

                  @stephenw10 Came across precisely the same problem after initially seeing the option to upgrade. But, when creating a VM snapshot and returning to initiate the update from 2.7.0 to 2.7.2, the UI insisted 2.7.0 was the latest. Thanks for the steps to resolve this.

                  I don't quite follow why the certificates should get borked during this time?

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

                    It's the new version of pkg that get's pulled in from the new branch when it sees the update available. The certs are rehashed at that time but may require it again if the update is not run then.

                    1 Reply Last reply Reply Quote 1
                    • T
                      trucmuche
                      last edited by trucmuche

                      Hello,
                      I have the same problem as OP. Running pkg-static -d update gave me the certificate error. I then ran certctl rehash which cleared the error, the previous command now ending with:

                      pfSense repository is up to date.
                      All repositories are up to date.
                      

                      However, going to the System > Update page gives me an 504 Gateway Time-out error. Choosing option 13 in the command line gives:

                      pfSense-repoc-static: failed to fetch the repo data
                      failed to read the repo data.
                      failed to update the repository settings!!!
                      failed to update the repository settings!!!
                      PC Engines APU2 - Netgate Device ID: ***
                      

                      It may be worth mentioning that the page System > Package manager shows "Unable to retrieve package information".

                      I am not sure what to check from there. Is there something I can do to troubleshoot?
                      Thanks

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • UnderstudyU
                        Understudy @stephenw10
                        last edited by

                        @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                        pkg-static -d update

                        I believe you have already come across the answer in this thread. I am going to give answers just to help keep others informed. Thank you for the help.

                        /root: pkg-static -d update
                        DBG(1)[36222]> pkg initialized
                        Updating pfSense-core repository catalogue...
                        DBG(1)[36222]> PkgRepo: verifying update for pfSense-core
                        DBG(1)[36222]> PkgRepo: need forced update of pfSense-core
                        DBG(1)[36222]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults
                        *   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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        repository pfSense-core has no meta file, using default settings
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.pkg
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.pkg
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.txz
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.txz
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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-core
                        Updating pfSense repository catalogue...
                        DBG(1)[36222]> PkgRepo: verifying update for pfSense
                        DBG(1)[36222]> PkgRepo: need forced update of pfSense
                        DBG(1)[36222]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.conf
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.conf
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults
                        *   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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.txz
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.txz
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        repository pfSense has no meta file, using default settings
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.txz
                        DBG(1)[36222]> curl_open
                        DBG(1)[36222]> Fetch: fetcher used: pkg+https
                        DBG(1)[36222]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.txz
                        
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 3
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 2
                        
                        * 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
                        DBG(1)[36222]> CURL> attempting to fetch from , left retry 1
                        
                        * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults
                        * Hostname pkg01-atx.netgate.com was found in DNS cache
                        *   Trying 208.123.73.209:443...
                        * Connected to pkg01-atx.netgate.com (208.123.73.209) 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!
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • UnderstudyU
                          Understudy @stephenw10
                          last edited by

                          @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                          Run: certctl rehash and then try again.

                          /root: certctl rehash
                          Scanning /usr/share/certs/untrusted for certificates...
                          Scanning /usr/share/certs/trusted for certificates...
                          Scanning /usr/local/share/certs for certificates...
                          
                          
                          Fetching packagesite.pkg: 100%  157 KiB 160.7kB/s    00:01
                          * Connection #0 to host pkg01-atx.netgate.com left intact
                          DBG(1)[53066]> PkgRepo: extracting packagesite.yaml of repo pfSense
                          DBG(1)[81902]> PkgRepo: extracting signature of repo in a sandbox
                          DBG(1)[53066]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense.sqlite'
                          Processing entries:   0%
                          Newer FreeBSD version for package xxd:
                          To ignore this error set IGNORE_OSVERSION=yes
                          - package: 1400094
                          - running kernel: 1400085
                          Ignore the mismatch and continue? [y/N]: N
                          pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:amd64
                          Processing entries: 100%
                          Unable to update repository pfSense
                          Error updating repositories!
                          
                          

                          I said No so I could show this issue that showed up on the mismatch. This is a new result, so progress is being made.

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

                            @trucmuche said in Issue with going from 2.7.0 to 2.7.2:

                            Is there something I can do to troubleshoot?

                            First thing to try is make sure the firewall can connect out at all. So try to ping 8.8.8.8 and google.com from pfSense.

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

                              @Understudy said in Issue with going from 2.7.0 to 2.7.2:

                              I said No so I could show this issue that showed up on the mismatch.

                              What version are you upgrading from?

                              If you run pfSense-upgrade it allows for an ABI mismatch like that. But CE has been built on 14 for sometime now.

                              UnderstudyU 3 Replies Last reply Reply Quote 1
                              • UnderstudyU
                                Understudy @stephenw10
                                last edited by

                                @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                                @Understudy said in Issue with going from 2.7.0 to 2.7.2:

                                I said No so I could show this issue that showed up on the mismatch.

                                What version are you upgrading from?

                                If you run pfSense-upgrade it allows for an ABI mismatch like that. But CE has been built on 14 for sometime now.

                                Current Version is 2.7.0

                                I will run pfSense-upgrade and let you know.

                                Thank you

                                1 Reply Last reply Reply Quote 1
                                • UnderstudyU
                                  Understudy @stephenw10
                                  last edited by

                                  @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                                  @Understudy said in Issue with going from 2.7.0 to 2.7.2:

                                  I said No so I could show this issue that showed up on the mismatch.

                                  What version are you upgrading from?

                                  If you run pfSense-upgrade it allows for an ABI mismatch like that. But CE has been built on 14 for sometime now.

                                  [2.7.0-RELEASE][admin@Ignis.brendhanhorne.com]/root: pfSense-upgrade
                                  pfSense-repoc-static: failed to fetch the repo data
                                  failed to read the repo data.
                                  failed to update the repository settings!!!
                                  failed to update the repository settings!!!
                                  [2.7.0-RELEASE][admin@Ignis.brendhanhorne.com]/root:
                                  
                                  

                                  Something is not quite right. What would be be next step?

                                  stephenw10S 1 Reply Last reply Reply Quote 0
                                  • T
                                    trucmuche @stephenw10
                                    last edited by

                                    @stephenw10
                                    Yes, connectivity is fine. I looked for info everywhere and found some steps in this thread. I tried pkg-static upgrade pfSense-repoc and pkg-static upgrade and it messed up everything because I think I went too far.

                                    I just did a fresh install and I am now running 2.7.2. The installer restored the config.xml but none of the packages are installed. The same issues are still here:

                                    • Available packages page shows "Unable to retrieve package information".

                                    • pkg-static -d update shows:

                                    DBG(1)[3313]> pkg initialized
                                    pkg-static: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
                                    No active remote repositories configured.
                                    

                                    Internet connectivity is fine on pfSense and on the network behind it.

                                    UPDATE:
                                    Reading your latest message above for @Understudy, I tried pfSense-upgrade and it seems to have recreated the database. After another restore and reboot, everything seems to be back to normal. It was not easy, but thank you for all the information on this forum.

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

                                      @trucmuche said in Issue with going from 2.7.0 to 2.7.2:

                                      pkg-static: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory

                                      Just for reference if you see that error just resave the repo branch or select a different branch and then switch back (which also resaves it).

                                      M 1 Reply Last reply Reply Quote 1
                                      • UnderstudyU
                                        Understudy @stephenw10
                                        last edited by

                                        @stephenw10 said in Issue with going from 2.7.0 to 2.7.2:

                                        @Understudy said in Issue with going from 2.7.0 to 2.7.2:

                                        I said No so I could show this issue that showed up on the mismatch.

                                        What version are you upgrading from?

                                        If you run pfSense-upgrade it allows for an ABI mismatch like that. But CE has been built on 14 for sometime now.

                                        Tried it again. Different message.

                                        [2.7.0-RELEASE][admin@Ignis.brendhanhorne.com]/root: pfSense-upgrade
                                        ERROR: It was not possible to determine pkg remote version
                                        >>> Updating repositories metadata...
                                        Updating pfSense-core repository catalogue...
                                        pkg-static: An error occured while fetching package
                                        pkg-static: An error occured while fetching package
                                        repository pfSense-core has no meta file, using default settings
                                        pkg-static: An error occured while fetching package
                                        pkg-static: An error occured while fetching package
                                        Unable to update repository pfSense-core
                                        Updating pfSense repository catalogue...
                                        pkg-static: An error occured while fetching package
                                        pkg-static: An error occured while fetching package
                                        repository pfSense has no meta file, using default settings
                                        pkg-static: An error occured while fetching package
                                        pkg-static: An error occured while fetching package
                                        Unable to update repository pfSense
                                        Error updating repositories!
                                        ERROR: It was not possible to determine pfSense-upgrade remote version
                                        ERROR: It was not possible to determine pfSense-upgrade remote version
                                        >>> Upgrading pfSense-upgrade... failed.
                                        [2.7.0-RELEASE][admin@Ignis.brendhanhorne.com]/root:
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator @Understudy
                                          last edited by

                                          @Understudy said in Issue with going from 2.7.0 to 2.7.2:

                                          pfSense-repoc-static: failed to fetch the repo data
                                          failed to read the repo data.
                                          failed to update the repository settings!!!

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

                                          1 Reply Last reply Reply Quote 1
                                          • C
                                            CZEMacLeod @Understudy
                                            last edited by

                                            @Understudy @stephenw10 I had exactly the same issue - and under the GUI it was all showing green. Saw a youtube video about the patch and the fixes it includes and wondered if I had it.

                                            The UI said the current stable 2.7.2 branch was selected. And that the current/latest and installed (base) versions were 2.7.0 and were up to date. I almost assumed that meant that the .2 update didn't show there and I was all good.
                                            Only after checking this forum and trying option 13 and getting the same then fixing it with the
                                            certctl rehash
                                            command then following up with
                                            pfSense-upgrade
                                            did it suddenly spring back into life.

                                            I really wish there was a better UI display that something had gone wrong here and that I was actually out of date.
                                            Is the rehash thing something I should get it to run on cron weekly or something to ensure this doesn't happen again?

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