lsof-4.97.0,8 on 13.2-RELEASE (was: freebsd-update upgrade)

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sun, 16 Apr 2023 17:28:36 UTC
On 16/04/2023 13:26, Fernando Apesteguía wrote:

…

> lsof needs the kernel sources. You probably have a package that was 
> built still for 13.1 and hence the warning. You can rebuild from ports 
> and reinstall the resulting package to get rid of the warning.


Thanks, incidentally it seems (at a glance) that lsof runs OK despite 
the warning.

An example (condensed):

root@fuji:~ # lsof
lsof: WARNING:compiledforFreeBSDrelease13.1-RELEASE-p5; this is13.2-RELEASE.
COMMAND PIDUSERFDTYPEDEVICESIZE/OFFNODENAME
kernel 
0rootcwdVDIR856136346,1537793548264/(fuji/ROOT/13.1-RELEASE-p7_2023-03-19_154504)
kernel 
0rootrtdVDIR856136346,1537793548264/(fuji/ROOT/13.1-RELEASE-p7_2023-03-19_154504)
init 
1roottxtVREG856136346,153779354812380241016754/sbin/init(fuji/ROOT/13.1-RELEASE-p7_2023-03-19_154504)
…
lsof 3407root4rVCHR0,360xfffff8004c39609036/dev/kmem(devfs)
lsof: WARNING:/root/.lsof_fujiwasupdated.
root@fuji:~