[PEAR-BUG] Bug #17195 [Com]: Pyrus: failed installation leaves inaccessible directory
[email protected] ("tarranjones") Tue, 12 Apr 2016 13:08:20 -0400 (EDT)
| Newsgroups | php.pear.bugs |
|---|---|
| Message-ID | <[email protected]> |
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 <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
------------------------------------------------------------------------
[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:
<?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?
------------------------------------------------------------------------
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