Date: Sat, 02 Dec 2023 11:02:00 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 275482] ports-mgmt/pkg: incorrectly complains about outdated os version Message-ID: <bug-275482-32340-UVNxFm9Gg4@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275482-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-275482-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody) <pkg@FreeBSD.org> for maintainer-feedback: Bug 275482: ports-mgmt/pkg: incorrectly complains about outdated os version https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275482 --- Description --- Scenario: - FreeBSD stable/14 @ c9ceff3c1fa6 - Using portmaster to upgrade ports and maintain a local package repository - Using pkg to deinstall old versions of ports and install new versions from the local package repository Result: - Since a few days, when installing a new package, pkg always complains: [0]# cd <packagedir> [0]# pkg add py39-rasterio-1.3.9.pkg Installing py39-rasterio-1.3.9... Newer FreeBSD version for package py39-rasterio: To ignore this error set IGNORE_OSVERSION=yes - package: 1400501 - running kernel: 1400500 Ignore the mismatch and continue? [y/N]: y Extracting py39-rasterio-1.3.9: 100% [0]# sysctl kern.osreldate kern.osreldate: 1400501 [0]# grep -r 14005 /usr/include /usr/include/sys/param.h:#define __FreeBSD_version 1400501 /usr/include/osreldate.h:#define __FreeBSD_version 1400501 [0]# - As can be seen, the osreldate is actually o.k. In fact, all machines are running the same kernel.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275482-32340-UVNxFm9Gg4>
