check_upgrade: "Updating repositories metadata" returned error code 1
-
Try re-pulling the repo data with:
pfSense-repoc -NZDWhat error does that show (if any)?
-
pfSense-repoc: repoc_zuul: Failed to read the repository data (1).
pfSense-repoc: pfSense-repoc: exec: failed to run /usr/local/sbin/licctl: No such file or directoryOS: FreeBSD
OS Version: 16.0-CURRENT
Platform: amd64
Product: Netgate pfSense Plus
Version: 26.03-RELEASE
FS type: zfs
Language: en_US
Model: Netgate 4200
NDI:
Package prefix: pfSense-pkg-
Serial:
Repo path: /usr/local/etc/pfSense -
Ah, sorry try:
pfSense-repoc -ND -
@stephenw10 said in check_upgrade: "Updating repositories metadata" returned error code 1:
pfSense-repoc -ND
This does not give an error. It gives the same data readout as before with the following at the bottom:
Messages: Your Netgate device has pfSense+ as part of your device purchase.No change when trying to check upgrades.
-
Hmm, try running
pfSense-upgrade -dcafter the repoc command. That should replace the missing cert there. -
@stephenw10 This gets the same result as well. No change in behavior after running it.
Messages: Your Netgate device has pfSense+ as part of your device purchase. ERROR: It was not possible to determine pkg remote version >>> Updating repositories metadata... Updating pfSense-core repository catalogue... pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/meta.conf: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/meta.txz: Problem with the local SSL certificate repository pfSense-core has no meta file, using default settings pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/data.pkg: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/data.tzst: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/packagesite.pkg: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-core/packagesite.tzst: Problem with the local SSL certificate Unable to update repository pfSense-core Updating pfSense repository catalogue... pkg-static: Repository pfSense has a wrong packagesite, need to re-create database pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/meta.conf: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/meta.txz: Problem with the local SSL certificate repository pfSense has no meta file, using default settings pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/data.pkg: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/data.tzst: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/packagesite.pkg: Problem with the local SSL certificate pkg-static: Failed to fetch https://pfsense-plus-pkg.netgate.com/pfSense_plus-v26_07_amd64-pfSense_plus_v26_07/packagesite.tzst: Problem with the local SSL certificate Unable to update repository pfSense Error updating repositories! ERROR: It was not possible to determine pfSense-base remote version ERROR: It was not possible to determine pfSense-kernel-pfSense remote version ERROR: It was not possible to determine pfSense remote version Your system is up to date -
Ah, I wonder if you upgraded to 26.03 at an unfortunate moment.
What does this show?:
pkg info -x pfSense-repocFor a very short time there was a bad version published earlier in the year.
-
@stephenw10 Just my luck!
pfSense-repoc-20260508.174916 -
Mmm. that does look around the right time try running:
pfSense-repoc -N && sh -c 'for f in $(grep -L -m1 "^-----BEGIN CERTIFICATE-----" /usr/local/etc/pfSense/pkg/repos/pfSense-repo-*-cert.pem 2>/dev/null); do if [ -e "$f" ]; then sed -i "" "s/.\\{64\\}/&\n/g" "$f"; sed -i "" -e "1s/^/-----BEGIN CERTIFICATE-----\n/" -e "\$s/\$/\n-----END CERTIFICATE-----/" "$f"; fi; done' && pkg upgrade -y pfSense-repoc -
Thanks, that fixed it.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy