Console_Getopt - PEAR dependency and package xml 2.0
| From: | Laurent Laville | Date: | Wed, 20 Dec 2006 09:00:28 +0000 |
| Subject: | Console_Getopt - PEAR dependency and package xml 2.0 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26158@lists.php.net to get a copy of this message | ||
Hi all,
I want to share my explain of a problem I got when I've tried to upgrade "Console_Getopt" from 1.2 to 1.2.1 version
(both stable)
First I was surprised to see such message on dos-box console (I'm on Windows platform).
***
pear/pear dependency package "pear/Console_Getopt" downloaded version 1.2.1 is n
ot the recommended version 1.2, but may be compatible, use --force to install
pear/Console_Getopt cannot be installed, conflicts with installed packages
No valid packages found
upgrade failed
***
So, as I was trying to upgrade on PEAR 1.5.0 RC2 installation, I suppose it was the problem, but it was not !
On PEAR 1.4.11 I got the same message.
Then I investigate under all my packages installed to see where this problem come from.
And I was very surprise to see that it come from PEAR package itself (package xml 2.0)
<package>
<name>Console_Getopt</name>
<channel>pear.php.net</channel>
<min>1.2</min>
<recommended>1.2</recommended> [1]
</package>
[1] PEAR manual related stuff http://pear.php.net/manual/en/guide.developers.package2.dependencies.php#guide.developers.package2.dependencies.package.channel
regards
Laurent Laville