Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt install composer
- noah@ubuntuServer:/usr/share/php $ composer global require drush/drush:dev-master
- Changed current directory to /home/noah/.config/composer
- ./composer.json has been created
- 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 drush/drush dev-master -> satisfiable by drush/drush[dev-master].
- - drush/drush dev-master requires codegyre/robo ~1.0.0-beta1 -> no matching package found.
- 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.
- Installation failed, deleting ./composer.json.
- noah@ubuntuServer:/usr/share/php $ curl -sS https://getcomposer.org/installer | php
- All settings correct for using Composer
- Downloading 1.1.2...
- Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
- Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
- fwrite() expects parameter 1 to be resource, boolean given
- Downloading 1.1.2...
- Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
- Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
- fwrite() expects parameter 1 to be resource, boolean given
- Downloading 1.1.2...
- Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
- Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
- fwrite() expects parameter 1 to be resource, boolean given
- The download failed repeatedly, aborting.
- noah@ubuntuServer:/usr/share/php $ sudo curl -sS https://getcomposer.org/installer | sudo php
- All settings correct for using Composer
- Downloading 1.1.2...
- Composer successfully installed to: /usr/share/php/composer.phar
- Use it: php composer.phar
- noah@ubuntuServer:~ $ sudo composer global require drush/drush:dev-master
- [sudo] password for noah:
- Changed current directory to /home/noah/.composer
- Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
- ./composer.json has been created
- 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 drush/drush dev-master -> satisfiable by drush/drush[dev-master].
- - drush/drush dev-master requires codegyre/robo ~1.0.0-beta1 -> satisfiable by codegyre/robo[1.0.0-beta1] but these conflict with your requirements or minimum-stability.
- Installation failed, deleting ./composer.json.
- noah@ubuntuServer:~ $ sudo composer require drush/drush:~8
- [sudo] password for noah:
- Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
- ./composer.json has been created
- Loading composer repositories with package information
- Updating dependencies (including require-dev)
- Failed to download pear/console_table from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing pear/console_table (v1.3.0)
- Cloning 64100b9ee81852f4fa17823e55d0b385a544f976
- Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing symfony/polyfill-mbstring (v1.2.0)
- Cloning dff51f72b0706335131b00a7f49606168c582594
- Failed to download symfony/console from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing symfony/console (v2.8.7)
- Cloning 5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3
- Failed to download symfony/var-dumper from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing symfony/var-dumper (v2.8.7)
- Cloning 0c5970fc6cb9222b78559f20858f76db1e5ac326
- Failed to download symfony/yaml from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing symfony/yaml (v2.8.7)
- Cloning 815fabf3f48c7d1df345a69d1ad1a88f59757b34
- Failed to download jakub-onderka/php-console-color from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing jakub-onderka/php-console-color (0.1)
- Cloning e0b393dacf7703fc36a4efc3df1435485197e6c1
- Failed to download jakub-onderka/php-console-highlighter from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing jakub-onderka/php-console-highlighter (v0.3.2)
- Cloning 7daa75df45242c8d5b75a22c00a201e7954e4fb5
- Failed to download dnoegel/php-xdg-base-dir from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing dnoegel/php-xdg-base-dir (0.1)
- Cloning 265b8593498b997dc2d31e75b89f053b5cc9621a
- Failed to download nikic/php-parser from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing nikic/php-parser (v2.1.0)
- Cloning 47b254ea51f1d6d5dc04b9b299e88346bf2369e3
- Failed to download psy/psysh from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing psy/psysh (v0.7.2)
- Cloning e64e10b20f8d229cac76399e1f3edddb57a0f280
- Failed to download psr/log from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing psr/log (1.0.0)
- Cloning fe0936ee26643249e916849d48e3a51d5f5e278b
- Failed to download drush/drush from dist: The zip extension and unzip command are both missing, skipping.
- The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
- Now trying to download from source
- - Installing drush/drush (8.1.2)
- Cloning 85b58140d576cfdb9546a23c3ff44b72d0dae5bc
- pear/console_table suggests installing pear/Console_Color2 (>=0.1.2)
- symfony/console suggests installing symfony/event-dispatcher ()
- symfony/console suggests installing symfony/process ()
- symfony/var-dumper suggests installing ext-symfony_debug ()
- psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
- drush/drush suggests installing drush/config-extra (Provides configuration workflow commands, such as config-merge.)
- Writing lock file
- Generating autoload files
- noah@ubuntuServer:~ $ drush status
- The program 'drush' is currently not installed. You can install it by typing:
- sudo apt install drush
- noah@ubuntuServer:~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement