Error updating repositories
-
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!
-
I solved it using the command certctl rehash
-
@aes4096 said in Error updating repositories:
certctl rehash
This worked for me as well, so thank you for solution.
-
FWIW this is in the release notes: https://docs.netgate.com/pfsense/en/latest/releases/2-7-1.html#troubleshooting
-
@aes4096 Solved my problem too.
I was not able to fetch available packages -
@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 chainsolved it with your hint above! Thx