pkg: Newer FreeBSD version for package XXXXXX

A quick tale of pkg woes: Ran into a odd thing tonight when attempting to update packages on my Mac Mini BSD box:

~> sudo pkg update
Updating FreeBSD repository catalogue...  
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01  
Fetching packagesite.txz: 100%    6 MiB 677.5kB/s    00:10  
Processing entries:   0%  
Newer FreeBSD version for package pg_stat_kcache:  
To ignore this error set IGNORE_OSVERSION=yes  
- package: 1102000
- running kernel: 1101001
Allow missmatch now?[Y/n]: n  

Wait, what gives?

~> uname -KU
1101001 1101001  

OK, force the issue then!

~> sudo pkg -o OSVERSION=1101001 update -f
Updating FreeBSD repository catalogue...  
Fetching meta.txz: 100%    944 B   0.9kB/s    00:01  
Fetching packagesite.txz: 100%    6 MiB   1.1MB/s    00:06  
Processing entries:   0%  
Newer FreeBSD version for package pg_stat_kcache:  
To ignore this error set IGNORE_OSVERSION=yes  
- package: 1102000
- running kernel: 1101001
Allow missmatch now?[Y/n]: Y  
Processing entries: 100%  
FreeBSD repository update completed. 32575 packages processed.  
All repositories are up to date.

~> sudo pkg -o OSVERSION=1101001 upgrade
Updating FreeBSD repository catalogue...  
FreeBSD repository is up to date.  
All repositories are up to date.  
Checking for upgrades (117 candidates): 100%  
Processing candidates (117 candidates): 100%  
The following 57 package(s) will be affected (of 0 checked):  

There we go! Now when I run pkg:

~> sudo pkg update
Password:  
Updating FreeBSD repository catalogue...  
FreeBSD repository is up to date.  
All repositories are up to date.  

No idea how I ended up in this state still?!

comments powered by Disqus