[Bug 225104] ports-mgmt/pkg: "pkg update" fails to update package database saying that kernel too old for some package

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 14 20:53:16 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225104

--- Comment #26 from Nils Beyer <nbe at renzel.net> ---
(In reply to Bryan Drewery from comment #24)

> [...] the proper thing with pkg on CURRENT has *always been* that you should upgrade the system before upgrading packages.

that's what I have done (and always have done); please see my comment #3 - that
doesn't explain why I'm getting while bootstrapping "pkg":
------------------------------------------------------------------------
pkg-static: Newer FreeBSD version for package pkg:
- package: 1200055
- running kernel: 1200054
------------------------------------------------------------------------

although "uname -UK" tells otherwise:
------------------------------------------------------------------------
#uname -UK
1200056 1200056
------------------------------------------------------------------------


I think the string "running kernel" in pkg's output is misleading as the
"libpkg" logic doesn't check the kernel version but the tagged version in
"/bin/sh"...

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


More information about the freebsd-pkg mailing list