Hello, thank you for Yii. I have vagrant which is my dev server. So I'm trying to make fresh Yii2 installation. I've installed composer globally and try the following command in project folder:
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-advanced advanced
Every time I get the following:
Installing yiisoft/yii2-app-advanced (dev-master d1b592e5f496cb4adbe08d38bbd35af4469157f1)
- Installing yiisoft/yii2-app-advanced (dev-master master)
Downloading: 100%
Created project in advanced
Loading composer repositories with package information
Installing dependencies (including require-dev)
(at this moment composer hangs about 3-5 minute), next line:
The "http://packagist.org/p/yiisoft/yii2-jui$bca96c74d24b5b7ee484a3b25affddac9c01236a9a414823e13aa201573d95e7.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Name or service not known
failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Next, after all dependencies have been downloaded I try to init project (in accordance with https://github.com/yiisoft/yii2-app-advanced), but unfortunately I get the following:
init: missing runlevel
Try `init --help' for more information.
I understand that Yii2 installation has become difficult. (
@kalopsia you'll be able to get zip packages with dependecies pre-downloaded same as you can get alpha: http://www.yiiframework.com/download/
Not sure what is init: missing runlevel. It seems your system is trying to run something else. This error and --help are definitely not part of init script.
looks like your systems DNS and/or other parts are not configured correctly or somehow broken.
How about we do not install codeception for the apps by default (or update the instructions on installing the apps so that codeception is not installed by default)? It also takes me very long time to install an app via composer, mainly because of the huge dependencies of codeception.
New users may simply give up if the installation takes too long time (for me it's more than 10 minutes).
@Ragazzo: is there a way to install codeception as a phar file via composer? Most users don't really need the source code.
@DavertMik is working on eliminating most of dependencies. Should be in the next release.
@Ragazzo: is there a way to install codeception as a phar file via composer? Most users don't really need the source code.
afaik composer does not support this. could be a good feature request though.
yep, you can download phar and use it. But we should first clarify codeception versions there was some big changes like it was 1.9 stable then it is now 1.8 stable. So before doing anything we need @DavertMik here to clarify that. And maybe we need to fix something i guess so Yii2 connector will be working right according last stable.
New users may simply give up if the installation takes too long time (for me it's more than 10 minutes).
hm, it is very long time, for me it is less then a minute with full downloading without cache.
afaik composer does not support this. could be a good feature request though.
What about creating a package for this? It doesn't need composer's specific support.
What about creating a package for this? It doesn't need composer's specific support.
what is the difference between --prefer-dist and downloading phar then?
what is the difference between --prefer-dist and downloading phar then?
phar is just one file and can be loaded by user if needed.
@Ragazzo this was about creating a composer package that holds the .phar file.
sorry then. are you also can confirm that it takes long time to install basic app? as i said i got it less then a minute, and i think it is more of some other external issues (as connection speed, etc), no?
@Ragazzo I confirm that installing Symfony components and phpunit takes significant time even on very good connection.
@cebe very interesting idea btw. :)
same here, about 1min. As already commented above in the reported case there is something else going wrong.
what is the difference between --prefer-dist and downloading phar then?
@cebe: do you mean this will download phar only? Or will it still download every dependent package?
phar with all packages inside. Kinda interesting trick :)
@Ragazzo: is there a way to install codeception as a phar file via composer? Most users don't really need the source code.
@qiangxue You are absolutely right.
Unfortunately, but I can't test the speed of installation(I don't think that something will be changed) on my host machine instead of remote, because of failure of composer installation:
curl -sS https://getcomposer.org/installer | php
curl: (6) Could not resolve host: getcomposer.org
May be I troubled guy..(
It seems you have problems with DNS resolving. Try adding the following to your hosts:
87.98.253.108 getcomposer.org
Hm...it works! I've downloaded composer.
However what does it mean(Why so)?
Get the following error while running php composer.phar create-project ... advanced:
[Composer\Downloader\TransportException]
The "http://packagist.org/p/smarty/smarty$1ae6e8da14a5a0b8797ac6c
502fab9ddd0231dda27c9e04916b08edca5331dcb.json" file could not be
downloaded: php_network_getaddresses: getaddrinfo failed: Name o
r service not known
failed to open stream: php_network_getaddresses: getaddrinfo fail
ed: Name or service not known
What is going wrong? My hosts file looks as follows:
127.0.0.1 localhost
127.0.1.1 timur-laptop
#192.168.10.10 freedomsq.ru
192.168.10.10 yii2.com
87.98.253.108 getcomposer.org
It seems your DNS resolving is broken. Try https://developers.google.com/speed/public-dns/
This guide seems to be difficult for me(, but nonetheless I set the following settings in my router: primary DNS to 8.8.8.8 and secondary DNS to 8.8.4.4 and now I get something new:
Ты если что на русском пиши, я же татарин. Нет реально, что за проблемы на прямом месте?(
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages. #red background
#plain text
Problem 1
- codeception/codeception 1.0.13 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.0.14 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.1.0 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.1.2 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.1.3 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.1.4 requires behat/mink-goutte-driver * -> satisfiable by behat/mink-goutte-driver[dev-master, 1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.0 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.0.1 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.0.2 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.1 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.2 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.3 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.4 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.7.x-dev requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.8.0 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.8.0.1 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.8.1 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.8.2 requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.8.x-dev requires behat/mink-goutte-driver 1.0.* -> satisfiable by behat/mink-goutte-driver[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9].
- codeception/codeception 1.6.11 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.12 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.4.2 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.5 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.6 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.7 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.8 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.8.1 requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- codeception/codeception 1.6.x-dev requires facebook/php-sdk 3.* -> satisfiable by facebook/php-sdk[v3.2.0, v3.2.1, v3.2.2, v3.2.3].
- behat/mink-goutte-driver dev-master requires fabpot/goutte ~1.0 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver 1.0.x-dev requires fabpot/goutte ~1.0 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.0 requires fabpot/goutte 1.0.* -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.1 requires fabpot/goutte 1.0.x-dev -> satisfiable by fabpot/goutte[1.0.x-dev].
- behat/mink-goutte-driver v1.0.2 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.4 requires fabpot/goutte 1.0.x@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.5 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.6 requires fabpot/goutte 1.0.*@dev -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.7 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.8 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.9 requires fabpot/goutte ~1.0.1 -> satisfiable by fabpot/goutte[1.0.x-dev, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.0.11 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- behat/mink-goutte-driver v1.0.3 requires fabpot/goutte @dev -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.0.12 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.1.5 requires fabpot/goutte dev-master -> satisfiable by fabpot/goutte[dev-master].
- codeception/codeception 1.5.0 requires fabpot/goutte dev-master -> satisfiable by fabpot/goutte[dev-master].
- codeception/codeception 1.5.1 requires fabpot/goutte dev-master -> satisfiable by fabpot/goutte[dev-master].
- codeception/codeception 1.5.2 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.5.3 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.5.4 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.5.5 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.5.6 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.5.7 requires fabpot/goutte @stable -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.0 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.0.1 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.0.3 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.0.4 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.1 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.1.1 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.2 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.3 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.3.1 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.4 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception 1.6.4.1 requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception dev-2.0-dev requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- codeception/codeception dev-master requires fabpot/goutte * -> satisfiable by fabpot/goutte[dev-master, 1.0.x-dev, dev-phar-move, v0.1.0, v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
- facebook/php-sdk v3.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- facebook/php-sdk v3.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- facebook/php-sdk v3.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- facebook/php-sdk v3.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- codeception/codeception 1.0.9 requires facebook/php-webdriver * -> no matching package found.
- fabpot/goutte v1.0.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v1.0.4 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v1.0.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v1.0.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v1.0.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v1.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte v0.1.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte dev-phar-move requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte 1.0.x-dev requires ext-curl * -> the requested PHP extension curl is missing from your system.
- fabpot/goutte dev-master requires ext-curl * -> the requested PHP extension curl is missing from your system.
- codeception/codeception 1.0.10 requires facebook/php-webdriver * -> no matching package found.
- Installation request for codeception/codeception * -> satisfiable by codeception/codeception[1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.0.9, 1.1.0, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.6.0, 1.6.0.1, 1.6.0.3, 1.6.0.4, 1.6.1, 1.6.1.1, 1.6.11, 1.6.12, 1.6.2, 1.6.3, 1.6.3.1, 1.6.4, 1.6.4.1, 1.6.4.2, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.8.1, 1.6.x-dev, 1.7.0, 1.7.0.1, 1.7.0.2, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.x-dev, 1.8.0, 1.8.0.1, 1.8.1, 1.8.2, 1.8.x-dev, dev-2.0-dev, dev-master].
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://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
@kalopsia it's not Composer to blame, it's DNS resolving that was not working properly. It seems it's now working properly except ext-curl * -> the requested PHP extension curl is missing from your system. that clearly tells you what is the problem.
Thank you @samdark for the solution. My problem was incorrect DNS resolving and missing php5-curl package, because my host is installed nothing and my vagrant machine has everything that needed. Now installation take a little less than 1 minute - good result.
However installation on my vagrant machine take not only a little bit more time, but more importantly that composer takes much more RAM. I even was forced to make swap file to make successful installation.
@kalopsia yes, that's a problem with too many dependencies required for Codeception. The issue is being worked on. If it will be too much after the fix is there we'll just exclude it from default composer.json.
init: missing runlevel
Try `init --help' for more information.
write the full path to the file init...
try php init
yes, try php init
Thanks.
"php init" works :)
thanxs
Most helpful comment
yes, try
php init