24.03 can't find the upgrade servers
-
I tried this in the cmd prompt:
pkg-static install -fy pkg pfSense-repo pfSense-upgrade
Updating pfSense-core repository catalogue...
pkg-static: No SRV record found for the repo 'pfSense-core'
pkg-static: An error occured while fetching package
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-core/meta.txz -- pkg+:// implies SRV mirror type
repository pfSense-core has no meta file, using default settings
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-core/data.pkg -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-core/data.txz -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-core/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-core/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository pfSense-core
Updating pfSense repository catalogue...
pkg-static: No SRV record found for the repo 'pfSense'
pkg-static: An error occured while fetching package
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-pfSense_plus_v24_03/meta.txz -- pkg+:// implies SRV mirror type
repository pfSense has no meta file, using default settings
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-pfSense_plus_v24_03/data.pkg -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-pfSense_plus_v24_03/data.txz -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-pfSense_plus_v24_03/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg-static: packagesite URL error for pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v24_03_aarch64-pfSense_plus_v24_03/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository pfSense
Error updating repositories!Internet in general is fine so I don't think it's a DNS issue. Any ideas?
-
@DaveWh OK, It's definitely a DNS issue with the router itself. I restored an older config and the update engine can find things OK. So, now to dig...
-
Try running:
pkg-static -d update
and see what error(s) are shown.Steve
-
@stephenw10 As noted, I managed to repair by restoring a backup config. I couldn't determine from the diffs between the working config and failing config what was wrong. However, all seems well now.
I ran your command and the output shows no networking errors, but rather several HTTP 404 errors. I can't put the complete output here because it's being flagged as spam. However, it ends with apparent success:
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
DBG(1)[5856]> PkgRepo: verifying update for pfSense
Waiting for another process to update repository pfSense
All repositories are up to date. -
Actual 404 errors? Not 304 errors, which are expected?
-
- Couldn't find host pfsense-plus-pkg01.atx.netgate.com in the .netrc file; using defaults
- Hostname pfsense-plus-pkg01.atx.netgate.com was found in DNS cache
- 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_03_aarch64-core/data.txz HTTP/1.1
Host: pfsense-plus-pkg01.atx.netgate.com
User-Agent: pkg/1.21.3
Accept: /
If-Modified-Since: Fri, 19 Apr 2024 01:23:56 GMT- Request completely sent off
< HTTP/1.1 404 Not Found - Failure writing output to destination, passed 24 returned 23
- Closing connection
a few 304's follow.
-
Hmm, OK I see that. Digging...
-
Ok that's expected with the currently repo setup. That file doesn't exist in 24.03 and shouldn't cause a problem.
-
@stephenw10 ok cool. thanks for your assistance on this.