FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16654&edit=1

ID: 16654
Updated by: helgith@gmail.com
Reported By: mjs at beebo dot org
Summary: "pear upgrade-all" fails with Warning: mkdir(): File
exists
Status: Open
Type: Bug
Package: PEAR
Operating System: Ubuntu
Package Version: 1.9.0
PHP Version: 5.3.0
-Assigned To:
+Assigned To: dufuz
Roadmap Versions:
New Comment:

-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?


Previous Comments:
------------------------------------------------------------------------

[2009-09-29 00:06:03] mjs

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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 9, '10 at 5:46p
activeApr 9, '10 at 5:46p
posts1
users1
websitepear.php.net

1 user in discussion

Helgith: 1 post

People

Translate

site design / logo © 2022 Grokbase