Edit report at http://pear.php.net/bugs/bug.php?id=18848&edit=1
ID: 18848
Updated by: [email protected]
Reported By: ohlesbeauxjours at yahoo dot fr
Summary: Pyrus fails to install/uninstall packages
-Status: Open
+Status: Bogus
Type: Bug
Package: PEAR
Operating System: WinXP SP2
Package Version: 1.9.4
PHP Version: 5.3.8
-Roadmap Versions: 2.0.0
+Roadmap Versions:
New Comment:
-Status: Open
+Status: Bogus
-Roadmap Versions: 2.0.0
+Roadmap Versions:
Please file bugs for Pyrus at https://github.com/pyrus/Pyrus , this bug
is not related to the PEAR package.
Previous Comments:
------------------------------------------------------------------------
[2011-09-19 22:39:51] baptiste
Description:
------------
I tried after a reboot to be sure that no files/folders were locked.
I tried different packages, as well as various locations for my PEAR
base install.
No way to make Pyrus install a package on my system.
Note: even if this bug is related to
https://github.com/pyrus/Pyrus/issues/3, it would be nice to leave it
open here (until fixed), for other users to find it easily (see
http://pear.php.net/bugs/bug.php?id=17627)
The users would then know that a similar bug has been posted, and they
would not be tempted to add a new one, or to post on the mailing list
like I did today.
Thank you!
Test script:
---------------
php pyrus.phar install pear/Log-1.12.7
Expected result:
----------------
Successfull install
Actual result:
--------------
Pyrus version 2.0.0a3 SHA-1: BE7EA9D171AE3873F1BBAF692EEE9165BB14BD5D
Using PEAR installation found at G:\Inetpub\librairies\PEAR\pear
Downloading pear.php.net/Log
Connected...
Mime-type: application/octet-stream
[===>
] 3% ( 1/45 kb)
[=================================================================================================>
] 97% (44/45 kb)
Warning: rmdir(G:\Inetpub\librairies\PEAR\.journal-pear): Permission
denied in
phar://G:/php-5.3.8/pyrus.phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Filesystem.php
on line 103
Warning: rmdir(G:\Inetpub\librairies\PEAR\.journal-pear): Permission
denied in
phar://G:/php-5.3.8/pyrus.phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Filesystem.php
on line 103
PEAR2\Pyrus\Installer\Exception: Installation failed
PEAR2\Pyrus\AtomicFileTransaction\MultiException: Unable to begin
transaction
PEAR2\Pyrus\IOException: Unable to fully remove
G:\Inetpub\librairies\PEAR\.journal-pear
PEAR2\Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback -
not in a transaction
------------------------------------------------------------------------