执行了Symfony的标准安装,并尝试使用composer update
进行更新,这给出了以下错误:
加载包含包信息的作曲家存储库更新依赖项(包括需求开发)您的要求无法解析为一组可安装的软件包。
Problem 1
- symfony/framework-bundle v2.7.9 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- symfony/framework-bundle v2.7.8 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- symfony/framework-bundle v2.7.10 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- symfony/framework-bundle v2.3.38 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- symfony/framework-bundle v2.3.37 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- symfony/framework-bundle v2.3.36 requires symfony/finder ~2.0,>=2.0.5 -> no matching package found.
- Conclusion: remove symfony/symfony v3.0.3
- Conclusion: don't install symfony/symfony v3.0.3
我无法添加任何其他库,因为标准更新已经失败。任何帮助不胜感激!
我无法重现您的错误 - 更新在新的symfony标准项目上工作正常
这是在呼叫composer create-project symfony/framework-standard-edition
后composer update
的结果
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing monolog/monolog (1.17.2)
- Installing monolog/monolog (1.18.0)
Downloading: 100%
- Removing paragonie/random_compat (v1.2.0)
- Installing paragonie/random_compat (v1.2.1)
Downloading: 100%
- Removing symfony/monolog-bundle (v2.8.2)
- Installing symfony/monolog-bundle (v2.9.0)
Downloading: 100%
- Removing sensio/framework-extra-bundle (v3.0.13)
- Installing sensio/framework-extra-bundle (v3.0.14)
Downloading: 100%
Writing lock file
Generating autoload files
你能做什么?
尝试清除作曲家缓存
composer clear-cache