I need to upgrade 1.4.0.2 to 1.5.x.I'm following steps mentioned in the link
Everything is going fine. But after passing the command
./mage config-set preferred_state stable version 1.7.* becomes the stable state.
UPDATE
Now upgrading from 1.5 to 1.6 version is not working.
pearinstead ofmage?./pear upgrade -f magento-core/Mage_All_Latest-stablemagetool works