can not install mongodb for lumen - mongodb
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?
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
How to install packages not available for RHEL4/CentOS4.9 using Yum?
I'm running i386 RHEL4.5, I'm installing packages using Yum by manually setting its configuration as CentOS 4.9. I have to run a program, for which I cannot download the following packages: cryptsetup-luks-devel, libconfig-devel. In /etc/yum.repos.d/RedHat-Base.repo, it has the following code: [base] name=CentOS-$releasever - Base baseurl=http://vault.centos.org/4.9/os/$basearch/ gpgcheck=1 [update] name=CentOS-$releasever - Updates baseurl=http://vault.centos.org/4.9/updates/$basearch/ gpgcheck=1 I tried changing the number 4.9 to 6.7 but then it searches in "http://vault.centos.org/6.7/os/i386/CentOS/RPMS/.." which does not exist. How should I get about fixing this?
If you want to get packages from 6.7, this is the URL for it: http://vault.centos.org/6.7/os/i386/Packages/ Try changing your .repo file like this: [base] name=CentOS-$releasever - Base baseurl=http://vault.centos.org/6.7/os/i386/Packages/ gpgcheck=1
Unable to download, install Mongodb 3.2 on Fedora 23
O.S. - Fedora 23 64 bit Followed procedure given on https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/ Created the yum.repos.d/mongodb.repo file sudo yum install -y mongodb-org Throws an error No such package - mongodb-org Followed the steps - http://www.liquidweb.com/kb/how-to-install-mongodb-on-fedora-20/ Created the repo file with given URL Installed the mongo Result - mongo version 2.6.12 And not the latest release
The path is /etc/yum.repos.d/mongodb.repo, instead of yum.repos.d/mongodb.repo. You also need to fill the file with the content [mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/7/mongodb-org/3.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
Lumen Installer Bug?
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"
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