when I am writing this in cmd composer require jenssegers/mongodb or composer require jenssegers/mongodb --ignore-platform-reqs this error is showing:
Using version ^3.6 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.6.3
Conclusion: don't install jenssegers/mongodb v3.6.2
Conclusion: don't install jenssegers/mongodb v3.6.1
Conclusion: remove laravel/framework v5.5.48
Installation request for jenssegers/mongodb ^3.6 -> satisfiable by jenssegers/mongodb[v3.6.0, v3.6.1, v3.6.2, v3.6.3].
Conclusion: don't install laravel/framework v5.5.48
jenssegers/mongodb v3.6.0 requires illuminate/events ^5.8|^6.0 -> satisfiable by illuminate/events[v5.8.0, v5.8.11, v5.8.12, v5.8.14,
v5.8.15, v5.8.17, v5.8.18, v5.8.19, v5.8.2, v5.8.20, v5.8.22, v5.8.24,
v5.8.27, v5.8.28, v5.8.29, v5.8.3, v5.8.30, v5.8.31, v5.8.32, v5.8.33,
v5.8.34, v5.8.35, v5.8.36, v5.8.4, v5.8.8, v5.8.9, v6.0.0, v6.0.1,
v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0,
v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1,
v6.18.0, v6.18.1, v6.18.2, v6.18.3, v6.2.0, v6.3.0, v6.4.1, v6.5.0,
v6.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0].
don't install illuminate/events v5.8.0|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.11|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.12|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.14|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.15|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.17|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.18|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.19|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.2|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.20|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.22|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.24|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.27|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.28|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.29|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.3|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.30|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.31|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.32|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.33|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.34|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.35|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.36|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.4|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.8|don't install laravel/framework v5.5.48
don't install illuminate/events v5.8.9|don't install laravel/framework v5.5.48
don't install illuminate/events v6.0.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.0.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.0.2|don't install laravel/framework v5.5.48
don't install illuminate/events v6.0.3|don't install laravel/framework v5.5.48
don't install illuminate/events v6.0.4|don't install laravel/framework v5.5.48
don't install illuminate/events v6.1.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.10.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.11.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.12.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.13.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.13.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.14.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.15.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.15.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.16.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.17.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.17.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.18.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.18.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.18.2|don't install laravel/framework v5.5.48
don't install illuminate/events v6.18.3|don't install laravel/framework v5.5.48
don't install illuminate/events v6.2.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.3.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.4.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.5.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.5.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.5.2|don't install laravel/framework v5.5.48
don't install illuminate/events v6.6.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.6.1|don't install laravel/framework v5.5.48
don't install illuminate/events v6.6.2|don't install laravel/framework v5.5.48
don't install illuminate/events v6.7.0|don't install laravel/framework v5.5.48
don't install illuminate/events v6.8.0|don't install laravel/framework v5.5.48
Installation request for laravel/framework (locked at v5.5.48, required as 5.5.*) -> satisfiable by laravel/framework[v5.5.48].
Installation failed, reverting ./composer.json to its original
content.
What am I doing wrong? Laravel version is 5.5 mongoDB version is v4.2.3
Related
Please help me.
i have try out alot of way to get install, upgrade my python3.7 to python3.9 yet it keep shows up error.
sudo apt-get install python3
(Python3 is already the newest version [3.7.3-1])
sudo apt-get upgrade python3
(Python3 is already the newest version [3.7.3-1])
sudo add-apt-repository ppa:deadsnakes/ppa
(file "/user/bin/add-apt-repository", line 95, in )
(sp = SoftwareProperties(options=options)
(....)
(Error: could not find a distribution template for Raspbian/buster)
sudo apt-get install build-essential python-dev libsqlite3-dev libreadline6-dev libgdbm-dev zlib1g-dev libbz2-dev sqlite3 zip
(after install 2 newly package)
sudo apt-get install python3 python3-dev
(still back to python3.7)
anyone know how to make it to python3.9?
you have to type this in terminal:
sudo apt install python3.9
but you never can upgrade your Linux python to a newer version. It is internal.
but you can install python3.9 and use virtualenv to use your code in python3.9
To install devtoolset-7.x86_64 on CentOS6 is pretty easy:
yum install -y centos-release-scl
yum install -y devtoolset-7-toolchain
However, i686 is not available for download: http://mirror.centos.org/centos/6/sclo/
So I found http://repo.cloudlinux.com/cloudlinux/6.10/sclo/devtoolset-7/i386/ but I don't how to add to my repo list e.g. yum-config-manager --add-repo
Is it possible install devtoolset-7 for i686? Is there another option?
I am trying to install all requirements of a project so i run the command
pip install -r requirements.txt
but it gives the error
Downloading/unpacking psycopg2==2.6 (from -r requirements.txt (line 58))
Downloading psycopg2-2.6.tar.gz (367kB): 367kB downloaded
Running setup.py (path:/tmp/pip_build_root/psycopg2/setup.py) egg_info for package psycopg2
Error: b'You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.\n'
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2.egg-info
writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
writing pip-egg-info/psycopg2.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
Error: b'You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.\n'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/psycopg2
Storing debug log for failure in /home/admin/.pip/pip.log
now i knew that i have to install postgresql-server so i used following command
sudo apt-get install postgresql
all good till now and then i ran
sudo apt-get install python-psycopg2
and then i ran my command to install requirements again but got the same error and then i searched on google and tried
sudo apt-get install libpq-dev
but i got following error
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpq-dev : Depends: krb5-multidev but it is not going to be installed
Depends: comerr-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
now i am unable to detect and correct broken package...please help me...
I ran the following commands to repair broken package and then i successfully installed Psycopg2 and Postgresql ...
sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install libpq-dev
sudo apt-get install krb5-multidev
sudo apt-get install libssl1.0.0=1.0.1f-1ubuntu2 ibcomerr2=1.42.9-3ubuntu1
sudo apt-get install libssl1.0.0=1.0.1f-1ubuntu2
sudo apt-get install ibcomerr2=1.42.9-3ubuntu1
sudo apt-get update
sudo apt-get install libpq-dev
apt-get install libssl-dev krb5-multidev comerr-dev
sudo apt-get install libssl-dev krb5-multidev comerr-dev
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get install libssl-dev krb5-multidev comerr-dev
sudo apt-get install libcomerr2
sudo apt-get install comerr-dev
sudo apt-get install libcomerr2
sudo apt-get install comerr-dev
sudo apt-get install comerr-dev
sudo apt-get install 1.42.9-3ubuntu1.3
sudo apt-get install ibcomerr2=1.42.9-3ubuntu1
sudo apt-get install git
git clone https://github.com/kos0/addRemoveDistribution.git
cd addRemoveDistribution
sudo ./enableDisableDistribution.pl enable security
sudo ./enableDisableDistribution.pl enable updates
sudo apt-get update
sudo apt-get install libpq-dev
sudo apt-get update
pip install -r requirements.txt
Just follow only Steps
sudo apt-get install git
git clone https://github.com/kos0/addRemoveDistribution.git
cd addRemoveDistribution
sudo ./enableDisableDistribution.pl enable security
sudo ./enableDisableDistribution.pl enable updates
sudo apt-get update
sudo apt-get install libpq-dev
sudo apt-get update
I Fixed issue by those above steps
I am using CDH 5.4. I see the version of HUE is 3.7.
I want to use Spark notebook feature in HUE 3.8 but I do not know how to upgrade HUE to 3.8
I find the instruction how to update HUE at HUE wiki page. It is removed now so I place my update bash script here
#!/bin/bash
CDH_LIB=/opt/cloudera/parcels/CDH/lib
# Download tarball
wget https://dl.dropboxusercontent.com/u/730827/hue/releases/3.8.1/hue-3.8.1.tgz
# Backup old version
sudo mv $CDH_LIB/hue $CDH_LIB/hue-3.7
# Install libs
sudo apt-get -y install python2.7-dev
sudo apt-get -y install libxslt1-dev
sudo apt-get -y install libmysqlclient-dev
sudo apt-get -y install libsqlite3-dev
sudo apt-get -y install make
sudo apt-get -y install libkrb5-dev
sudo apt-get -y install libxml2-dev
sudo apt-get -y install libssl-dev
sudo apt-get -y install libldap2-dev
sudo apt-get -y install python-pip
sudo apt-get -y install libsasl2-dev
sudo apt-get -y install python-ldap
tar -zxvf hue-3.8.1.tgz
cd hue-3.8.1/
#sudo rm -rf /opt/cloudera/parcels/CDH/lib/hue
# Build
sudo PREFIX=$CDH_LIB make install
# Copy configs
sudo rsync -aL $CDH_LIB/hue-3.7/desktop/conf/ $CDH_LIB/hue/desktop/conf/
# Copy db
sudo cp $CDH_LIB/hue-3.7/desktop/desktop.db $CDH_LIB/hue/desktop/desktop.db
# Sync db
sudo $CDH_LIB/hue/build/env/bin/hue syncdb
sudo $CDH_LIB/hue migate
I'm trying to access the /proc/< pid >/exe symlink on centos 6.6 but i'm geting
ls: cannot access /proc/57/exe: Permission denied
My Dockerfile is
FROM centos:6
# install base packages
RUN yum -y update
RUN yum -y groupinstall "Development Tools"
RUN yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite- devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
RUN yum -y install wget
RUN wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
RUN yum -y install tar
RUN tar -xf Python-2.7.6.tar.xz
RUN cd Python-2.7.6 && ./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
RUN cd Python-2.7.6 && make
RUN cd Python-2.7.6 && make altinstall
# First get the setup script for Setuptools:
RUN wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# Then install it for Python 2.7 and/or Python 3.3:
RUN python2.7 ez_setup.py
# Now install pip using the newly installed setuptools:
RUN easy_install-2.7 pip
#lxml
RUN yum -y install python-devel libxml2-devel libxslt-devel
RUN pip install lxml
RUN pip install pytest
RUN yum install -y gcc-c++
RUN pip install protobuf
RUN yum install -y rpm-build
This happens for any process.
Thanks in advance.