Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Installed pkg version '1.19' does not match required version '1.18'
« previous
next »
Print
Pages: [
1
]
Author
Topic: Installed pkg version '1.19' does not match required version '1.18' (Read 2342 times)
bigchips
Newbie
Posts: 2
Karma: 1
Installed pkg version '1.19' does not match required version '1.18'
«
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
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Installed pkg version '1.19' does not match required version '1.18'
«
Reply #1 on:
January 09, 2023, 05:37:09 pm »
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
Logged
bigchips
Newbie
Posts: 2
Karma: 1
Re: Installed pkg version '1.19' does not match required version '1.18'
«
Reply #2 on:
January 09, 2023, 06:04:32 pm »
That got it going. Huge thanks for the quick reply. Really appreciate the efforts of everyone on this project!
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Installed pkg version '1.19' does not match required version '1.18'
«
Reply #3 on:
January 10, 2023, 03:09:15 pm »
Thanks, small bump, nothing serious
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Installed pkg version '1.19' does not match required version '1.18'