Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Rename of the actual to backup path failed #122

Open
Surt opened this issue Feb 1, 2013 · 1 comment
Open

Rename of the actual to backup path failed #122

Surt opened this issue Feb 1, 2013 · 1 comment

Comments

@Surt
Copy link

Surt commented Feb 1, 2013

Each time I try to install any package it gives me:

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 trasaction

before that multiple warnings trying to rename php.old-php5.3.5 etc

Using Windows 8 64bits

@stormwild
Copy link

I have the same problem when I tried to update phpcs:

pyrus install pear/PHP_CodeSniffer-1.4.6
...
8. rename() phar://D:/wamp/bin/php/php5.4.3/pyrus.phar/Pyrus-2.0.0a4/php/Pyrus/AtomicFileTransaction/TwoStage.php:82

Warning: rename(D:\wamp\bin\php\php5.4.3,D:\wamp\bin\php\.old-php5.4.3): The program cannot access the file because it is being used by another process. (code:32) in phar://D:/wamp/bin/php/php5.4.3/pyrus.phar/Pyrus-2.0.0a4/php/Pyrus/AtomicFileTransaction/Transaction/TwoStage.php on line 82

wamp was not running.

Why is Pyrus trying to modify it's own containing folder?

Windows 7, 64bit

This issue is related to the following issues:
#3
#24
#9
pear2/pear2.php.net#25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants