When Symfony upgrade fails using PEAR
Tuesday, March 20th, 2007Problem
I noticed my PEAR registry had corrupted, when I tried to upgrade symfony version from 1.0.0 beta 4 to 1.0.1. pear upgrade symfony/symfony kept spit out ERROR: pear.symfony-project.com/symfony not installed, even though it is installed. Also pear list symfony/symfony didn’t work.
Solution
PEAR registries are under the directory of $PEAR_HOMEDIR/.registry/. In case of symfony, the registry file is, .channel.pear.symfony-project.com/symfony.reg, so I removed the file and re-run the upgrade script.
From the PEAR bugtrack system, for some reason, if PEAR complains that the allowed memory has been exhausted, peardev is the alternative. It is disabled memory_limit.