which version of sonata admin bundle work with symfony2.1.7

167 views
Skip to first unread message

Chargui Taieb

unread,
Nov 28, 2013, 9:58:01 AM11/28/13
to sonata...@googlegroups.com
hi guys this is my first time here so hope get an answer

so my question is
i install "sonata-project/admin-bundle": "2.1.0" with symfony 2.1.7

but i cannot install any version of  "sonata-project/doctrine-orm-admin-bundle" including dev-master
and when i try that i get this report :

php composer.phar update sonata-project/doctrine-orm-admin-bundl
e
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: remove symfony/symfony v2.1.7
    - sonata-project/doctrine-orm-admin-bundle 2.2.0 requires symfony/symfony >=
2.2,<2.3 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1, v2.2.10, v2.2.2, v2.2
.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9].
    - sonata-project/doctrine-orm-admin-bundle 2.2.1 requires symfony/symfony >=
2.2,<2.3 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1, v2.2.10, v2.2.2, v2.2
.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9].
    - sonata-project/doctrine-orm-admin-bundle 2.2.2 requires symfony/symfony >=
2.2,<2.4 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1, v2.2.10, v2.2.2, v2.2
.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.2, v2.3
.3, v2.3.4, v2.3.5, v2.3.6, v2.3.7].
    - sonata-project/doctrine-orm-admin-bundle 2.2.3 requires symfony/symfony >=
2.2,<2.4 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1, v2.2.10, v2.2.2, v2.2
.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.2, v2.3
.3, v2.3.4, v2.3.5, v2.3.6, v2.3.7].
    - sonata-project/doctrine-orm-admin-bundle 2.2.4 requires symfony/symfony >=
2.2,<2.4 -> satisfiable by symfony/symfony[v2.2.0, v2.2.1, v2.2.10, v2.2.2, v2.2
.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.2, v2.3
.3, v2.3.4, v2.3.5, v2.3.6, v2.3.7].
    - Can only install one of: symfony/symfony[v2.2.0, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.1, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.10, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.2, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.3, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.4, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.5, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.6, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.7, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.8, v2.1.7].
    - Can only install one of: symfony/symfony[v2.2.9, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.0, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.1, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.2, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.3, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.4, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.5, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.6, v2.1.7].
    - Can only install one of: symfony/symfony[v2.3.7, v2.1.7].
    - Installation request for symfony/symfony == 2.1.7.0 -> satisfiable by symf
ony/symfony[v2.1.7].
    - Installation request for sonata-project/doctrine-orm-admin-bundle ~2.1 ->
satisfiable by sonata-project/doctrine-orm-admin-bundle[2.2.0, 2.2.1, 2.2.2, 2.2
.3, 2.2.4].


thanks for helping me

Ben Glassman

unread,
Nov 28, 2013, 10:03:53 AM11/28/13
to sonata...@googlegroups.com
You should post your composer.json file as a gist at https://gist.github.com/

Quite possibly this is because you have 

minimum-stability: "stable"

in your composer.json, which precludes any packages from being installed that do not have stable versions.

If you want to install a package that is not stable and keep your minimum-stability, you need to flag it as @dev in your composer.json.

Another alternative is to remove the minimum-stability and instead rely on a prefer-stable: true which will allow dev stability packages to be installed but prefer stable versions.



--
You received this message because you are subscribed to the Google Groups "sonata-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonata-users...@googlegroups.com.
To post to this group, send email to sonata...@googlegroups.com.
Visit this group at http://groups.google.com/group/sonata-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages