Re: trouble installing

From: Date: Tue, 08 Jan 2008 03:44:09 +0000
Subject: Re: trouble installing
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28417@lists.php.net to get a copy of this message
brian wrote:
I've just installed pear on a new box and i'm having all sorts of problems adding packages. $ pear list Installed packages, channel pear.php.net: =========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt 1.2.3 stable
MDB2             2.5.0a2 alpha
PEAR             1.6.2   stable
Structures_Graph 1.0.2 stable The installation notified me that MDB2 was now rolled into pear by default. I agreed to have it installed at the same time. Note that I don't remember it mentioning that this is an ALPHA release. That seems a bit odd. Why roll this out like this? It seems someone's just begging for problems. Perhaps this is one now: -- snip -- $ sudo pear install MDB2_Driver_pgsql MDB2_Driver_mysqli MDB2_Driver_mysql pear/mdb2 requires package "pear/MDB2_Driver_pgsql" (version >= 1.5.0a2), downloaded version is 1.4.1 pear/MDB2_Driver_pgsql cannot be installed, conflicts with installed packages pear/mdb2 requires package "pear/MDB2_Driver_mysqli" (version >= 1.5.0a2), downloaded version is 1.4.1 pear/MDB2_Driver_mysqli cannot be installed, conflicts with installed packages pear/mdb2 requires package "pear/MDB2_Driver_mysql" (version >= 1.5.0a2), downloaded version is 1.4.1 pear/MDB2_Driver_mysql cannot be installed, conflicts with installed packages No valid packages found install failed -- snip -- I'd really like to know what 1.4.1 is referring to here. Anyone have any idea what the problem is?
[slaps head] Right, I needed to use the unstable channel to get those installed. 1.4.1 was referring to the stable versions of those drivers. The 1.5.0a2 versions are needed by the Alpha MDB2 and they must be installed from the other channel. I really think it's a bad idea to be pushing out Alpha software like that. I've been using Pear for awhile now and this had me quite confused (ok, it's late). For the record, i removed the Alpha MDB2 and then installed the stable version along with the stable packages: sudo pear uninstall MDB2 sudo pear install MDB2 MDB2_Driver_pgsql MDB2_Driver_mysqli MDB2_Driver_mysql $ pear list Installed packages, channel pear.php.net: =========================================
Package            Version State
Archive_Tar        1.3.2   stable
Console_Getopt     1.2.3   stable
MDB2               2.4.1   stable
MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_mysqli 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
PEAR               1.6.2   stable
Structures_Graph 1.0.2 stable brian

« previous php.pear.general (#28417) next »