CHAPTER 10 – PEAR COMMANDS – pear list-upgrades
The pear list-upgrades command compares the version you have installed con- taining the newest version with the release state you have configured (see the preferred_state configuration parameter). Here's an example: $ pear list-upgrades AVAILABLE UPGRADES (STABLE): ============================ PACKAGE LOCAL REMOTE SIZE Cache 1.4 (stable) 1.5.4 (stable) 30kB DB 1.6.3 (stable) 1.6.4 (stable) 90kB Log 1.2 (stable) 1.8.4 (stable) 29kB Mail 1.1.2 (stable) 1.1.3 (stable) 13.2kB The version listed here is not the one you have installed, but the one you will upgrade to if you use the upgrade command.