Which FreeBSD command upgrades packages to newer versions?
pkg upgrade compares installed package versions with the versions available in the repository catalogue and upgrades installed packages to newer versions. pkg update only updates the local repository metadata.
pkg upgrade
pkg update
Community Discussion