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

Bug #16654 "pear upgrade-all" fails with Warning: mkdir(): File exists
Submitted: 2009-09-29 04:06 UTC
From: mjs Assigned: dufuz
Status: Assigned Package: PEAR (version 1.9.0)
PHP Version: 5.3.0 OS: Ubuntu
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 : 32 - 21 = ?

 
 [2009-09-29 04:06 UTC] mjs (Michael Stillwell)
Description: ------------ Output of "pear upgrade-all": mel:~$ pear upgrade-all Will upgrade channel://pear.php.net/pear downloading PEAR-1.9.0.tgz ... Starting to download PEAR-1.9.0.tgz (291,634 bytes) .............................................................done: 291,634 bytes Warning: mkdir(): File exists in System.php on line 277 PHP Warning: mkdir(): File exists in /usr/local/php- 5.3.0/lib/php/System.php on line 277 PHP Stack trace: PHP 1. {main}() /usr/local/php-5.3.0/lib/php/pearcmd.php:0 PHP 2. PEAR_Command_Common->run() /usr/local/php- 5.3.0/lib/php/pearcmd.php:308 PHP 3. PEAR_Command_Install->doUpgradeAll() /usr/local/php- 5.3.0/lib/php/PEAR/Command/Common.php:271 PHP 4. PEAR_Command_Install->doInstall() /usr/local/php- 5.3.0/lib/php/PEAR/Command/Install.php:902 PHP 5. PEAR_Installer->install() /usr/local/php- 5.3.0/lib/php/PEAR/Command/Install.php:710 PHP 6. PEAR_Installer->_installFile2() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:1411 PHP 7. PEAR_Installer->mkDirHier() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:547 PHP 8. PEAR_Common->mkDirHier() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:997 PHP 9. System->mkDir() /usr/local/php- 5.3.0/lib/php/PEAR/Common.php:234 PHP 10. mkdir() /usr/local/php-5.3.0/lib/php/System.php:277 Warning: mkdir(): File exists in /usr/local/php-5.3.0/lib/php/System.php on line 277 Call Stack: 0.0027 491516 1. {main}() /usr/local/php- 5.3.0/lib/php/pearcmd.php:0 0.0825 2920260 2. PEAR_Command_Common->run() /usr/local/php-5.3.0/lib/php/pearcmd.php:308 0.0825 2920260 3. PEAR_Command_Install->doUpgradeAll() /usr/local/php-5.3.0/lib/php/PEAR/Command/Common.php:271 0.0848 2938180 4. PEAR_Command_Install->doInstall() /usr/local/php-5.3.0/lib/php/PEAR/Command/Install.php:902 2.8906 8338792 5. PEAR_Installer->install() /usr/local/php- 5.3.0/lib/php/PEAR/Command/Install.php:710 3.2781 10138160 6. PEAR_Installer->_installFile2() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:1411 3.2785 10143592 7. PEAR_Installer->mkDirHier() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:547 3.2786 10144044 8. PEAR_Common->mkDirHier() /usr/local/php- 5.3.0/lib/php/PEAR/Installer.php:997 3.2786 10144340 9. System->mkDir() /usr/local/php- 5.3.0/lib/php/PEAR/Common.php:234 3.2787 10145952 10. mkdir() /usr/local/php- 5.3.0/lib/php/System.php:277 ERROR: failed to mkdir /usr/local/php-5.3.0/bin/php Expected result: ---------------- A successful upgrade. Actual result: -------------- An error message.

Comments

 [2010-04-09 22:41 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz
Do you have any further information? Such as what packages were being updated and what directory already existed and such?