I have a server running poudriere, and for a long time I've been building two repos, 12amd64 and 13amd64.
The jail that builds the 12amd64 repo was 12.3-RELEASE, until recently when some packages failed to build, so I replaced it with a 12.4 jail.
I still had hosts running 12.3-RELEASE and when I tried to install packages on them, I got this error:
Newer FreeBSD version for package zziplib:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1204000
- running kernel: 1203000
Ignore the mismatch and continue? [y/N]: Processing entries... done
Unable to update repository fast
Error updating repositories!
pkg: repository fast contains packages for wrong OS version: FreeBSD:12:amd64
Ok, I realize 12.3-RELEASE is EOL, and since then all my hosts have been upgraded, but I'm going to start building packages for 13.2 and it seems I don't understand pkg as well as I should.
Should I have one repo for each major version, with the builder jail on the oldest minor version still supported, or am I better off with one builder jail and one repo for each minor version?
I assume packages built on 13.1 will work on 13.2, but possibly not the opposite?
The jail that builds the 12amd64 repo was 12.3-RELEASE, until recently when some packages failed to build, so I replaced it with a 12.4 jail.
I still had hosts running 12.3-RELEASE and when I tried to install packages on them, I got this error:
Newer FreeBSD version for package zziplib:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1204000
- running kernel: 1203000
Ignore the mismatch and continue? [y/N]: Processing entries... done
Unable to update repository fast
Error updating repositories!
pkg: repository fast contains packages for wrong OS version: FreeBSD:12:amd64
Ok, I realize 12.3-RELEASE is EOL, and since then all my hosts have been upgraded, but I'm going to start building packages for 13.2 and it seems I don't understand pkg as well as I should.
Should I have one repo for each major version, with the builder jail on the oldest minor version still supported, or am I better off with one builder jail and one repo for each minor version?
I assume packages built on 13.1 will work on 13.2, but possibly not the opposite?