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

Bug #17195 Pyrus: failed installation leaves inaccessible directory
Submitted: 2010-03-05 04:28 UTC
From: bill Assigned:
Status: No Feedback Package: PEAR (version Unknown)
PHP Version: 5.1.3 OS: Windows XP
Roadmaps: (Not assigned)    
Subscription  


 [2010-03-05 04:28 UTC] bill (Wassilios Meletiadis)
Description: ------------ If the installation of a package fails the pyrus installer leaves a directory named "old-php". This directory is inaccessible for everyone, even for the administrator. It can't be opened nor deleted. When trying to install the next package one will get the following error-messages: PHP Warning: rename(Drive:\my_pear_path\php,Drive:\my_pear_path\.old-php): Permission denied in phar://Drive:/path_to_pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/AtomicFileTransaction.php on line 648 Warning: rename(Drive:\my_pear_path\php,Drive:\my_pear_path\.old-php): Permission denied in phar://Drive:/path_to_pyrus/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/Pyrus/AtomicFileTransaction.php on line 648 pear2\Pyrus\AtomicFileTransaction\Exception: Cannot rollback - not in a transaction

Comments

 [2010-03-17 08:07 UTC] saltybeagle (Brett Bieber)
-Status: Open +Status: Feedback
Sorry, I can't reproduce this. Which package installation failed mid-transaction? Do you have any more info? Also, I'm assuming you meant PHP 5.3.1, as Pyrus is not compatible with PHP 5.1.3.
 [2010-07-17 00:36 UTC] saltybeagle (Brett Bieber)
-Status: Feedback +Status: No Feedback
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you.
 [2012-02-15 20:26 UTC] griph (Gregory Borozenets)
I had similar error-message while trying to install pear/PHP_Beautifier-0.1.15 Warning: rmdir(D:\xampp\php\.journal-PEAR): Permission denied in phar://D:/xampp/php/PEAR/pyrus.phar/PEAR2_Pyrus-2.0.0a3/php/PEAR2/Pyrus/Filesystem.php on line 103
 [2012-02-15 20:31 UTC] griph (Gregory Borozenets)
PEAR2\Pyrus\Installer\Exception: Installation failed PEAR2\Pyrus\AtomicFileTransaction\MultiException: Unable to begin transaction PEAR2\Pyrus\IOException: Unable to fully remove D:\xampp\php\.journal-PEAR PEAR2\Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction
 [2012-04-19 17:11 UTC] robert_blaha (Robert Blaha)
I have this problem too: PHP Warning: rename(C:\app\php5\,C:\app\.old-php5): Proces nemß p°Ýstup k souboru, nebo? jej prßvý vyu×Ývß jin? proces. (code: 32) in phar://C:/app/php5/pyrus.phar/Pyrus-2.0.0a4/php/Pyrus/AtomicFileTransaction/Transaction/TwoStage.php on line 82 Warning: rename(C:\app\php5\,C:\app\.old-php5): Proces nemß p°Ýstup k souboru, nebo? jej prßvý vyu×Ývß jin? proces. (code: 32) in phar://C:/app/php5/pyrus.phar/Pyrus-2.0.0a4/php/Pyrus/AtomicFileTransa ction/Transaction/TwoStage.php on line 82 Pyrus\Installer\Exception: Installation failed Pyrus\AtomicFileTransaction\MultiException: ERROR: commit failed Pyrus\IOException: CRITICAL - unable to complete transaction, rename of actual to backup path failed Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction I run this command: php pyrus.phar install pear/Text_Highlighter-0.7.3 my pearconfig.xml is: <?xml version="1.0"?> <pearconfig version="1.0"> <default_channel>pear2.php.net</default_channel> <auto_discover>0</auto_discover> <http_proxy></http_proxy> <cache_dir>c:\app\php5\PEAR\cache</cache_dir> <temp_dir>c:\app\php5\PEAR\temp</temp_dir> <verbose>1</verbose> <preferred_state>stable</preferred_state> <umask>0022</umask><cache_ttl>3600</cache_ttl> <my_pear_path>c:\app\php5\PEAR</my_pear_path> <plugins_dir>C:\Users\robertb\pear</plugins_dir> </pearconfig> PHP version 5.3.8 PEAR version 1.9.4 Do you need anything else?
 [2012-04-19 17:15 UTC] robert_blaha (Robert Blaha)
Sry - my OS Windows 7 64 bit
 [2012-06-22 23:10 UTC] adamquadmon (Luciano Amodio)
I've the same error. I use Xampp 1.7.7 on Win7 64 Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 PHP Version 5.3.8
 [2012-06-25 12:09 UTC] adaykin (Andy Daykin)
I have the same error, my version/OS is php 5.4 on windows 7 64 bit Some phpinfo() data: Compiler MSVC9 (Visual C++ 2008) Architecture x86 Thread Safety enabled Whenever I try and do an install with something like php pyrus.phar install <Name of Package> I get this error message: Pyrus\Installer\Exception: Installation failed Pyrus\AtomicFileTransaction\MultiException: ERROR: commit failed Pyrus\IOException: CRITICAL - unable to complete transaction, rename of actual to backup path failed Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a tran saction
 [2014-01-02 01:14 UTC] kapu (gabriel kaputa)
hi, im having the same error, php 5.3.3 on debian Pyrus\Installer\Exception: Installation failed Pyrus\AtomicFileTransaction\MultiException: ERROR: commit failed Pyrus\IOException: CRITICAL - unable to complete transaction, rename of journal to actual path failed Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction
 [2016-04-12 15:55 UTC] tarranjones (Tarran Jones)
I'm getting the following error, PHP Warning: rename(C:\PHP\pear\php,C:\PHP\pear\.old-php): Access is denied. (code: 5) in phar://C:/PHP/pyrus.phar/Pyrus-2.0.0a4/php/Pyrus/AtomicFileTransaction/Transaction/TwoStage.php on line 82 Pyrus\Installer\Exception: Installation failed Pyrus\AtomicFileTransaction\MultiException: ERROR: commit failed Pyrus\IOException: CRITICAL - unable to complete transaction, rename of actual to backup path failed Pyrus\AtomicFileTransaction\RuntimeException: Cannot rollback - not in a transaction C:\PHP>