Lumen Installer Bug? - lumen
I am having a problem trying to install the lumen installer on my El Capitan computer. This is the command line I launch:
composer global require "laravel/lumen-installer"
I also tried it as sudo but it gives me the following error:
Your requirements could not be resolved to an installable set of packages.
Here is the complete output of the command:
Changed current directory to /Users/mmarteau/.composer
Using version ^1.0 for laravel/lumen-installer
./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: don't install laravel/lumen-installer v1.0.1
- Conclusion: remove symfony/process v3.0.1
- Installation request for laravel/lumen-installer ^1.0 -> satisfiable by laravel/lumen-installer[v1.0.0, v1.0.1].
- Conclusion: don't install symfony/process v3.0.1
- laravel/lumen-installer v1.0.0 requires symfony/process ~2.3 -> satisfiable by symfony/process[v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, 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.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].
- Can only install one of: symfony/process[v2.3.0, v3.0.1].
- Can only install one of: symfony/process[v2.3.1, v3.0.1].
- Can only install one of: symfony/process[v2.3.10, v3.0.1].
- Can only install one of: symfony/process[v2.3.11, v3.0.1].
- Can only install one of: symfony/process[v2.3.12, v3.0.1].
- Can only install one of: symfony/process[v2.3.13, v3.0.1].
- Can only install one of: symfony/process[v2.3.14, v3.0.1].
- Can only install one of: symfony/process[v2.3.15, v3.0.1].
- Can only install one of: symfony/process[v2.3.16, v3.0.1].
- Can only install one of: symfony/process[v2.3.17, v3.0.1].
- Can only install one of: symfony/process[v2.3.18, v3.0.1].
- Can only install one of: symfony/process[v2.3.19, v3.0.1].
- Can only install one of: symfony/process[v2.3.2, v3.0.1].
- Can only install one of: symfony/process[v2.3.20, v3.0.1].
- Can only install one of: symfony/process[v2.3.21, v3.0.1].
- Can only install one of: symfony/process[v2.3.22, v3.0.1].
- Can only install one of: symfony/process[v2.3.23, v3.0.1].
- Can only install one of: symfony/process[v2.3.24, v3.0.1].
- Can only install one of: symfony/process[v2.3.25, v3.0.1].
- Can only install one of: symfony/process[v2.3.26, v3.0.1].
- Can only install one of: symfony/process[v2.3.27, v3.0.1].
- Can only install one of: symfony/process[v2.3.28, v3.0.1].
- Can only install one of: symfony/process[v2.3.29, v3.0.1].
- Can only install one of: symfony/process[v2.3.3, v3.0.1].
- Can only install one of: symfony/process[v2.3.30, v3.0.1].
- Can only install one of: symfony/process[v2.3.31, v3.0.1].
- Can only install one of: symfony/process[v2.3.32, v3.0.1].
- Can only install one of: symfony/process[v2.3.33, v3.0.1].
- Can only install one of: symfony/process[v2.3.34, v3.0.1].
- Can only install one of: symfony/process[v2.3.35, v3.0.1].
- Can only install one of: symfony/process[v2.3.36, v3.0.1].
- Can only install one of: symfony/process[v2.3.37, v3.0.1].
- Can only install one of: symfony/process[v2.3.4, v3.0.1].
- Can only install one of: symfony/process[v2.3.5, v3.0.1].
- Can only install one of: symfony/process[v2.3.6, v3.0.1].
- Can only install one of: symfony/process[v2.3.7, v3.0.1].
- Can only install one of: symfony/process[v2.3.8, v3.0.1].
- Can only install one of: symfony/process[v2.3.9, v3.0.1].
- Can only install one of: symfony/process[v2.4.0, v3.0.1].
- Can only install one of: symfony/process[v2.4.1, v3.0.1].
- Can only install one of: symfony/process[v2.4.10, v3.0.1].
- Can only install one of: symfony/process[v2.4.2, v3.0.1].
- Can only install one of: symfony/process[v2.4.3, v3.0.1].
- Can only install one of: symfony/process[v2.4.4, v3.0.1].
- Can only install one of: symfony/process[v2.4.5, v3.0.1].
- Can only install one of: symfony/process[v2.4.6, v3.0.1].
- Can only install one of: symfony/process[v2.4.7, v3.0.1].
- Can only install one of: symfony/process[v2.4.8, v3.0.1].
- Can only install one of: symfony/process[v2.4.9, v3.0.1].
- Can only install one of: symfony/process[v2.5.0, v3.0.1].
- Can only install one of: symfony/process[v2.5.1, v3.0.1].
- Can only install one of: symfony/process[v2.5.10, v3.0.1].
- Can only install one of: symfony/process[v2.5.11, v3.0.1].
- Can only install one of: symfony/process[v2.5.12, v3.0.1].
- Can only install one of: symfony/process[v2.5.2, v3.0.1].
- Can only install one of: symfony/process[v2.5.3, v3.0.1].
- Can only install one of: symfony/process[v2.5.4, v3.0.1].
- Can only install one of: symfony/process[v2.5.5, v3.0.1].
- Can only install one of: symfony/process[v2.5.6, v3.0.1].
- Can only install one of: symfony/process[v2.5.7, v3.0.1].
- Can only install one of: symfony/process[v2.5.8, v3.0.1].
- Can only install one of: symfony/process[v2.5.9, v3.0.1].
- Can only install one of: symfony/process[v2.6.0, v3.0.1].
- Can only install one of: symfony/process[v2.6.1, v3.0.1].
- Can only install one of: symfony/process[v2.6.10, v3.0.1].
- Can only install one of: symfony/process[v2.6.11, v3.0.1].
- Can only install one of: symfony/process[v2.6.12, v3.0.1].
- Can only install one of: symfony/process[v2.6.13, v3.0.1].
- Can only install one of: symfony/process[v2.6.2, v3.0.1].
- Can only install one of: symfony/process[v2.6.3, v3.0.1].
- Can only install one of: symfony/process[v2.6.4, v3.0.1].
- Can only install one of: symfony/process[v2.6.5, v3.0.1].
- Can only install one of: symfony/process[v2.6.6, v3.0.1].
- Can only install one of: symfony/process[v2.6.7, v3.0.1].
- Can only install one of: symfony/process[v2.6.8, v3.0.1].
- Can only install one of: symfony/process[v2.6.9, v3.0.1].
- Can only install one of: symfony/process[v2.7.0, v3.0.1].
- Can only install one of: symfony/process[v2.7.1, v3.0.1].
- Can only install one of: symfony/process[v2.7.2, v3.0.1].
- Can only install one of: symfony/process[v2.7.3, v3.0.1].
- Can only install one of: symfony/process[v2.7.4, v3.0.1].
- Can only install one of: symfony/process[v2.7.5, v3.0.1].
- Can only install one of: symfony/process[v2.7.6, v3.0.1].
- Can only install one of: symfony/process[v2.7.7, v3.0.1].
- Can only install one of: symfony/process[v2.7.8, v3.0.1].
- Can only install one of: symfony/process[v2.7.9, v3.0.1].
- Can only install one of: symfony/process[v2.8.0, v3.0.1].
- Can only install one of: symfony/process[v2.8.1, v3.0.1].
- Can only install one of: symfony/process[v2.8.2, v3.0.1].
- Installation request for symfony/process == 3.0.1.0 -> satisfiable by symfony/process[v3.0.1].
Installation failed, reverting ./composer.json to its original content.
I Googled it a little and self updated composer but nothing changes, if someone can help, it would be cool :)
I had the same problem on my Mac trying to install the lumen installer. Now I found a solution by removing the old .composer directory from my home directory. Then running the composer command to install the lumen installer works without problems:
composer global require "laravel/lumen-installer"
Related
install mongodb 5.0.2 on fedora 34
I am trying to install mongo on fedora 34. I have the yum config: /etc/yum.repo.d/mongodb-org-5.0.repo with the text [mongodb-org] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc To install mongo I run sudo yum install -y mongodb-org It fails with the following: Error: Problem: conflicting requests - package mongodb-org-5.0.0-1.el8.x86_64 requires mongodb-org-tools, but none of the providers can be installed - package mongodb-org-5.0.2-1.el8.x86_64 requires mongodb-org-tools, but none of the providers can be installed - package mongodb-org-tools-5.0.0-1.el8.x86_64 requires mongodb-org-database-tools-extra, but none of the providers can be installed - package mongodb-org-tools-5.0.2-1.el8.x86_64 requires mongodb-org-database-tools-extra, but none of the providers can be installed - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-5.0.0-1.el8.x86_64 - nothing provides /usr/libexec/platform-python needed by mongodb-org-database-tools-extra-5.0.2-1.el8.x86_64 Please help me with the installation steps. I am not able to install even after following the official mongo installation guide
try to install the server, shell and tools separately sudo dnf install mongodb-org-server mongodb-org-shell mongodb-database-tools mongodb-org-mongos mongodb-mongosh Related issue
can not install mongodb for lumen
I am trying to install Mongodb for lumen from jenssegers/mongodb with composer. The version of php is 7.2 and have installed mongodb driver and added to php.ini correctly but I faced an error:- C:\wamp64\www\lumen\blog>composer require jenssegers/mongodb Using version ^3.4 for jenssegers/mongodb ./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: don't install jenssegers/mongodb v3.4.2 - Conclusion: don't install jenssegers/mongodb v3.4.1 - Conclusion: remove illuminate/container v5.5.40 - Installation request for jenssegers/mongodb ^3.4 -> satisfiable by jenssegers/mongodb[v3.4.0, v3.4.1, v3.4.2]. - Conclusion: don't install illuminate/container v5.5.40 - jenssegers/mongodb v3.4.0 requires illuminate/container ^5.6 -> satisfiable by illuminate/container[5.6.x-dev, 5.7.x-dev, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9]. - Can only install one of: illuminate/container[5.6.x-dev, v5.5.40]. - Can only install one of: illuminate/container[5.7.x-dev, v5.5.40]. - Can only install one of: illuminate/container[v5.6.0, v5.5.40]. - Can only install one of: illuminate/container[v5.6.1, v5.5.40]. - Can only install one of: illuminate/container[v5.6.10, v5.5.40]. - Can only install one of: illuminate/container[v5.6.11, v5.5.40]. - Can only install one of: illuminate/container[v5.6.12, v5.5.40]. - Can only install one of: illuminate/container[v5.6.13, v5.5.40]. - Can only install one of: illuminate/container[v5.6.14, v5.5.40]. - Can only install one of: illuminate/container[v5.6.15, v5.5.40]. - Can only install one of: illuminate/container[v5.6.16, v5.5.40]. - Can only install one of: illuminate/container[v5.6.17, v5.5.40]. - Can only install one of: illuminate/container[v5.6.19, v5.5.40]. - Can only install one of: illuminate/container[v5.6.2, v5.5.40]. - Can only install one of: illuminate/container[v5.6.20, v5.5.40]. - Can only install one of: illuminate/container[v5.6.21, v5.5.40]. - Can only install one of: illuminate/container[v5.6.22, v5.5.40]. - Can only install one of: illuminate/container[v5.6.3, v5.5.40]. - Can only install one of: illuminate/container[v5.6.4, v5.5.40]. - Can only install one of: illuminate/container[v5.6.5, v5.5.40]. - Can only install one of: illuminate/container[v5.6.6, v5.5.40]. - Can only install one of: illuminate/container[v5.6.7, v5.5.40]. - Can only install one of: illuminate/container[v5.6.8, v5.5.40]. - Can only install one of: illuminate/container[v5.6.9, v5.5.40]. - Installation request for illuminate/container (locked at v5.5.40) -> satisfiable by illuminate/container[v5.5.40]. Installation failed, reverting ./composer.json to its original content. How to solve this problem?
CentOS 6.8 install rabbitmq 3.7.4
I'm trying to install RabbitMQ 3.7.4 on CentOS 6.8. Currently I have installed Erlang 20 following instruction from https://github.com/erlang/otp/blob/maint/HOWTO/INSTALL.md , but when I tried : sudo yum install https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.4/rabbitmq-server-3.7.4-1.el6.noarch.rpm it doesn't detect the Erlang 20. Instead it searched for the available Erlang package from my EPEL, which is the R14B, and wont install since it is lower than the minimum Erlang version requirements. How do I fix this and install RabbitMQ?
From the Installation instructions at https://packages.erlang-solutions.com/erlang/ Installation using repository 1. Adding repository entry To add Erlang Solutions repository (including our public key for verifying signed package) to your system, call the following commands: wget https://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh erlang-solutions-1.0-1.noarch.rpm Alternatively: adding the repository entry manually RPM packages are signed. To add Erlang Solutions key, execute command: rpm --import https://packages.erlang-solutions.com/rpm/erlang_solutions.asc Add the following lines to some file in "/etc/yum.repos.d/": [erlang-solutions] name=CentOS $releasever - $basearch - Erlang Solutions baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch gpgcheck=1 gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc enabled=1 2. Adding repository with dependencies Packages requires some packages that are not present in standard repository. Please ensure that EPEL respository is enabled. 3. Installing Erlang Call the following command to install the "erlang" package: sudo yum install erlang or this command to install the "esl-erlang" package: sudo yum install esl-erlang Please refer to the FAQ for the difference between those versions. Your erlang will be kept up to date either way.
Nginx CentOS 7 yum Install Error
I am trying to install Nginx on centOS 7 but I keep getting this error [nginx error][1] [1]: https://i.stack.imgur.com/iwMhQ.png Things I have tried: -Yum Clean All -Installed Epel-release -Tried to install apt-get,wget, and unzip but receive the same errors - created a yum repo for nginx with the following: [nginx] name=nginx repo baseurl= ht tp://n ginx.org /packages/centos/7/$basearch/ gpgcheck=0 enabled=1 - sudo yum -y install nginx httpd-tools - sudo vi /etc/nginx/nginx.conf If anyone knows how I can get around this or knows an alternate way to install ELK Stack on centos7 that will be greatly appreciated, thanks!
In particular to installing Nginx on CentOS 7, not sure of what kind of error you have (could not open the image/picture from you), but just tried (around 10 minutes ago) on CentOS 7 (Vagrant Box "CentOS-7.2-1.8T"), it worked with the following simple 2 steps: 1. sudo yum -y install epel-release 2. sudo yum -y install nginx It worked without running "yum clean all" and without creating "/etc/yum.repos.d/nginx.repo". If httpd-tools is needed, it also worked by adding an extra (separate) command "sudo yum -y install httpd-tools". Not sure if this is the solution or whether this is helpful enough, but just looking at what you have tried, I just want to share that even simpler steps seem sufficient enough to work.
name=nginx repo -> name=nginx yum-config-manager --enable nginx yum install nginx httpd-tools nginx stable version install on CentOS 8
If you are installing ngnx on centos7,you need to add the repository using epel release. We need to add the repo first then we can start installing . sudo yum install epel-release Then we can edit repo $frugalis vi /etc/yum.repos.d/nginx.repo Now add the below [nginx] name=nginx repo baseurl=https://nginx.org/packages/centos/7/$basearch/ gpgcheck=0 enabled=1 This will enable the repo .. For installations on any other OS Versions , you can add repo going to their official website here .Trick is you need to enable the repo based on the versions . Then you can follow next steps like Configuring selinux or enabling firewall.
What does "has no metadata" mean in a yolk package listing?
After setting up a simple virtualenv and installing a few packages, when I yolk -l I get Python - 2.7.5 - active development (/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload) ipython - 1.1.0 - active pip 1.5 has no metadata readline - 6.2.4.1 - active setuptools 2.1 has no metadata wsgiref - 0.1.2 - active development (/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7) yolk - 0.4.3 - active What does "has no metadata" mean for pip and setuptools (both, I believe, installed when the virtualenv is created)? Can I do something (e.g. with pip) to "fix" this?
Some (newer) Python packages store their package metadata in a different file than expected by yolk; yolk3k will knows how to handle that though. Just pip install --upgrade yolk3k