From:  tarrandavidjones@gmail.com ("tarranjones")
Date:  13 Apr 2016 01:08:20 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #17195 [Com]: Pyrus: failed installation leaves inaccessible directory

NNTP-Posting-Host:  null

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

 ID:               17195
 Comment by:       tarranjones
 Reported By:      tarrandavidjones at gmail dot com
 Summary:          Pyrus: failed installation leaves inaccessible
                   directory
 Status:           No Feedback
 Type:             Bug
 Package:          PEAR
 Operating System: Windows XP
 Package Version:  Unknown
 PHP Version:      5.1.3
 New Comment:

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>


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

[2014-01-01 20:14:37] kapu

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

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

[2012-06-25 08:09:09] adaykin

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

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

[2012-06-22 19:10:17] adamquadmon

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-04-19 13:15:42] robert_blaha

Sry - my OS Windows 7 64 bit

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

[2012-04-19 13:11:56] 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:



pear2.php.net
0

c:\app\php5\PEAR\cache
c:\app\php5\PEAR\temp
1
stable
00223600
c:\app\php5\PEAR
C:\Users\robertb\pear


PHP version 5.3.8
PEAR version 1.9.4

Do you need anything else?

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://pear.php.net/bugs/bug.php?id=17195

-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17195&edit=1