Bug #16046 [Opn]: upgrading phpunit/phpunit-beta fails, -version works
| From: | helgith at gmail dot com | Date: | Wed, 25 Mar 2009 22:41:32 +0000 |
| Subject: | Bug #16046 [Opn]: upgrading phpunit/phpunit-beta fails, -version works | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-262@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16046&edit=1
ID: 16046
Updated by: helgith@gmail.com
Reported By: cweiske at php dot net
Summary: upgrading phpunit/phpunit-beta fails, -version works
Status: Open
Type: Bug
Package: PEAR
Package Version: CVS
PHP Version: 5.2.9
-Assigned To:
+Assigned To: dufuz
-Roadmap Versions:
+Roadmap Versions: 1.8.0alpha2
New Comment:
-Assigned To:
+Assigned To: dufuz
-Roadmap Versions:
+Roadmap Versions: 1.8.0alpha2
Previous Comments:
------------------------------------------------------------------------
[2009-03-19 12:07:28] cweiske
cweiske:~/Dev/cvs/pear/pear-core> pear config-get -c phpunit
preferred_state
stable
------------------------------------------------------------------------
[2009-03-19 12:04:00] cweiske
Description:
------------
I try to upgrade phpunit from 3.3.12 to 3.4.0beta1, which fails when
using "pear upgrade phpunit/phpunit-beta". It fails when I use the
version without "-f": "pear upgrade phpunit/phpunit-3.4.0beta1" - but it
works with -f " pear upgrade -f phpunit/phpunit-3.4.0beta1".
Actual result:
--------------
cweiske:~/Dev/cvs/pear/pear-core> pear clear-cache
reading directory /mnt/temporary/tmp/pear/cache
142 cache entries cleared
cweiske:~/Dev/cvs/pear/pear-core> pear upgrade -f
phpunit/phpunit-3.1.2
Did not download optional dependencies: pear/Image_GraphViz, pear/Log,
use --alldeps to download automatically
warning: pear/pear_info requires package "phpunit/PHPUnit" (version >=
3.1.4), downloaded version is 3.1.2
warning: pear/php_compatinfo requires package "phpunit/PHPUnit"
(version >= 3.2.0), downloaded version is 3.1.2
downloading PHPUnit-3.1.2.tgz ...
Starting to download PHPUnit-3.1.2.tgz (109,594 bytes)
.........................done: 109,594 bytes
upgrade ok: channel://pear.phpunit.de/PHPUnit-3.1.2
cweiske:~/Dev/cvs/pear/pear-core> pear upgrade phpunit/phpunit-beta
Did not download optional dependencies: pear/Image_GraphViz, use
--alldeps to download automatically
downloading PHPUnit-3.3.15.tgz ...
Starting to download PHPUnit-3.3.15.tgz (272,118 bytes)
.........................................................done: 272,118
bytes
upgrade ok: channel://pear.phpunit.de/PHPUnit-3.3.15
cweiske:~/Dev/cvs/pear/pear-core> pear upgrade
phpunit/phpunit-3.4.0beta1
Nothing to upgrade
cweiske:~/Dev/cvs/pear/pear-core> pear upgrade -f
phpunit/phpunit-3.4.0beta1
Did not download optional dependencies: pear/Image_GraphViz, pear/Log,
pear/Text_Diff, use --alldeps to download automatically
downloading PHPUnit-3.4.0beta1.tgz ...
Starting to download PHPUnit-3.4.0beta1.tgz (307,043 bytes)
...............................................................done:
307,043 bytes
upgrade ok: channel://pear.phpunit.de/PHPUnit-3.4.0beta1
cweiske:~/Dev/cvs/pear/pear-core>
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16046&edit=1