Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"... but these conflict with your requirements or minimum-stability" #5211

Closed
spekulatius opened this issue Apr 19, 2016 · 7 comments
Closed
Labels

Comments

@spekulatius
Copy link

Hello composer-team,

Thanks for providing such a useful tool to the community :)

I have tried to install a global dependency and it failed with an unexpected error message. The error message is "these conflict with your requirements or minimum-stability" - while I can't identify any conflicting minimum stability - neither in the composer.json (global) nor in the project composer.json (https://github.com/spekulatius/PainfreeReleases/blob/master/composer.json)

peter@petert ~ $ composer --version
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Composer version 1.1-dev (aed818fda29368f3816da8ced3c100536eb8dcb4) 2016-04-18 22:31:56

peter@petert ~ $ composer clearcache
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Clearing cache (cache-dir): /home/peter/.composer/cache
Clearing cache (cache-files-dir): /home/peter/.composer/cache/files
Clearing cache (cache-repo-dir): /home/peter/.composer/cache/repo
Clearing cache (cache-vcs-dir): /home/peter/.composer/cache/vcs
All caches cleared.
peter@petert ~ $ cat ~/.composer/composer.json 
{
    "require": {
        "spekulatius/painfreereleases": "dev-master"
    }
}

peter@petert ~ $ composer global update -vvv
Changed current directory to /home/peter/.composer
Running aed818fda29368f3816da8ced3c100536eb8dcb4 (2016-04-18 22:31:56) with PHP 5.5.6-1 on Linux / 3.11-2-amd64
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Reading ./composer.json
Loading config file /home/peter/.composer/config.json
Loading config file /home/peter/.composer/auth.json
Loading config file ./composer.json
Loading config file /home/peter/.composer/auth.json
Your version of PHP, 5.5.6-1, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/home/peter/.composer): git branch --no-color --no-abbrev -v
Executing command (/home/peter/.composer): git describe --exact-match --tags
Reading /home/peter/.composer/vendor/composer/installed.json
Loading composer repositories with package information
Downloading https://packagist.org/packages.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/packages.json into cache
Updating dependencies (including require-dev)
Downloading http://packagist.org/p/provider-2013%247a4fde96465d7ca86bb80f6012233148192e7ada15222e242afd7bdabd68f073.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2013.json into cache
Downloading http://packagist.org/p/provider-2014%24eac7d5a8146a6a944ad80e6db55b5ae4f494095858e2c22345247e73979fe72b.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2014.json into cache
Downloading http://packagist.org/p/provider-2015%242c34bc95710925389fe4c85768c2a1c5e1703ca178d3a49b769385cdfcd491a3.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2015.json into cache
Downloading http://packagist.org/p/provider-2015-07%24cb743c0d7f6237ebea2096285330bc231602c95539ec9ae767f5b003b6d6d29b.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2015-07.json into cache
Downloading http://packagist.org/p/provider-2015-10%24253612281c24fbc3a945f17faba528a630d9d3d086ff1e9c20e2b549766c1be9.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2015-10.json into cache
Downloading http://packagist.org/p/provider-2016-01%2436385a2cb3eab7a6c8b8fc20512b452248a21db5a2da86fd4ab8772e39beec02.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2016-01.json into cache
Downloading http://packagist.org/p/provider-2016-04%241625494049e4972a8336e615ea04e469032ae19a0553ad1e3b7679dd1a92544a.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-2016-04.json into cache
Downloading http://packagist.org/p/provider-archived%241b17502997534b65bf7bd1ddbc8d1527da4dc7d5ecbcb28430b55905ceba85bd.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-archived.json into cache
Downloading http://packagist.org/p/provider-latest%24db9572278cfe81ceed7bc253c64649ead7725cf0f370843f4431b1547db54693.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/p-provider-latest.json into cache
Downloading http://packagist.org/p/spekulatius/composer-package-update-checker%2466254653cccfa4bc654d9849db4fe0c4ffb0409633f4cc5fb0e56f829abaf1b9.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-spekulatius$composer-package-update-checker.json into cache
Downloading http://packagist.org/p/spekulatius/painfreereleases%24f513a71320ec58769a25f0cd2ca8fb899f936bd311ad816fb36b26b90631d986.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-spekulatius$painfreereleases.json into cache
Downloading http://packagist.org/p/league/climate%2429d2fe51a4d377ae0110803981eb88e0bb869e7a7e2077963fc7c4d70ed1d00e.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-league$climate.json into cache
Downloading http://packagist.org/p/stevewest/changelog%248055eefcd7ad9f72680f71c28430e8d4b6eab18b8b0b4eb823b5fa073a14f74f.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-stevewest$changelog.json into cache
Downloading http://packagist.org/p/seld/cli-prompt%2416c887cdc74cd1c5b9be971fa6f6abd49986bd29fbf586e99a7cd79fc69d20e4.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-seld$cli-prompt.json into cache
Downloading http://packagist.org/p/naneau/semver%2456c597bcd129c0504531eb62d8bf43abb47edd19c7aca0d037bdeb14e6425333.json
Writing /home/peter/.composer/cache/repo/https---packagist.org/provider-naneau$semver.json into cache
Resolving dependencies through SAT
Dependency resolution completed in 0.001 seconds
Reading /home/peter/.composer/cache/repo/https---packagist.org/provider-naneau$semver.json from cache
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - stevewest/changelog 1.1.0 requires naneau/semver dev-master -> satisfiable by naneau/semver[dev-master] but these conflict with your requirements or minimum-stability.
    - spekulatius/painfreereleases dev-master requires stevewest/changelog ^1.1@stable -> satisfiable by stevewest/changelog[1.1.0].
    - Installation request for spekulatius/painfreereleases dev-master -> satisfiable by spekulatius/painfreereleases[dev-master].

