Closed cnkt closed 6 years ago
See discussion on https://github.com/doctrine/doctrine2/commit/0ec9e53c8d43d02c824dc4bfc8826a5e6e1d66e2 please
Hi, thanks for the quick reply.
I changed my orm dependency to 2.5.11 but still no luck:
[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- Installation request for doctrine/orm 2.5.11 -> satisfiable by doctrine/orm[v2.5.11].
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
Problem 2
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
- ramsey/uuid-doctrine 1.4.1 requires doctrine/orm ^2.5 -> satisfiable by doctrine/orm[v2.5.11].
- Installation request for ramsey/uuid-doctrine ^1.2 -> satisfiable by ramsey/uuid-doctrine[1.4.1].
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.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
The fact that doctrine/common is not visible is extremely bizarre. Can you
see if (temporarily) deleting the composer.lock
helps?
On 29 Sep 2017 08:24, "Cankat Akdemir" notifications@github.com wrote:
Hi, thanks for the quick reply.
I changed my orm dependency to 2.5.11 but still no luck:
[Composer\DependencyResolver\SolverProblemsException] Problem 1
- Installation request for doctrine/orm 2.5.11 -> satisfiable by doctrine/orm[v2.5.11].
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found. Problem 2
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
- ramsey/uuid-doctrine 1.4.1 requires doctrine/orm ^2.5 -> satisfiable by doctrine/orm[v2.5.11].
- Installation request for ramsey/uuid-doctrine ^1.2 -> satisfiable by ramsey/uuid-doctrine[1.4.1]. 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. Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/doctrine/doctrine2/issues/6738#issuecomment-333041572, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJakBx_yTncuYv-6Pfo4wT7ZrOT_OI-ks5snI0ugaJpZM4PoO7o .
# cnkt at cmhpc-2.local in ~/Downloads/devmac/OptDoc on git:master ✖︎ [9:23:46]
→ rm composer.lock
# cnkt at cmhpc-2.local in ~/Downloads/devmac/OptDoc on git:master ✖︎ [9:36:34]
→ php composer.phar update --prefer-dist
1/2: http://packagist.org/p/provider-latest$01cbeaac8fc30c58cce1894bd241f163c617fc9cb52f54f5444d484cc4ad5d34.json
2/2: http://packagist.org/p/provider-2017-07$2128fe4d2b143069d0b2a0365f6affd55e7d7cbb0210d0a13fcdf92d6256fca8.json
Finished: success: 2, skipped: 0, failure: 0, total: 2
Loading composer repositories with package information
Updating dependencies (including require-dev)
[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- Installation request for doctrine/orm 2.5.11 -> satisfiable by doctrine/orm[v2.5.11].
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
Problem 2
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
- ramsey/uuid-doctrine 1.4.1 requires doctrine/orm ^2.5 -> satisfiable by doctrine/orm[v2.5.11].
- Installation request for ramsey/uuid-doctrine ^1.2 -> satisfiable by ramsey/uuid-doctrine[1.4.1].
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.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
sorry, still no success.
Don't really know why doctrine/common is excluded: I need to ask you to open an issue on the composer repository, sorry...
On 29 Sep 2017 08:37, "Cankat Akdemir" notifications@github.com wrote:
cnkt at cmhpc-2.local in ~/Downloads/devmac/OptDoc on git:master ✖︎ [9:23:46]
→ rm composer.lock
cnkt at cmhpc-2.local in ~/Downloads/devmac/OptDoc on git:master ✖︎ [9:36:34]
→ php composer.phar update --prefer-dist 1/2: http://packagist.org/p/provider-latest$01cbeaac8fc30c58cce1894bd241f163c617fc9cb52f54f5444d484cc4ad5d34.json 2/2: http://packagist.org/p/provider-2017-07$2128fe4d2b143069d0b2a0365f6affd55e7d7cbb0210d0a13fcdf92d6256fca8.json Finished: success: 2, skipped: 0, failure: 0, total: 2 Loading composer repositories with package information Updating dependencies (including require-dev)
[Composer\DependencyResolver\SolverProblemsException] Problem 1
- Installation request for doctrine/orm 2.5.11 -> satisfiable by doctrine/orm[v2.5.11].
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found. Problem 2
- doctrine/orm v2.5.11 requires doctrine/common >=2.5-dev,<2.9-dev -> no matching package found.
- ramsey/uuid-doctrine 1.4.1 requires doctrine/orm ^2.5 -> satisfiable by doctrine/orm[v2.5.11].
- Installation request for ramsey/uuid-doctrine ^1.2 -> satisfiable by ramsey/uuid-doctrine[1.4.1]. 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. Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [
]... sorry, still no success.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/doctrine/doctrine2/issues/6738#issuecomment-333043572, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJakImMailCyR8US20ICvPQRq0K1KeMks5snJA5gaJpZM4PoO7o .
No problem. Thanks for your help. it's really appreciated.
@cnkt re-opening here: please close once a resolution is found in the related issue (once you have one)
Sorry. Ok, i'm opening an issue on composer.
Related issue: https://github.com/composer/composer/issues/6712
I had similar issue with doctrine/inflector not being seen by composer. I cleared the cached packages - issue remained I removed the lock file - issue remained
This fixed it: I set manually the third party dependencies in the root composer.json untill all errors were gone. then I reverted the composer.json, remove lock file, deleted vendor.
After that composer install worked correctly. I did clone doctrine/orm in another folder and composer install worked right ahead, without manually including dependencies.
I think composer stored something incorrectly inside its local settings in .composer. And it were not the cached packages.
This is going nowhere. Linked issue has been closed and since this is clearly composer issue and we didn't receive any updates in a while, I'm going to close this as well. Still, feel free to comment here if you still feel this is issue in a doctrine repository and have any info helping to reproduce or troubleshoot this.
Hi there,
I'm aware of the new php 7.1 requirements and read the blog post about it. I use php 7.1.8 both on development and server. When i try to do composer update, i get this error:
Here is the contents of my composer.json:
My minimum-stability is dev.
Thanks in advance.