[horde] How to upgrade to webmail-5.1.5 with PEAR (was Re: HGWE 5.1.5 and HGWE 5.2.0)

Erling Preben Hansen erling at eph.dk
Tue Jul 29 20:15:32 UTC 2014


  Citat af Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:

> On Mon, 28 Jul 2014, Jan Schneider wrote:
>> Zitat von Steffen <skhorde at smail.inf.fh-bonn-rhein-sieg.de>:
>>
>>> On Thu, 24 Jul 2014, ANANT S ATHAVALE wrote:
>>>>> Zitat von ANANT S ATHAVALE <asa at isac.gov.in>:
>>>>>> The releases of HGWE 5.1.5 and HGWE 5.2.0 happened in very quick
>>>>>> succession.
>>>>>>
>>>>>> Will I be able to upgrade to HGWE 5.1.1 using pear upgrade method? 
>>>>>> I remember, it may be difficult right now as both are now stable
>>>>>> versions.
>>>>>>
>>>>>> Please guide me, if I can upgrade my existing setup to HGWE 5.1.5
>>>>>> first.
>>>>>
>>>>> You need to specify the exact version of each module during upgrade.
>>>>
>>>> Thank you.  Does it mean, I need to upgrade like
>>>>
>>>> pear upgrade -a -B horde/imp-6.1.8
>>>> pear upgrade -a -B horde/kronolith-4.1.6
>>>> pear upgrade -a -B horde/turba-4.1.5
>>>> pear upgrade -a -B horde/horde-5.1.7
>>>>
>>>> Will these command take care of dependencies of each module with
>>>> correct version?
>>>>
>>>> or is it also OK, if I give
>>>>
>>>> pear upgrade -a -B horde/webmail-5.1.5 will also do my job which also
>>>> takes care of dependencies with correct versions?
>>>
>>> pear install -p -a horde/webmail-5.1.5 tries to install/upgrade:
>>>
>>> channel://pear.horde.org/horde-5.2.0
>>> channel://pear.horde.org/imp-6.2.0
>>> channel://pear.horde.org/ingo-3.2.0
>>> ...
>>>
>>> Hence, Jan's comment applies to each individual module and one has to
>>> avoid "-a".
>
> [cut]
>>> ===============
>>>
>>> The individual variant does not seem to work for the very same reason:
>>>
>>> pear upgrade -p -a -B horde/imp-6.1.8
>>> channel://pear.horde.org/imp-6.1.8
>>> channel://pear.horde.org/horde-5.2.0
>>> ^^ Pulls horde-5.2.0
>>
>> pear upgrade horde/imp-6.1.8 horde/kronolith-4.1.6 horde/turba-4.1.5
>> horde/horde-5.1.7
>
> Ah, the trick is to put all pear packages with version onto one command
> line, thanks for this knack.
>
> For the archive, I used:
>
> pear upgrade   \
> horde/gollem-3.0.2 \
> horde/imp-6.1.8 \
> horde/ingo-3.1.5 \
> horde/kronolith-4.1.6 \
> horde/mnemo-4.1.3 \
> horde/nag-4.1.5 \
> horde/trean-1.1.1 \
> horde/turba-4.1.5 \
> horde/horde-5.1.7 \
> horde/webmail-5.1.5
>
> If you pass "--alldeps", you will also upgrade, e.g. the ActiveSync
> module, which current version is incompatible with H5.1.
>
> --
> Steffen
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org

Hey

would it not be enough to say:
pear upgrade horde/webmail-5.1.5

will it not pull the right package version of the dependencies?

/erling


More information about the horde mailing list