While trying to upgrade a pfSense 2.2.6 to the latest version (as described here) and running pkg
, I got:
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]:
After answering Yes, I got:
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.10.5...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1003000
- running kernel: 1001000
Allow missmatch now?[Y/n]:
I decided to risk it and answered Yes. Ultimately, installation ended with the error message:
/usr/local/lib/libpkg.so.4: Undefined symbol "openat"
That presumably means the pkg
version I got is indeed not compatible with my system. Unfortunately, every further attempt to run pkg
yields the same error.
How can I get rid of the incompatible pkg
version again, and how can I get one that is compatible with the BSD version on my pfSense? Or is there any other way to fix this?