I installed new php version 5.6.15 with remi repo. And now I need to install php-mssql but it conflict with the old files.. Here is the screen of my terminal.
-How cann I remove php5.6.15.remo and all other conflicts file or can I make it other way ?
root#user-gwfilter:~/Desktop # yum install php-mssql
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: repo.boun.edu.tr
* extras: repo.boun.edu.tr
* remi-safe: remi.xpg.com.br
* updates: mirror.alastyr.com
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php56w-mssql.x86_64 0:5.6.14-2.w6 will be installed
--> Processing Dependency: php56w-pdo(x86-64) = 5.6.14-2.w6 for package: php56w-mssql-5.6.14-2.w6.x86_64
--> Running transaction check
---> Package php56w-pdo.x86_64 0:5.6.14-2.w6 will be installed
--> Processing Dependency: php56w-common(x86-64) = 5.6.14-2.w6 for package: php56w-pdo-5.6.14-2.w6.x86_64
--> Running transaction check
---> Package php56w-common.x86_64 0:5.6.14-2.w6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================================================================
Installing:
php56w-mssql x86_64 5.6.14-2.w6 webtatic 39 k
Installing for dependencies:
php56w-common x86_64 5.6.14-2.w6 webtatic 1.2 M
php56w-pdo x86_64 5.6.14-2.w6 webtatic 93 k
Transaction Summary
=============================================================================================================================================================================================================================================
Install 3 Package(s)
Total size: 1.4 M
Installed size: 8.8 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/lib64/php-zts/modules/json.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-jsonc-1.3.8-1.el6.remi.5.6.x86_64
file /usr/lib64/php/modules/json.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-jsonc-1.3.8-1.el6.remi.5.6.x86_64
file /usr/lib64/php-zts/modules/zip.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64
file /usr/lib64/php/modules/zip.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64
file /etc/php.ini from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/bz2.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/bz2.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/calendar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/calendar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/ctype.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/ctype.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/curl.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/curl.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/exif.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/exif.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/fileinfo.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/fileinfo.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/ftp.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/ftp.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/gettext.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/gettext.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/iconv.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/iconv.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/phar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/phar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php-zts/modules/sockets.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
file /usr/lib64/php/modules/sockets.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.15-1.el6.remi.x86_64
You have both webtatic + remi repositories installed: bad idea, and reason of these conflicts.
Notice: EPEL doesn't seems to be installed, you need it.
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh epel-release-latest-6.noarch.rpm
Then, choose a single provider for your PHP stack.
yum-config-manager --enable remi-php56
yum-config-manager --disable webtatic
yum install php-mssql
This will permanently enabled the "remi-php56" repository which only provides PHP 5.6 and its extensions (will pull dependencies from remi-safe, epel, base and updates repositories).
Related
I'm on Mac and often getting a Install of vendor/package failed message. This can be just drupal/core or several drupal modules. lando composer install output includes some of these lines:
- Installing vardot/varbase (9.0.8): Extracting archive
22/452 [=>--------------------------] 4% Skipped installation of bin Resources/bin/var-dump-server for package symfony/var-dumper: name conflicts with an existing file
29/452 [=>--------------------------] 6% Skipped installation of bin scripts/release for package consolidation/self-update: name conflicts with an existing file
34/452 [==>-------------------------] 7% Skipped installation of bin bin/generate-defuse-key for package defuse/php-encryption: name conflicts with an existing file
67/452 [====>-----------------------] 14% Skipped installation of bin bin/generate-deps-for-config-factory for package laminas/laminas-servicemanager: name conflicts with an existing file
Skipped installation of bin bin/generate-factory-for-class for package laminas/laminas-servicemanager: name conflicts with an existing file
155/452 [=========>------------------] 34% Skipped installation of bin bin/simple-phpunit for package symfony/phpunit-bridge: name conflicts with an existing file
195/452 [============>---------------] 43% Skipped installation of bin bin/validate-json for package justinrainbow/json-schema: name conflicts with an existing file
205/452 [============>---------------] 45% Skipped installation of bin bin/jsonlint for package seld/jsonlint: name conflicts with an existing file
212/452 [=============>--------------] 46% Skipped installation of bin security-checker for package enlightn/security-checker: name conflicts with an existing file
225/452 [=============>--------------] 49% Skipped installation of bin bin/psysh for package psy/psysh: name conflicts with an existing file
229/452 [==============>-------------] 50% Skipped installation of bin robo for package consolidation/robo: name conflicts with an existing file
237/452 [==============>-------------] 52% Install of drupal/core failed
Install of drupal/commerce failed
Install of chi-teck/drupal-code-generator failed
Install of drush/drush failed
Install of drupal/devel failed
Install of ezyang/htmlpurifier failed
Install of drupal/entity_browser failed
Install of elasticsearch/elasticsearch failed
Install of ruflin/elastica failed
Install of nodespark/des-connector failed
[RuntimeException]
Could not delete /app/vendor/composer/aa54b6df/drupal-core-23b4d51/misc/icons:
Some suggestions I recieved on Lando Slack include checking for Docker free space
and checking for permissions (all files are 644 and all directories are 755), which didn't work. Also lando composer install -v gives me this:
Executing command (CWD): rm -rf '/app/vendor/composer/2ffefe25'
Install of drupal/core failed
Executing command (CWD): rm -rf '/app/vendor/composer/2ffefe25'
lando composer install and lando composer install -v outputs are from different times. So, my question is, how do I deal with this?
"process-timeout": 0 seems to have helped.
pip install apache-airflow
pip3.9 install apache-airflow
The Err by Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Using legacy 'setup.py install' for flask-login, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-nvd3, since package 'wheel' is not installed.
Using legacy 'setup.py install' for python-slugify, since package 'wheel' is not installed.
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Using legacy 'setup.py install' for unicodecsv, since package 'wheel' is not installed.
Using legacy 'setup.py install' for blinker, since package 'wheel' is not installed.
Using legacy 'setup.py install' for Flask-JWT-Extended, since package 'wheel' is not installed.
Building wheels for collected packages: setproctitle
Building wheel for setproctitle (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for setproctitle (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
running bdist_wheel
running build
running build_ext
building 'setproctitle' extension
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for setproctitle
Failed to build setproctitle
ERROR: Could not build wheels for setproctitle, which is required to install pyproject.toml-based projects
actually already tried to downgrade the pip version from pip 22.0.3 to 20.2.4
pip install --upgrade pip==20.2.4
like solution in the thread "Could not build wheels for setproctitle..."
still the same error
I have installed python-psutil with pip and can use it in python.
but still install failed.
Salt requires some python modules to be installed before installing Salt. So just try after installing the given python dependency module into your machine.
Command : pip install psutil
Reference - https://pypi.org/project/psutil/
I'm trying to install the package "png" on RStudio but I get the following error, I run on Ubuntu 16.04:
Error: package or namespace load failed for ‘png’ in dyn.load(file,
DLLpath = DLLpath, ...):
unable to load shared object '/home/doma/R/x86_64-pc-linux-gnu
library/3.4/png/libs/png.so':
libpng16.so.16: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
I have installed Anaconda so I was wondering if it could be the problem, since the file libpng16.so.16 is actually installed in anaconda's libraries.
Thank you!
You must install this ubuntu package before installing png in R.
Try the following:
Installing directly using apt-get.
sudo apt-get install libpng16-16
If this doesn't work, please install manually.
wget https://cfhcable.dl.sourceforge.net/project/libpng/libpng16/1.6.34/libpng-1.6.34.tar.xz
tar xf libpng-1.6.34.tar.xz
cd libpng-1.6.34/
./configure
sudo make check
sudo make install
Finally, install R package in R terminal.
> install.packages('png')
On CentOS7, system-wide libpng is 15, while anaconda has 16. During install.packages('png'), gcc with flag "-L//anaconda/lib" is called. I temporarily removed anaconda path from PATH variable, then the gcc command of install.packages('png') is without the flag, and install.packages('png') installed successfully.
I run "yum install php-odbc" command in centos6.x64
and reponse messages in terminal:
yum install php-odbc
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: repo.boun.edu.tr
* epel: mirror.fraunhofer.de
* extras: mirror.alastyr.com
* updates: repo.boun.edu.tr
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-odbc.x86_64 0:5.3.3-46.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-odbc-5.3.3-46.el6_6.x86_64
--> Finished Dependency Resolution
Error: Package: php-odbc-5.3.3-46.el6_6.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-46.el6_6
Installed: php-common-5.6.13-1.el6.remi.x86_64 (installed)
php-common(x86-64) = 5.6.13-1.el6.remi
Available: php-common-5.3.3-40.el6_6.x86_64 (base)
php-common(x86-64) = 5.3.3-40.el6_6
Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
php-common(x86-64) = 5.3.3-46.el6_6
Available: php54w-common-5.4.45-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.45-2.w6
Available: php55w-common-5.5.30-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.30-2.w6
Available: php56w-common-5.6.14-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.6.14-2.w6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Its so obvious I need to install these packages, but how can I.. and I actually ask for generic solution for this kind of issue. How can I install all dependencies packages with current install.
EDITED: "php -v" response:
This line:
Installed: php-common-5.6.13-1.el6.remi.x86_64 (installed)
Tells me that you're probably running PHP 5.6 installed from the remi repository.
Have a look in /etc/yum.repos.d/ and see if you've got any .repo files with names beginning with remi. In particular, remi.repo.
If you have, try and install using:
yum --enablerepo=remi --enablerepo=remi-php56 install php-odbc