finding outdated package freebsd

How to find Outdated Packages on your FreeBSD

we can use folowing command which is used for generating a report of packages installed by pkg

pkg version

Use the command

pkg version -vI

will output a list as
eg.

bash-5.2.15                        =   up-to-date with index
wget-1.21.4                        ?   orphaned: ftp/wget
libzip-1.10.0                      >   succeeds index (index has 1.9.2)

The character indicator can be

=       The installed version of the package is current.
<       The installed version of the package is older than the current version.
>       The installed version of the package is newer than the current version.  This situation can arise with an out of date index file, or when testing new ports.
?       The installed package does not appear in the index.  This could be due to an out of date index or a package taken from a PR that has not yet been committed.
!       The installed package exists in the index but for some reason, pkg version was unable to compare the version number of the installed package with the corresponding entry in the index.

Further reading, Use following command

pkg help version

Categories