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

Cannot install on Symfony 3.0.3 #107

Closed
luispabon opened this issue Mar 10, 2016 · 3 comments
Closed

Cannot install on Symfony 3.0.3 #107

luispabon opened this issue Mar 10, 2016 · 3 comments
Assignees

Comments

@luispabon
Copy link

[development@localhost ~/Projects] symfony new test-rss

 Downloading Symfony...

    4.97 MB/4.97 MB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓  100%

 Preparing project...

 ✔  Symfony 3.0.3 was successfully installed. Now you can:

    * Change your current directory to /home/development/Projects/test-rss

    * Configure your application in app/config/parameters.yml file.

    * Run your application:
        1. Execute the php bin/console server:run command.
        2. Browse to the http://localhost:8000 URL.

    * Read the documentation at http://symfony.com/doc

[development@localhost ~/Projects] cd test-rss/
[development@localhost ~/P/test-rss] composer require debril/rss-atom-bundle
Using version ^2.3 for debril/rss-atom-bundle
./composer.json has been updated
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 v3.0.3
    - Conclusion: don't install symfony/symfony v3.0.3
    - debril/rss-atom-bundle v2.3.2 requires symfony/config >=2.6 <=3.0 -> satisfiable by symfony/symfony[v3.0.0], symfony/config[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v3.0.0].
    - debril/rss-atom-bundle v2.3.0 requires symfony/config ~2.6 -> satisfiable by symfony/config[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3].
    - debril/rss-atom-bundle v2.3.1 requires symfony/config ~2.6 -> satisfiable by symfony/config[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3].
    - Can only install one of: symfony/symfony[v3.0.0, v3.0.3].
    - don't install symfony/config v2.6.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.10|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.11|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.12|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.13|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.3|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.4|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.5|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.6|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.7|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.8|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.9|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.10|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.3|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.4|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.5|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.6|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.7|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.8|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.9|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.3|don't install symfony/symfony v3.0.3
    - don't install symfony/config v3.0.0|don't install symfony/symfony v3.0.3
    - Installation request for symfony/symfony == 3.0.3.0 -> satisfiable by symfony/symfony[v3.0.3].
    - Installation request for debril/rss-atom-bundle ^2.3 -> satisfiable by debril/rss-atom-bundle[v2.3.0, v2.3.1, v2.3.2].


Installation failed, reverting ./composer.json to its original content.
[development@localhost ~/P/test-rss] [2] 

Symfony 3 composer.json:

{
    "name": "development/test.rss",
    "license": "proprietary",
    "type": "project",
    "autoload": {
        "psr-4": {
            "": "src/"
        },
        "classmap": [
            "app/AppKernel.php",
            "app/AppCache.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "require": {
        "php": ">=5.5.9",
        "symfony/symfony": "3.0.*",
        "doctrine/orm": "^2.5",
        "doctrine/doctrine-bundle": "^1.6",
        "doctrine/doctrine-cache-bundle": "^1.2",
        "symfony/swiftmailer-bundle": "^2.3",
        "symfony/monolog-bundle": "^2.8",
        "sensio/distribution-bundle": "^5.0",
        "sensio/framework-extra-bundle": "^3.0.2",
        "incenteev/composer-parameter-handler": "^2.0"
    },
    "require-dev": {
        "sensio/generator-bundle": "^3.0",
        "symfony/phpunit-bridge": "^3.0"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
        ]
    },
    "config": {
        "platform": {
            "php": "5.5.9"
        }
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-bin-dir": "bin",
        "symfony-var-dir": "var",
        "symfony-web-dir": "web",
        "symfony-tests-dir": "tests",
        "symfony-assets-install": "relative",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        }
    }
}
@luispabon
Copy link
Author

Cannot install either following README.md instructions:

[ after adding debril/rss-atom-bundle 2.2 to composer.json as per readme ]

[development@localhost ~/P/test-rss] composer update debril/rss-atom-bundle
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
    - Installation request for debril/rss-atom-bundle 2.2 -> satisfiable by debril/rss-atom-bundle[v2.2.0].
    - Conclusion: remove symfony/symfony v3.0.3
    - Conclusion: don't install symfony/symfony v3.0.3
    - debril/rss-atom-bundle v2.2.0 requires symfony/config ~2.6 -> satisfiable by symfony/config[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3].
    - don't install symfony/config v2.6.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.10|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.11|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.12|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.13|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.3|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.4|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.5|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.6|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.7|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.8|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.6.9|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.10|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.3|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.4|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.5|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.6|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.7|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.8|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.7.9|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.0|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.1|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.2|don't install symfony/symfony v3.0.3
    - don't install symfony/config v2.8.3|don't install symfony/symfony v3.0.3
    - Installation request for symfony/symfony == 3.0.3.0 -> satisfiable by symfony/symfony[v3.0.3].

@luispabon
Copy link
Author

Funny thing is that cloning this repo, then running composer install, symfony 3.0.3 gets installed just fine.

alexdebril added a commit that referenced this issue Mar 11, 2016
@alexdebril alexdebril self-assigned this Mar 11, 2016
@alexdebril
Copy link
Owner

Thank you very much for this feedback, I just fixed it :

composer require  debril/rss-atom-bundle 2.3.2-rc1
./composer.json has been updated
Warning: You should avoid overwriting already defined auth settings for github.com.
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing debril/rss-atom-bundle (v2.3.2-rc1)
    Downloading: 100%         

debril/rss-atom-bundle suggests installing guzzlehttp/guzzle (We can use Guzzle >= 6.0 to fetch feed - set 'driver' to 'guzzle' then)
debril/rss-atom-bundle suggests installing debril/feedio-bundle (rss-atom-bundle will be replaced with feedio-bundle)
Writing lock file
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache

 // Clearing the cache for the dev environment with debug true


 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.                                            


> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets

 Trying to install assets as relative symbolic links.

 --- ----------------- ------------------ 
      Bundle            Method / Error    
 --- ----------------- ------------------ 
  ✔   FrameworkBundle   relative symlink  
 --- ----------------- ------------------ 


 [OK] All assets were successfully installed.                                                                           


> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget

I'll create a stable release very soon

alexdebril added a commit that referenced this issue Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants