[horde] Horde groupware red hat 8.4

Ralf Lang ralf.lang at ralf-lang.de
Thu Sep 15 11:18:22 UTC 2022


Hi Federico.

It's quite interesting that it goes that far at all.
The Horde 5 / Imp 6 apps are packaged with composer (1.0) wrapping 
around the existing pear packages.

If you went with

https://github.com/maintaina-com/horde-deployment/ as the basis, it 
registers a special composer (2.0) repository, 
https://horde-satis.maintaina.com/ - which does the same as the Horde 
channel on pear, it offers software.

Then it should have installed:

"horde/horde": "^6 || dev-FRAMEWORK_6_0",

"horde/routes": "^3 || dev-FRAMEWORK_6_0",
"horde/horde-installer-plugin": "^2.4 || dev-FRAMEWORK_6_0 || dev-master",

And this should never ask for IMP 6.2 but rather imp ^7 - and composer 2 
is not supposed to handle pear anyway.

Something is going wrong here. I will try to reproduce your issue and 
report back.





Am 15.09.22 um 11:02 schrieb Federico Giannici:
> If I use php version 7.4 (instead of 8.0) then imp version 6.2 is 
> selected (instead of version 6.1) but the same dependency problems 
> occur...
>
> What am I doing wrong?
>
> Thanks.
>
>
>
> $ composer require horde/imp
> Using version ^6.2 for horde/imp
> ./composer.json has been updated
> Running composer update horde/imp
> Loading composer repositories with package information
> Updating dependencies
> Your requirements could not be resolved to an installable set of 
> packages.
>
>   Problem 1
>     - horde/imp[6.2.0, ..., 6.2.18] require pear-pear.horde.org/horde 
> >=5.0.0 at stable,<=6.0.0alpha1 at stable -> could not be found in any 
> version, there may be a typo in the package name.
>     - horde/imp[6.2.21, ..., 6.2.27] require pear-pear.horde.org/horde 
> ^5 -> could not be found in any version, there may be a typo in the 
> package name.
>     - horde/imp[6.2.19, ..., 6.2.20] require pear-pear.horde.org/horde 
> ^5 at stable -> could not be found in any version, there may be a typo in 
> the package name.
>     - horde/imp[6.2.0alpha1, ..., 6.2.0RC1] require 
> pear-pear.horde.org/horde >=5.0.0,<=6.0.0alpha1 -> could not be found 
> in any version, there may be a typo in the package name.
>     - Root composer.json requires horde/imp ^6.2 -> satisfiable by 
> horde/imp[6.2.0alpha1, ..., 6.2.27].
>
> Potential causes:
>  - A typo in the package name
>  - The package is not available in a stable-enough version according 
> to your minimum-stability setting
>    see <https://getcomposer.org/doc/04-schema.md#minimum-stability> 
> for more details.
>  - It's a private package and you forgot to add a custom repository to 
> find it
>
> Read <https://getcomposer.org/doc/articles/troubleshooting.md> for 
> further common problems.
> You can also try re-running composer require with an explicit version 
> constraint, e.g. "composer require horde/imp:*" to figure out if any 
> version is installable, or "composer require horde/imp:^2.1" if you 
> know which you need.
>
> Installation failed, reverting ./composer.json and ./composer.lock to 
> their original content.
>
>
>
> On 9/14/22 17:52, Federico Giannici wrote:
>> On 9/14/22 16:49, Federico Giannici wrote:
>>> On 9/14/22 14:05, Federico Giannici wrote:
>>>> On 9/14/22 13:04, Ralf Lang wrote:
>>>>> composer --version
>>>>
>>>> Currently OpenBSD has:
>>>>
>>>> Composer version 2.2.10 2022-03-29 21:55:35
>>>>
>>>> Thanks.
>>>
>>> I managed to install version 2.4.1 (after all it's just a single 
>>> .phar file).
>>> Now installation gives no errors...
>>>
>>> Thanks.
>> using php-7.4
>> So, Horde installed (and Turba too), but for IMP e Ingo the 
>> installation gave the following errors.
>>
>> Now, what could be the problem?
>>
>> Thanks.
>>
>>
>>
>> # composer require horde/imp
>> Do not run Composer as root/super user! See 
>> https://getcomposer.org/root for details
>> Continue as root/super user [yes]?
>> Cannot use horde/imp's latest version 6.2.27 as it requires php ^5.3 
>> || ^7 which is not satisfied by your platform.
>> Using version ^6.1 for horde/imp
>> Info from https://repo.packagist.org: #StandWithUkraine
>> ./composer.json has been updated
>> Running composer update horde/imp
>> Loading composer repositories with package information
>> Updating dependencies
>> Your requirements could not be resolved to an installable set of 
>> packages.
>>
>>    Problem 1
>>      - horde/imp[6.1.5, ..., 6.2.18] require 
>> pear-pear.horde.org/horde  >=5.0.0 at stable,<=6.0.0alpha1 at stable -> 
>> could not be found in any version, there may be a typo in the package 
>> name.
>>      - horde/imp[6.2.21, ..., 6.2.27] require 
>> pear-pear.horde.org/horde ^5 -> could not be found in any version, 
>> there may be a typo in the package name.
>>      - horde/imp[6.2.19, ..., 6.2.20] require 
>> pear-pear.horde.org/horde ^5 at stable -> could not be found in any 
>> version, there may be a typo in the package name.
>>      - horde/imp[6.2.0alpha1, ..., 6.2.0RC1] require 
>> pear-pear.horde.org/horde >=5.0.0,<=6.0.0alpha1 -> could not be found 
>> in any version, there may be a typo in the package name.
>>      - Root composer.json requires horde/imp ^6.1 -> satisfiable by 
>> horde/imp[6.1.5, ..., 6.2.27].
>>
>> Potential causes:
>>   - A typo in the package name
>>   - The package is not available in a stable-enough version according 
>> to your minimum-stability setting
>>     see <https://getcomposer.org/doc/04-schema.md#minimum-stability> 
>> for more details.
>>   - It's a private package and you forgot to add a custom repository 
>> to find it
>>
>> Read <https://getcomposer.org/doc/articles/troubleshooting.md> for 
>> further common problems.
>> You can also try re-running composer require with an explicit version 
>> constraint, e.g. "composer require horde/imp:*" to figure out if any 
>> version is installable, or "composer require horde/imp:^2.1" if you 
>> know which you need.
>>
>> Installation failed, reverting ./composer.json and ./composer.lock to 
>> their original content.
>>
>>
>>
>> # composer require horde/ingo
>> Do not run Composer as root/super user! See 
>> https://getcomposer.org/root for details
>> Continue as root/super user [yes]?
>> Cannot use horde/ingo's latest version 3.2.16 as it requires php ^5.3 
>> || ^7 which is not satisfied by your platform.
>> Using version ^3.1 for horde/ingo
>> ./composer.json has been updated
>> Running composer update horde/ingo
>> Loading composer repositories with package information
>> Updating dependencies
>> Your requirements could not be resolved to an installable set of 
>> packages.
>>
>>    Problem 1
>>      - horde/ingo[3.2.15, ..., 3.2.16] require 
>> pear-pear.horde.org/horde ^5 at stable -> could not be found in any 
>> version, there may be a typo in the package name.
>>      - horde/ingo[3.1.3, ..., 3.2.14] require 
>> pear-pear.horde.org/horde  >=5.0.0 at stable,<=6.0.0alpha1 at stable -> 
>> could not be found in any version, there may be a typo in the package 
>> name.
>>      - horde/ingo[3.2.0alpha1, ..., 3.2.0RC2] require 
>> pear-pear.horde.org/horde >=5.0.0,<=6.0.0alpha1 -> could not be found 
>> in any version, there may be a typo in the package name.
>>      - Root composer.json requires horde/ingo ^3.1 -> satisfiable by 
>> horde/ingo[3.1.3, ..., 3.2.16].
>>
>> Potential causes:
>>   - A typo in the package name
>>   - The package is not available in a stable-enough version according 
>> to your minimum-stability setting
>>     see <https://getcomposer.org/doc/04-schema.md#minimum-stability> 
>> for more details.
>>   - It's a private package and you forgot to add a custom repository 
>> to find it
>>
>> Read <https://getcomposer.org/doc/articles/troubleshooting.md> for 
>> further common problems.
>> You can also try re-running composer require with an explicit version 
>> constraint, e.g. "composer require horde/ingo:*" to figure out if any 
>> version is installable, or "composer require horde/ingo:^2.1" if you 
>> know which you need.
>>
>> Installation failed, reverting ./composer.json and ./composer.lock to 
>> their original content.
>>
>
>


More information about the horde mailing list