Open Surt opened 11 years ago
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: https://github.com/pyrus/Pyrus/issues/3 https://github.com/pyrus/Pyrus/issues/24 https://github.com/pyrus/Pyrus/issues/9 https://github.com/pear2/pear2.php.net/issues/25
Each time I try to install any package it gives me:
before that multiple warnings trying to rename php.old-php5.3.5 etc
Using Windows 8 64bits