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

ID: 17195
Comment by: robert_blaha
Reported By: robert dot blaha at rbc dot cz
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 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?


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

[2012-02-15 15:31:30] griph

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-02-15 15:26:37] griph

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

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

[2010-07-16 20:36:00] saltybeagle

<div id="changeset">
<span class="removed">-Status: Feedback</span>
<span class="added">+Status: No Feedback</span>
</div>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.

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

[2010-03-17 04:07:02] saltybeagle

<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Feedback</span>
</div>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-03-04 23:28:13] bill

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

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

Search Discussions

  • Robert Blaha at Apr 19, 2012 at 11:12 am
    Edit report at https://pear.php.net/bugs/bug.php?id=17195&edit=1

    ID: 17195
    Comment by: robert.blaha@rbc.cz
    Reported By: pear dot php dot net at lucky-pc dot de
    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
    Roadmap Versions:
    New Comment:

    Sry - my OS Windows 7 64 bit


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

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

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

    [2012-02-15 15:31:30] griph

    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-02-15 15:26:37] griph

    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

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

    [2010-07-16 20:36:00] saltybeagle

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

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

    [2010-03-17 04:07:02] saltybeagle

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

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

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 19, '12 at 11:10a
activeApr 19, '12 at 11:12a
posts2
users2
websitepear.php.net

2 users in discussion

Robert_blaha: 1 post Robert Blaha: 1 post

People

Translate

site design / logo © 2022 Grokbase