Need help: Can't install plugins
  • Привет всем :) Давненько я не жаловался. Пытаюсь установить плагин (например ingest-plugin-bundle), на выходе получаю такую простынь:
    Composer обновлен.Платформа чистая, пробовал три версии 4.4.4, 4.4.6, 4.4.7

    Updating dependencies
    Your requirements could not be resolved to an installable set of packages.

      Problem 1
        - The requested package phpspec/prophecy (locked at 1.4.x-dev) exists as phpspec/prophecy[1.1.2, 1.4.0, dev-master, 1.6.x-dev, v1.0.0, v1.0.0-BETA1, v1.0.0-BETA2, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.1.0, v1.1.1, v1.2.0, v1.2.1, v1.3.0, v1.3.1, v1.4.1, v1.5.0, v1.6.0, v1.6.1] but these are rejected by your constraint.
      Problem 2
        - The requested package sebastian/comparator (locked at 1.1.x-dev) exists as sebastian/comparator[1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.2.0, dev-master, 1.2.x-dev] but these are rejected by your constraint.
      Problem 3
        - The requested package sebastian/diff (locked at 1.3.x-dev) exists as sebastian/diff[1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, dev-master, 1.4.x-dev] but these are rejected by your constraint.
      Problem 4
        - The requested package sebastian/exporter (locked at 1.2.x-dev) exists as sebastian/exporter[1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, dev-factory, dev-master, 1.3.x-dev] but these are rejected by your constraint.
      Problem 5
        - Installation request for phpunit/phpunit (locked at 4.8.x-dev, required as ~4.0) -> satisfiable by phpunit/phpunit[4.8.x-dev].
        - phpunit/phpunit 4.8.x-dev requires phpunit/php-timer ^1.0.6 -> satisfiable by phpunit/php-timer[1.0.6, 1.0.7, 1.0.8].
        - Can only install one of: phpunit/php-timer[dev-master, 1.0.6].
        - Can only install one of: phpunit/php-timer[dev-master, 1.0.7].
        - Can only install one of: phpunit/php-timer[dev-master, 1.0.8].
        - Installation request for phpunit/php-timer (locked at dev-master) -> satisfiable by phpunit/php-timer[dev-master].
  • 9 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    what exactly you are doing? (cli or via admin interface)
    which php version?

    I would recommend to use cli commands:

    php application/console plugins:install "newscoop/ingest-plugin-bundle"
    php application/console assets:install public/
  • I used cli

    PHP 5.5.9-1ubuntu4.19 (cli) 

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    looks like ubuntu 14.04 
     just tried on same system and couldn't reproduce:
     

    php application/console plugins:install "newscoop/ingest-plugin-bundle"
    Warning: This development build of composer is over 60 days old. It is recommended to update it by running "composer.phar self-update" to get the latest version.
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
      - Installing simplepie/simplepie (dev-master a93fb64)
        Cloning a93fb64517b7b7a4a13df481a436d06c53b33428

      - Installing newscoop/ingest-plugin-bundle (dev-master 33ad63c)
        Cloning 33ad63cdf21886a2229087510767dee8e173fd75

    Package friendsofsymfony/rest is abandoned, you should avoid using it. No replacement was suggested.
    Package guzzle/common is abandoned, you should avoid using it. Use guzzle/guzzle instead.
    Package guzzle/stream is abandoned, you should avoid using it. Use guzzle/guzzle instead.
    Package guzzle/parser is abandoned, you should avoid using it. Use guzzle/guzzle instead.
    Package guzzle/http is abandoned, you should avoid using it. Use guzzle/guzzle instead.
    Writing lock file
    Generating autoload files
    > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
    remove /var/www/test/cache/*
    Cache cleared
    We just fired: "plugin.install" event
    We just fired: "plugin.install.newscoop_ingest_plugin_bundle" event
    Plugin newscoop/ingest-plugin-bundle is installed!

  • В том и проблема - прошу прощения, что перешел на русский, что тоже Убунту стоит... Подозреваю, что не все php пакеты установлены... 14.04.1 и 14.04.5 пробовал. Не могли бы вы вывод php кинуть?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    php -v
    PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33) 
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

  • У меня вот так и мертво: 
    PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

    Вообще ничего не понимаю!

  • Установил композер php composer.phar install
    Пока без изменений :)
  • Та же малина и у меня. композер обновлял.
    Newscoop 4.4.7








    PHP 5.6.24-0+deb8u1 (cli) (built: Jul 26 2016 08:17:07) 


    Copyright (c) 1997-2016 The PHP Group


    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies


        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

  • Иван, я плюнул и переустановил систему на dev-сервере не разбираясь в проблема дальше :)