Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.18

Bug #10154 pear install does not recover from error
Submitted: 2007-02-22 08:15 UTC
From: m0kili at gmail dot com Assigned:
Status: Duplicate Package: PEAR (version 1.5.0)
PHP Version: 5.2.1 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 + 42 = ?

 
 [2007-02-22 08:15 UTC] m0kili at gmail dot com (Marek)
Description: ------------ I tried to install symfony package, but pear install ended with memory exhausted error. I raised the limit. When I try to install symfony, install complains the package is installed. Uninstall complains package is not installed. Test script: --------------- $ sudo pear install symfony/symfony downloading symfony-1.0.0.tgz ... Starting to download symfony-1.0.0.tgz (1,910,892 bytes) .............................................done: 1,910,892 bytes Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 786400 bytes) in /usr/local/lib/php/PEAR/Registry.php on line 1241 $ sudo vi /usr/local/lib/php-cli.ini $ sudo pear install symfony/symfony Skipping package "symfony/symfony", already installed as version No valid packages found install failed $ sudo pear uninstall symfony/symfony No package to uninstall given $ sudo pear clear-cache reading directory /tmp/pear/cache 16 cache entries cleared $ sudo pear install symfony/symfony Skipping package "symfony/symfony", already installed as version No valid packages found install failed $ sudo pear upgrade-all Will upgrade console_getopt Will upgrade html_css Will upgrade symfony WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update downloading Console_Getopt-1.2.2.tgz ... Starting to download Console_Getopt-1.2.2.tgz (4,252 bytes) .....done: 4,252 bytes downloading HTML_CSS-1.1.3.tgz ... Starting to download HTML_CSS-1.1.3.tgz (107,398 bytes) ...done: 107,398 bytes downloading symfony-1.0.0.tgz ... Starting to download symfony-1.0.0.tgz (1,910,892 bytes) ...done: 1,910,892 bytes upgrade-all ok: channel://pear.php.net/Console_Getopt-1.2.2 upgrade-all ok: channel://pear.php.net/HTML_CSS-1.1.3 ERROR: pear.symfony-project.com/symfony not installed

Comments

 [2007-02-22 08:19 UTC] m0kili at gmail dot com
and pear list does not list the package
 [2007-02-22 15:12 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-02-24 23:22 UTC] m0kili at gmail dot com
I meant it's OK pear crashed. But it should recover from this gracefully. Is there a way this could happen? Pear should detect the registry is corrupted and offer a way to fix it.