Q. How do I know what packages are available to be updated on my FreeBSD Server system? How do I list all outdated packages under FreeBSD / OpenBSD operating system?
A. Use the pkg_version command which is used to produce a report of software packages installed using the pkg_add command (ports).
Each package name is printed, along with a one-character status flag. Following is the list of all valid status flags:
- = 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.
- * There are multiple versions of a particular software package listed in the index file.
- ! 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.
List all FreeBSD / OpenBSD outdated package
# pkg_version -vIL=
How do I update outdated packages?
See How to: FreeBSD update software and apply security patch.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.
🐧 1 comment so far... add one ↓
|Category||List of Unix and Linux commands|
|Disk space analyzers||df • ncdu • pydf|
|File Management||cat • cp • mkdir • tree|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||NetHogs • dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|