Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Dec 2023 11:02:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275482] ports-mgmt/pkg: incorrectly complains about outdated os version
Message-ID:  <bug-275482-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275482

            Bug ID: 275482
           Summary: ports-mgmt/pkg: incorrectly complains about outdated
                    os version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@FreeBSD.org

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=20
Installing py39-rasterio-1.3.9...
Newer FreeBSD version for package py39-rasterio:
To ignore this error set IGNORE_OSVERSION=3Dyes
- 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]#=20

- As can be seen, the osreldate is actually o.k. In fact, all machines are
running the same kernel.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275482-7788>