OPNsense Forum
English Forums => Development and Code Review => Topic started by: bigchips on January 09, 2023, 05:29:49 pm
-
Trying to set up a OpnSense development environment on a fresh install of FreeBSD 13.1 and when executing "make ports" I am getting the following message:
Installed pkg version '1.19' does not match required version '1.18'
What is the preferred way to resolve this? I can't figure out where this dependency is coming from.
Thanks,
Brett
-
Hi Brett,
FreeBSD's pkg version has been known to introduce incompatibilities and bugs so we lag a bit behind it for safety reasons. Unfortunately when setting up a new build system the latest version from FreeBSD is automatically installed and that would introduce said issues and also interfere with the ability to build.
So nowadays we require you to install the pkg version supplied by our ports tree. In your build system that would be:
# cd /usr/ports/ports-mgmt/pkg
# make && make reinstall
Sometimes the database is damaged doing a downgrade, but I don't know if that is the case for 1.19 yet.
Cheers,
Franco
-
That got it going. Huge thanks for the quick reply. Really appreciate the efforts of everyone on this project!
-
Thanks, small bump, nothing serious :D