Advertisement
soulwon

drush intall

Jun 15th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.25 KB | None | 0 0
  1. sudo apt install composer
  2.  
  3. noah@ubuntuServer:/usr/share/php $ composer global require drush/drush:dev-master
  4. Changed current directory to /home/noah/.config/composer
  5. ./composer.json has been created
  6. Loading composer repositories with package information
  7. Updating dependencies (including require-dev)
  8. Your requirements could not be resolved to an installable set of packages.
  9.  
  10. Problem 1
  11. - Installation request for drush/drush dev-master -> satisfiable by drush/drush[dev-master].
  12. - drush/drush dev-master requires codegyre/robo ~1.0.0-beta1 -> no matching package found.
  13.  
  14. Potential causes:
  15. - A typo in the package name
  16. - The package is not available in a stable-enough version according to your minimum-stability setting
  17. see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
  18.  
  19. Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
  20.  
  21. Installation failed, deleting ./composer.json.
  22. noah@ubuntuServer:/usr/share/php $ curl -sS https://getcomposer.org/installer | php
  23. All settings correct for using Composer
  24. Downloading 1.1.2...
  25. Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
  26. Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
  27. fwrite() expects parameter 1 to be resource, boolean given
  28. Downloading 1.1.2...
  29. Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
  30. Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
  31. fwrite() expects parameter 1 to be resource, boolean given
  32. Downloading 1.1.2...
  33. Could not create file /usr/share/php/composer.phar: fopen(/usr/share/php/compo ser.phar): failed to open stream: Permission denied
  34. Download failed: fopen(/usr/share/php/composer.phar): failed to open stream: P ermission denied
  35. fwrite() expects parameter 1 to be resource, boolean given
  36. The download failed repeatedly, aborting.
  37. noah@ubuntuServer:/usr/share/php $ sudo curl -sS https://getcomposer.org/installer | sudo php
  38. All settings correct for using Composer
  39. Downloading 1.1.2...
  40.  
  41. Composer successfully installed to: /usr/share/php/composer.phar
  42. Use it: php composer.phar
  43.  
  44. noah@ubuntuServer:~ $ sudo composer global require drush/drush:dev-master
  45. [sudo] password for noah:
  46. Changed current directory to /home/noah/.composer
  47. Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
  48. ./composer.json has been created
  49. Loading composer repositories with package information
  50. Updating dependencies (including require-dev)
  51. Your requirements could not be resolved to an installable set of packages.
  52.  
  53. Problem 1
  54. - Installation request for drush/drush dev-master -> satisfiable by drush/drush[dev-master].
  55. - 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.
  56.  
  57.  
  58. Installation failed, deleting ./composer.json.
  59. noah@ubuntuServer:~ $ sudo composer require drush/drush:~8
  60. [sudo] password for noah:
  61. Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
  62. ./composer.json has been created
  63. Loading composer repositories with package information
  64. Updating dependencies (including require-dev)
  65. Failed to download pear/console_table from dist: The zip extension and unzip command are both missing, skipping.
  66. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  67. Now trying to download from source
  68. - Installing pear/console_table (v1.3.0)
  69. Cloning 64100b9ee81852f4fa17823e55d0b385a544f976
  70.  
  71. Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip command are both missing, skipping.
  72. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  73. Now trying to download from source
  74. - Installing symfony/polyfill-mbstring (v1.2.0)
  75. Cloning dff51f72b0706335131b00a7f49606168c582594
  76.  
  77. Failed to download symfony/console from dist: The zip extension and unzip command are both missing, skipping.
  78. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  79. Now trying to download from source
  80. - Installing symfony/console (v2.8.7)
  81. Cloning 5ac8bc9aa77bb2edf06af3a1bb6bc1020d23acd3
  82.  
  83. Failed to download symfony/var-dumper from dist: The zip extension and unzip command are both missing, skipping.
  84. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  85. Now trying to download from source
  86. - Installing symfony/var-dumper (v2.8.7)
  87. Cloning 0c5970fc6cb9222b78559f20858f76db1e5ac326
  88.  
  89. Failed to download symfony/yaml from dist: The zip extension and unzip command are both missing, skipping.
  90. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  91. Now trying to download from source
  92. - Installing symfony/yaml (v2.8.7)
  93. Cloning 815fabf3f48c7d1df345a69d1ad1a88f59757b34
  94.  
  95. Failed to download jakub-onderka/php-console-color from dist: The zip extension and unzip command are both missing, skipping.
  96. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  97. Now trying to download from source
  98. - Installing jakub-onderka/php-console-color (0.1)
  99. Cloning e0b393dacf7703fc36a4efc3df1435485197e6c1
  100.  
  101. Failed to download jakub-onderka/php-console-highlighter from dist: The zip extension and unzip command are both missing, skipping.
  102. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  103. Now trying to download from source
  104. - Installing jakub-onderka/php-console-highlighter (v0.3.2)
  105. Cloning 7daa75df45242c8d5b75a22c00a201e7954e4fb5
  106.  
  107. Failed to download dnoegel/php-xdg-base-dir from dist: The zip extension and unzip command are both missing, skipping.
  108. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  109. Now trying to download from source
  110. - Installing dnoegel/php-xdg-base-dir (0.1)
  111. Cloning 265b8593498b997dc2d31e75b89f053b5cc9621a
  112.  
  113. Failed to download nikic/php-parser from dist: The zip extension and unzip command are both missing, skipping.
  114. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  115. Now trying to download from source
  116. - Installing nikic/php-parser (v2.1.0)
  117. Cloning 47b254ea51f1d6d5dc04b9b299e88346bf2369e3
  118.  
  119. Failed to download psy/psysh from dist: The zip extension and unzip command are both missing, skipping.
  120. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  121. Now trying to download from source
  122. - Installing psy/psysh (v0.7.2)
  123. Cloning e64e10b20f8d229cac76399e1f3edddb57a0f280
  124.  
  125. Failed to download psr/log from dist: The zip extension and unzip command are both missing, skipping.
  126. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  127. Now trying to download from source
  128. - Installing psr/log (1.0.0)
  129. Cloning fe0936ee26643249e916849d48e3a51d5f5e278b
  130.  
  131. Failed to download drush/drush from dist: The zip extension and unzip command are both missing, skipping.
  132. The php.ini used by your command-line PHP is: /etc/php/7.0/cli/php.ini
  133. Now trying to download from source
  134. - Installing drush/drush (8.1.2)
  135. Cloning 85b58140d576cfdb9546a23c3ff44b72d0dae5bc
  136.  
  137. pear/console_table suggests installing pear/Console_Color2 (>=0.1.2)
  138. symfony/console suggests installing symfony/event-dispatcher ()
  139. symfony/console suggests installing symfony/process ()
  140. symfony/var-dumper suggests installing ext-symfony_debug ()
  141. psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
  142. drush/drush suggests installing drush/config-extra (Provides configuration workflow commands, such as config-merge.)
  143. Writing lock file
  144. Generating autoload files
  145. noah@ubuntuServer:~ $ drush status
  146. The program 'drush' is currently not installed. You can install it by typing:
  147. sudo apt install drush
  148. noah@ubuntuServer:~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement