Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2018 10:28:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 225104] ports-mgmt/pkg: "pkg update" fails to update package database saying that kernel too old for some package
Message-ID:  <bug-225104-32340-17VGebpW4j@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225104-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225104-32340@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #10 from Guido Falsi <madpilot@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 =3D 1200056;
> -------------------------------------------------------------------------
>=20
> for the 12 users.
>=20
>=20
> Respective:
> -------------------------------------------------------------------------
> OSVERSION =3D 1101001
> -------------------------------------------------------------------------
>=20
> for the 11 users.
>=20
>=20
> After that, the repository updates should be working again...

Can also be passed through the command line:

pkg -o OSVERSION=3D1200056 upgrade

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

--=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-225104-32340-17VGebpW4j>