[horde] Upgrading: Some things won't install

Jan Schneider jan at horde.org
Thu Sep 20 08:19:49 UTC 2012


Zitat von cjdl01 <cjdl01 at brokensolstice.com>:

>>> Installed packages, channel pear.horde.org:
>>> ===========================================
>>> Package                   Version  State
>>> Horde_ActiveSync          1.2.7    stable
>>> Horde_Alarm               1.0.8    stable
>>> Horde_Argv                1.0.5    stable
>>> Horde_Auth                1.4.9    stable
>>> Horde_Autoloader          1.0.1    stable
>>> Horde_Browser             1.0.8    stable
>>> Horde_Cache               1.0.5    stable
>>> Horde_Cli                 1.0.4    stable
>>> Horde_Compress            1.0.7    stable
>>> Horde_Constraint          1.0.1    stable
>>> Horde_Controller          1.0.2    stable
>>> Horde_Core                1.9.2    stable
>>> Horde_Crypt               1.1.2    stable
>>> Horde_Data                1.0.7    stable
>>> Horde_DataTree            1.0.1    stable
>>> Horde_Date                1.0.11   stable
>>> Horde_Date_Parser         1.0.2    stable
>>> Horde_Db                  1.2.1    stable
>>> Horde_Editor              1.0.2    stable
>>> Horde_Exception           1.0.9    stable
>>> Horde_Feed                1.1.1    stable
>>> Horde_Form                1.1.0    stable
>>> Horde_Group               1.0.5    stable
>>> Horde_History             1.0.1    stable
>>> Horde_Http                1.1.1    stable
>>> Horde_Icalendar           1.1.2    stable
>>> Horde_Image               1.0.10   stable
>>> Horde_Imap_Client         1.5.7    stable
>>> Horde_Imsp                1.0.6    stable
>>> Horde_Injector            1.0.1    stable
>>> Horde_Itip                1.0.7    stable
>>> Horde_Kolab_Format        1.1.2    stable
>>> Horde_Kolab_Server        1.0.2    stable
>>> Horde_Kolab_Session       1.1.1    stable
>>> Horde_Kolab_Storage       1.1.0    stable
>>> Horde_Ldap                1.1.4    stable
>>> Horde_Lock                1.0.1    stable
>>> Horde_Log                 1.1.2    stable
>>> Horde_LoginTasks          1.0.3    stable
>>> Horde_Mail                1.2.0    stable
>>> Horde_Memcache            1.1.1    stable
>>> Horde_Mime                1.6.1    stable
>>> Horde_Mime_Viewer         1.0.8    stable
>>> Horde_Nls                 1.1.6    stable
>>> Horde_Notification        1.0.1    stable
>>> Horde_Oauth               1.0.2    stable
>>> Horde_Pdf                 1.0.2    stable
>>> Horde_Perms               1.0.7    stable
>>> Horde_Prefs               1.1.8    stable
>>> Horde_Rdo                 1.2.0    stable
>>> Horde_Role                1.0.0    stable
>>> Horde_Routes              1.1.2    stable
>>> Horde_Rpc                 1.0.4    stable
>>> Horde_Scribe              1.0.2    stable
>>> Horde_Secret              1.0.2    stable
>>> Horde_Serialize           1.0.2    stable
>>> Horde_Service_Facebook    1.1.3    stable
>>> Horde_Service_Twitter     1.1.4    stable
>>> Horde_Service_Weather     1.0.0RC2 beta
>>> Horde_SessionHandler      1.0.5    stable
>>> Horde_Share               1.3.0    stable
>>> Horde_SpellChecker        1.0.1    stable
>>> Horde_Stream_Filter       1.1.0    stable
>>> Horde_Stream_Wrapper      1.0.1    stable
>>> Horde_Support             1.0.2    stable
>>> Horde_SyncMl              1.0.9    stable
>>> Horde_Template            1.0.1    stable
>>> Horde_Test                1.3.0    stable
>>> Horde_Text_Diff           1.0.2    stable
>>> Horde_Text_Filter         1.1.5    stable
>>> Horde_Text_Filter_Csstidy 1.0.1    stable
>>> Horde_Text_Flowed         1.0.1    stable
>>> Horde_Thrift              1.0.1    stable
>>> Horde_Token               1.1.7    stable
>>> Horde_Translation         1.0.2    stable
>>> Horde_Tree                1.0.1    stable
>>> Horde_Url                 1.0.2    stable
>>> Horde_Util                1.4.0    stable
>>> Horde_Vfs                 1.0.9    stable
>>> Horde_View                1.0.1    stable
>>> Horde_Xml_Element         1.0.1    stable
>>> Horde_Xml_Wbxml           1.0.3    stable
>>> content                   1.0.3    stable
>>> gollem                    2.0.2    stable
>>> horde                     4.0.15   stable
>>> imp                       5.0.23   stable
>>> ingo                      2.0.9    stable
>>> kronolith                 3.0.17   stable
>>> mnemo                     3.0.6    stable
>>> nag                       3.0.8    stable
>>> timeobjects               1.0.7    stable
>>> turba                     3.0.15   stable
>>
>>
>> -- 
>> Jan Schneider
>> The Horde Project
>> http://www.horde.org/
>>
>
> Hi Jan,
>
> Thanks for that, but it brings me back to my initial problem:
>
> # pear upgrade horde/Horde_Service_Weather
> Failed to download horde/Horde_Date within preferred state "stable",  
> latest release is version 2.0.0beta2, stability "beta", use  
> "channel://pear.horde.org/Horde_Date-2.0.0beta2" to install
> Failed to download horde/Horde_Exception within preferred state  
> "stable", latest release is version 2.0.0beta1, stability "beta",  
> use "channel://pear.horde.org/Horde_Exception-2.0.0beta1" to install
> Failed to download horde/Horde_Http within preferred state "stable",  
> latest release is version 2.0.0beta1, stability "beta", use  
> "channel://pear.horde.org/Horde_Http-2.0.0beta1" to install
> Failed to download horde/Horde_Url within preferred state "stable",  
> latest release is version 2.0.0beta2, stability "beta", use  
> "channel://pear.horde.org/Horde_Url-2.0.0beta2" to install
> horde/Horde_Service_Weather requires package "horde/Horde_Date"  
> (version >= 2.0.0beta1, version <= 3.0.0alpha1, excluded versions:  
> 3.0.0alpha1), installed version is 1.0.11
> horde/Horde_Service_Weather requires package "horde/Horde_Exception"  
> (version >= 2.0.0beta1, version <= 3.0.0alpha1, excluded versions:  
> 3.0.0alpha1), installed version is 1.0.9
> horde/Horde_Service_Weather requires package "horde/Horde_Http"  
> (version >= 2.0.0beta1, version <= 3.0.0alpha1, excluded versions:  
> 3.0.0alpha1), installed version is 1.1.1
> horde/Horde_Service_Weather requires package "horde/Horde_Url"  
> (version >= 2.0.0beta1, version <= 3.0.0alpha1, excluded versions:  
> 3.0.0alpha1), installed version is 1.0.2
> No valid packages found
> upgrade failed
>
> So I'm afraid I still don't know what to do here...

Ah, I know what's going on. Since your whether package is in a beta  
state, PEAR tries to upgrade within the same stability state, even  
though you have globally configured to prefer the stable state.
Since the most recent beta state version of that package is 2.0.0beta2  
for Horde 5, this fails.
You need to explicitely install the 1.0.0 package, after that,  
upgrading should work again:

pear upgrade horde/Horde_Service_Weather-1.0.0
pear upgrade -c horde -a [-B]
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list