Not sure why this happens, but I think it is a change of the upstream repository

run “pkg update”

since you are likely down-level – set the IGNORE_OSVERSION=yes

select Y for ignore mismatch.

root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg search pico
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64
root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg -v
1.20.8
root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg update
Updating FreeBSD repository catalogue...
Fetching packagesite.pkg: 100%    7 MiB   2.3MB/s    00:03
Processing entries:   0%
Newer FreeBSD version for package zziplib:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1204000
- running kernel: 1203000
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
FreeBSD repository update completed. 33979 packages processed.
All repositories are up to date.
root@freebsd12_3:/home/jon2allen/test27/weather_obs # pkg search pico
kodi-addon-game.libretro.picodrive-1.99.0.30_2 Kodi game addon for Sega - MS/MD/CD/32X (PicoDrive)
libretro-picodrive-0.20200504  Fast MegaDrive/MegaCD/32X emulator
pico-alpine-2.26               [Al]PIne's message COmposition editor and Pilot file manager
picoc-2.1_2                    Very small C interpreter for scripting
picocom-3.1                    Dumb Terminal Emulator
picocrypt-1.33_2               Small, simple, yet very secure encryption tool
picojson-1.3.0                 Header file only JSON parser/serializer in C++
picom-10.2                     Lightweight X11 compositor
picosat-965                    Satisfiability (SAT) solver for boolean variables
picosha2-1.0.0.23              C++ header-only SHA256 hash generator
root@freebsd12_3:/home/jon2allen/test27/weather_obs #

 

Leave a Reply