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

[email protected] (lin Jim) Fri, 17 Feb 2012 06:54:57 -0400
Newsgroups php.pear.qa
Message-ID <[email protected]>

iphone

On Feb 15, 2012, at 11:31, "[email protected]" <[email protected]> wrote:

> Edit report at https://pear.php.net/bugs/bug.php?id=17195&edit=1
> 
> ID:               17195
> Comment by:       [email protected]
> 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:
> 
> 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
> 
> 
> Previous Comments:
> ------------------------------------------------------------------------
> 
> [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.
> 
> ------------------------------------------------------------------------
> 
> [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
> 
> ------------------------------------------------------------------------
> 
> 
> -- 
> Edit this bug report at https://pear.php.net/bugs/bug.php?id=17195&edit=1
> 
> 
> -- 
> PEAR Bugs Mailing List (http://pear.php.net/bugs/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>