FreeBSD – repository contains packages for wrong OS version

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 […]

FreeBSD – increasing size of root disk with KVM/QEMU

Here is how to to increase the size of the disk for FreeBSD. I am using FreeBSD 12.3 here running inside a Fedora Linux.  Here are some starting requirements One needs to have qcow2 type disk. the virtual machine must be shutdown No snapshots against the virtual machine So, I cloned out the machine to test: [jon2allen@fedora Downloads]$ ll freebsd*.qcow2 […]

Find command – listing last modify path with full dir

Some examples of this command from Linux Debian and FreeBSD   Here is how to do this with GNU Linux – %p gives full path name   user1@f1-google-joniowa:~$ find . -name “weather_obs.log” -printf “%p\t%TY-%Tm-%Td\n” ./test27/weather_obs/weather_obs.log 2023-05-16 ./test26/weather_obs/weather_obs.log 2022-12-08 ./test28/weather_obs/weather_obs.log 2023-02-28 ./test25/weather_obs/weather_obs.log 2022-08-18 ./python/weather_obs/weather_obs.log 2021-05-24 ./test24/weather_obs/weather_obs.log 2022-11-22 Here is a bsd version –   uses exec   [user1@freebsd12_3 ~]$ find . -name […]