Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Cant install zend-mail, because zend-mime depends on zend-stdlib: ~2.5 #10

Closed
rommsen opened this issue Mar 16, 2016 · 5 comments
Closed

Comments

@rommsen
Copy link

rommsen commented Mar 16, 2016

I have installed zend-stdlib 3.0.
Running composer require zendframework/zend-mail I get

Using version ^2.6 for zendframework/zend-mail
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install zendframework/zend-mail 2.6.1
    - Conclusion: remove zendframework/zend-stdlib 3.0.0
    - Installation request for zendframework/zend-mail ^2.6 -> satisfiable by zendframework/zend-mail[2.6.0, 2.6.1].
    - Conclusion: don't install zendframework/zend-stdlib 3.0.0
    - zendframework/zend-mail 2.6.0 requires zendframework/zend-mime ^2.5 -> satisfiable by zendframework/zend-mime[2.5.0, 2.5.1].
    - zendframework/zend-mime 2.5.0 requires zendframework/zend-stdlib ~2.5.0 -> satisfiable by zendframework/zend-stdlib[2.5.0, 2.5.1, 2.5.2].
    - zendframework/zend-mime 2.5.1 requires zendframework/zend-stdlib ~2.5 -> satisfiable by zendframework/zend-stdlib[2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6].
    - Can only install one of: zendframework/zend-stdlib[2.5.0, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.5.1, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.5.2, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.6.0, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.0, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.1, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.2, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.3, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.4, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.5, 3.0.0].
    - Can only install one of: zendframework/zend-stdlib[2.7.6, 3.0.0].
    - Installation request for zendframework/zend-stdlib == 3.0.0.0 -> satisfiable by zendframework/zend-stdlib[3.0.0].
@rommsen rommsen changed the title Can Cant install zend-mail, because zend-mime depends on zend-stdlib: ~2.5 Mar 16, 2016
@rommsen
Copy link
Author

rommsen commented Mar 16, 2016

Sorry for the first report, hit enter accidentally...

@prolic
Copy link
Contributor

prolic commented Mar 16, 2016

Why do you want to use Zend\Stdlib 3.0 together with Zend\Mail 2.x?

@rommsen
Copy link
Author

rommsen commented Mar 16, 2016

Because the app I am working on happens to have Zend\Stdlib 3.0 installed. I just want to install Zend\Mail which has no problem with Zend\Stdlib 3.0 but it also depends on Zend\Mime which requires ~2.5.

How should I do it?

@weierophinney
Copy link
Member

For now, composer require "zendframework/zend-stdlib:^2.7". We'll update zend-mime soon to support v3.

@weierophinney
Copy link
Member

Fixed with #9; release will be cut shortly.

mikegioia pushed a commit to ParticleBits/zend-mime that referenced this issue Mar 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants