[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
Mon Jan 22 10:28:41 UTC 2018


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

--- Comment #10 from Guido Falsi <madpilot at FreeBSD.org> ---
(In reply to Nils Beyer from comment #9)
> Okay, after digging through the pkg source code, I found a possible
> workaround. Add following line to "/usr/local/etc/pkg.conf":
> -------------------------------------------------------------------------
> OSVERSION = 1200056;
> -------------------------------------------------------------------------
> 
> for the 12 users.
> 
> 
> Respective:
> -------------------------------------------------------------------------
> OSVERSION = 1101001
> -------------------------------------------------------------------------
> 
> for the 11 users.
> 
> 
> After that, the repository updates should be working again...

Can also be passed through the command line:

pkg -o OSVERSION=1200056 upgrade

Which reduces the risk of forgetting the line in the configuration file.

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


More information about the freebsd-pkg mailing list