peter@petert ~ $ 

Maybe someone could shade some light on this.

Cheers,
Peter

@xabbuh
Copy link
Contributor

xabbuh commented Apr 19, 2016

You explicitly need to require the naneau/semver package in dev-master too as it is required by one of your indirect dependencies.

@Seldaek
Copy link
Member

Seldaek commented Apr 19, 2016

Your minimum-stability by default is stable so yes naneau/semver is not allowed to be installed as dev-master by that minimum-stability, either you require it with "@dev" as requirement, or you change the minimum-stability to dev.

@stof
Copy link
Contributor

stof commented Apr 19, 2016

much better would be to let stevewest/changelog depend on stable versions of the naneau/semver package instead of forcing the usage of dev-master (and so forcing users of the package to whitelist the dev version)

@spekulatius
Copy link
Author

Hello,

I wasn't aware that default is stable. I was under the impression it is 'dev'.

Stof has raised this with stevewest and we should be able to resolve it in the package which is causing this issue.

Thanks for your help :)

Cheers,
Peter

@stof
Copy link
Contributor

stof commented Apr 20, 2016

@spekulatius it was dev only in the early days of composer. This time is gone since at least 2 years

@spekulatius
Copy link
Author

Wow, I must use composer for quite a while already... All good :)

@virusismine
Copy link

C:\xampp\htdocs\warranty>php composer.phar update
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
- barryvdh/laravel-dompdf v0.6.1 requires dompdf/dompdf 0.6.* -> satisfiable by dompdf/dompdf[v0.6.0, v0.6.1, v0.6.2] but these conflict with your requirements or minimum-stability.
- barryvdh/laravel-dompdf v0.6.0 requires dompdf/dompdf 0.6.* -> satisfiable by dompdf/dompdf[v0.6.0, v0.6.1, v0.6.2] but these conflict with your requirements or minimum-stability.
- Installation request for barryvdh/laravel-dompdf 0.6.* -> satisfiable by barryvdh/laravel-dompdf[v0.6.0, v0.6.1].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants