5

インストールしようとしていますがdoctrine-migrations-bundleYour requirements could not be resolve to an installable set of packages , here is the logを取得しています

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 2.1.x-dev  
   - Conclusion: don't install symfony/symfony 2.1.x-dev  
   - Conclusion: don't install symfony/symfony v2.1.9  
   - Conclusion: don't install symfony/symfony v2.1.8  
   - Conclusion: don't install symfony/symfony v2.1.7  
   - Conclusion: don't install symfony/symfony v2.1.6  
   - Conclusion: don't install symfony/symfony v2.1.5  
   - Conclusion: don't install symfony/symfony v2.1.4  
   - Conclusion: don't install symfony/symfony v2.1.3  
   - Conclusion: don't install symfony/symfony v2.1.2  
   - Conclusion: don't install symfony/symfony v2.1.1  
   - Conclusion: don't install symfony/symfony v2.1.0  
   - Conclusion: don't install symfony/symfony v2.1.0-RC2  
   - Conclusion: don't install symfony/symfony v2.1.0-RC1  
   - Conclusion: don't install symfony/symfony v2.1.0-BETA4  
   - Installation request for doctrine/doctrine-migrations-bundle dev-master -> satisfiable by doctrine/doctrine-migrations-bundle dev-master.  
   - Conclusion: don't install symfony/symfony v2.1.0-BETA3  
   - Installation request for symfony/config dev-master -> satisfiable by symfony/config dev-master, symfony/symfony dev-master, symfony/symfony 2.3.x-dev.  
   - Conclusion: don't install symfony/symfony v2.1.0-BETA2  
   - doctrine/doctrine-migrations-bundle dev-master requires symfony/framework-bundle >=2.1.0,<2.3-dev -> satisfiable by symfony/symfony 2.1.x-dev, symfony/symfony 2.1.x-dev, symfony/symfony 2.2.x-dev, symfony/symfony v2.1.0, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/symfony v2.1.9, symfony/symfony v2.2.0, symfony/symfony v2.2.0-BETA1, symfony/symfony v2.2.0-BETA2, symfony/symfony v2.2.0-RC1, symfony/symfony v2.2.0-RC2, symfony/symfony v2.2.0-RC3, symfony/symfony v2.2.1, symfony/framework-bundle 2.1.x-dev, symfony/framework-bundle 2.2.x-dev, symfony/framework-bundle v2.1.0, symfony/framework-bundle v2.1.1, symfony/framework-bundle v2.1.2, symfony/framework-bundle v2.1.3, symfony/framework-bundle v2.1.4, symfony/framework-bundle v2.1.5, symfony/framework-bundle v2.1.6, symfony/framework-bundle v2.1.7, symfony/framework-bundle v2.1.8, symfony/framework-bundle v2.1.9, symfony/framework-bundle v2.2.0, symfony/framework-bundle v2.2.0-BETA1, symfony/framework-bundle v2.2.0-BETA2, symfony/framework-bundle v2.2.0-RC1, symfony/framework-bundle v2.2.0-RC2, symfony/framework-bundle v2.2.0-RC3, symfony/framework-bundle v2.2.1.  
   - Can only install one of: symfony/symfony v2.1.0-BETA1, symfony/symfony 2.2.x-dev.  
   - Can only install one of: symfony/symfony v2.2.0, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.0-BETA1, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.0-BETA2, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.0-RC1, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.0-RC2, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.0-RC3, symfony/symfony v2.1.0-BETA1.  
   - Can only install one of: symfony/symfony v2.2.1, symfony/symfony v2.1.0-BETA1.  
   - don't install symfony/framework-bundle 2.2.x-dev|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.1|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle 2.1.x-dev|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.0|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.1|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.2|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.3|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.4|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.5|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.6|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.7|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.8|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.1.9|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0-BETA1|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0-BETA2|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0-RC1|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0-RC2|don't install symfony/symfony v2.1.0-BETA1  
   - don't install symfony/framework-bundle v2.2.0-RC3|don't install symfony/symfony v2.1.0-BETA1  
   - Installation request for symfony/symfony 2.1.* -> satisfiable by symfony/symfony 2.1.x-dev, symfony/symfony v2.1.0, symfony/symfony v2.1.0-BETA1, symfony/symfony v2.1.0-BETA2, symfony/symfony v2.1.0-BETA3, symfony/symfony v2.1.0-BETA4, symfony/symfony v2.1.0-RC1, symfony/symfony v2.1.0-RC2, symfony/symfony v2.1.1, symfony/symfony v2.1.2, symfony/symfony v2.1.3, symfony/symfony v2.1.4, symfony/symfony v2.1.5, symfony/symfony v2.1.6, symfony/symfony v2.1.7, symfony/symfony v2.1.8, symfony/symfony v2.1.9.

これが私のcomposer.json

{
    "name": "symfony/framework-standard-edition",
    "description": "The \"Symfony Standard Edition\" distribution",
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    },
    "require": {
        "php": ">=5.3.2",
        "symfony/symfony": "2.1.*",
        "doctrine/orm": ">=2.2.3,<2.4-dev",
        "doctrine/doctrine-bundle": "1.0.*",
        "doctrine/doctrine-migrations-bundle": "dev-master",
        "twig/extensions": "1.0.*",
        "symfony/assetic-bundle": "2.1.*",
        "symfony/swiftmailer-bundle": "2.1.*",
        "symfony/monolog-bundle": "2.1.*",
        "sensio/distribution-bundle": "2.1.*",
        "sensio/framework-extra-bundle": "2.1.*",
        "sensio/generator-bundle": "2.1.*",
        "jms/security-extra-bundle": "1.2.*",
        "jms/di-extra-bundle": "1.1.*",
        "sonata-project/user-bundle": "dev-master",
        "sonata-project/admin-bundle": "dev-master",
        "sonata-project/doctrine-orm-admin-bundle": "dev-master",
        "isoft/mssql-bundle": "master-dev",
        "sonata-project/cache-bundle": "dev-master",
    "symfony/config": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "minimum-stability": "dev",
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "symfony-assets-install": "symlink"
    }
}

私はcomposerログを理解していませんでした。

誰かがエラーを解読するのを手伝ってくれるので、何が間違っているのかがわかりますか?

4

3 に答える 3

0

メイン パッケージが他のパッケージを置き換えるため、 and を必要symfony/config dev-master することはできません。symfony/symfony 2.1に変更symfony/configする2.1.*と、よりうまくいく可能性があります。

于 2013-04-15T10:11:02.807 に答える