-SOLVED-Can't check updates, can't install packages.
-
Update:
In system update I had selected the Latest development snapshot trying to fix something else, I switched it back to latest stable version and that fixed it, oops.Hi,
2.6.0-RELEASE (amd64)
built on Mon Jan 31 19:57:53 UTC 2022
FreeBSD 12.3-STABLEI restored a backup from another pfsense installation. I can resolve domain names and ping anything.
Can't check for updates, it's not showing the package list either.
If I run:
pkg install -y pfSense-upgradeI get the following:
Updating pfSense-core repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: . done
Processing entries:
pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64
pkg: repository pfSense-core contains packages with wrong ABI: FreeBSD:14:amd64
Processing entries... done
Unable to update repository pfSense-core
Updating pfSense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries:
pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64
pkg: repository pfSense contains packages with wrong ABI: FreeBSD:14:amd64
Processing entries... done
Unable to update repository pfSense
Error updating repositories!What do I do?
-
@robert2020 said in -SOLVED-Can't check updates, can't install packages.:
I restored a backup from another pfsense installation.
Ok ..... But :
@robert2020 said in -SOLVED-Can't check updates, can't install packages.:
pkg: wrong architecture: FreeBSD:14:amd64 instead of FreeBSD:12:amd64
Your system 'thinks' or the config told the system to 'think' that it is based on FreeBSD 14, which can not be true, as your are using 2.6.0 which is FreeBSD 12.3 based.
Ok to test the " Latest development snapshot" but to get back to 2.6.0 (FreeBSD 12.3) you need to re install.
-
@gertjan said in -SOLVED-Can't check updates, can't install packages.:
Ok to test the " Latest development snapshot" but to get back to 2.6.0 (FreeBSD 12.3) you need to re install
Also if the config is from a system running a newer release than what it's being installed to it will likely throw errors or not work at all