Date: Mon, 19 Feb 2018 20:54:57 +0100 From: Michael Gmelin <freebsd@grem.de> To: Ronald Klop <ronald-lists@klop.ws> Cc: freebsd-current@freebsd.org Subject: Re: pkg does not recognize correct kernel version Message-ID: <A5670F15-904E-4711-903E-749A71A760F5@grem.de> In-Reply-To: <op.zeo60hflkndu52@klop.ws> References: <op.zeo60hflkndu52@klop.ws>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 19. Feb 2018, at 20:27, Ronald Klop <ronald-lists@klop.ws> wrote: >=20 > I just did this. >=20 > root@sjakie ~]# pkg upgrade > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 944 B 0.9kB/s 00:01 > Fetching packagesite.txz: 100% 6 MiB 6.0MB/s 00:01 > Processing entries: 0% > pkg: Newer FreeBSD version for package gnome-menus: > - package: 1200058 > - running kernel: 1200056 > pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12= :amd64 > Processing entries: 100% > Unable to update repository FreeBSD > Error updating repositories! >=20 > [root@sjakie ~]# uname -UK > 1200058 1200058 >=20 > [root@sjakie ~]# uname -a > FreeBSD sjakie 12.0-CURRENT FreeBSD 12.0-CURRENT #4 r329516M: Sun Feb 18 1= 2:37:36 CET 2018 ronald@sjakie:/data/ronald/obj-freebsd-current/data/ron= ald/freebsd-current/amd64.amd64/sys/GENERIC-NODEBUG amd64 >=20 >=20 > So uname gives a different version than pkg detects. >=20 > What is happening? pkg update -f gives the same result. -o OSVERSION=3D120= 0058 helps, but does not feel like the right solution. What is the output of =E2=80=98freebsd-version=E2=80=99? Best, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5670F15-904E-4711-903E-749A71A760F5>