Unsuccessful installation of php56w-common on CentOS 6.9 - centos

Whenever try to install, the server throws this error;
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-xml
Removing: php56w-xml-5.6.31-1.w6.x86_64 (#webtatic)
php56w-xml = 5.6.31-1.w6
Obsoleted By: php-xml-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-xml-5.6.40-1.w6.x86_64 (webtatic)
php56w-xml = 5.6.40-1.w6
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-pcre
Removing: php56w-common-5.6.31-1.w6.x86_64 (#webtatic)
php56w-pcre
Obsoleted By: php-common-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-common-5.6.40-1.w6.x86_64 (webtatic)
php56w-pcre
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-zlib
Removing: php56w-common-5.6.31-1.w6.x86_64 (#webtatic)
php56w-zlib
Obsoleted By: php-common-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-common-5.6.40-1.w6.x86_64 (webtatic)
php56w-zlib
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-ftp
Removing: php56w-common-5.6.31-1.w6.x86_64 (#webtatic)
php56w-ftp
Obsoleted By: php-common-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-common-5.6.40-1.w6.x86_64 (webtatic)
php56w-ftp
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-tokenizer
Removing: php56w-common-5.6.31-1.w6.x86_64 (#webtatic)
php56w-tokenizer
Obsoleted By: php-common-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-common-5.6.40-1.w6.x86_64 (webtatic)
php56w-tokenizer
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-cli
Removing: php56w-cli-5.6.31-1.w6.x86_64 (#webtatic)
php56w-cli = 5.6.31-1.w6
Obsoleted By: php-cli-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-cli-5.6.40-1.w6.x86_64 (webtatic)
php56w-cli = 5.6.40-1.w6
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-bz2
Removing: php56w-common-5.6.31-1.w6.x86_64 (#webtatic)
php56w-bz2
Obsoleted By: php-common-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-common-5.6.40-1.w6.x86_64 (webtatic)
php56w-bz2
Error: Package: 1:php56w-pear-1.10.4-1.w6.noarch (#webtatic)
Requires: php56w-posix
Removing: php56w-process-5.6.31-1.w6.x86_64 (#webtatic)
php56w-posix
Obsoleted By: php-process-7.0.33-20.el6.remi.x86_64 (remi-php70)
Not found
Updated By: php56w-process-5.6.40-1.w6.x86_64 (webtatic)
php56w-posix
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
webmin-1.941-1.noarch has missing requires of unzip
.. install failed!
And while trying to update "php56w-common" the whole bunch of below mentioned libs as well listed in the control panel.
Building complete list of packages ...
php56w-common 5.6.31-1.w6 5.6.40-1.w6 Common files for PHP
php56w-cli 5.6.31-1.w6 5.6.40-1.w6 Command-line interface for PHP
php56w-process 5.6.31-1.w6 5.6.40-1.w6 Modules for PHP script using system process interfaces
php56w-xml 5.6.31-1.w6 5.6.40-1.w6 A module for PHP applications which use XML
php56w-cli 5.6.31-1.w6 5.6.40-1.w6 Command-line interface for PHP
php56w-common 5.6.31-1.w6 5.6.40-1.w6 Common files for PHP
php56w-process 5.6.31-1.w6 5.6.40-1.w6 Modules for PHP script using system process interfaces
php56w-xml 5.6.31-1.w6 5.6.40-1.w6 A module for PHP applications which use XML
I would appreciate any input. Thanks

You should not mix various providers for PHP stack (remi + webtatic)
Notice: PHP 5.6 have reached its EOL in January 2019, so I heartily recommend to use a supported version.
I also recommend to not use webtatic repository which seems dead (no change since October 2019)
yum-config-manager --disable webtatic
If you really need PHP 5.6, you can install it from remi's repository, see the Wizard for proper instruction.

Related

Install VSCode in CentOS 7 running on Raspberry PI 3 Model B

I'm having an issue in installation of VSCode in CentOS 7 running on Raspberry PI 3 Model B.
CPU architecture is armv7l and I tried to use following command to install VSCode.
[admin#localhost Downloads]$ sudo yum install code
when run the command, I got following error.
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.aktkn.sg
* centos-kernel: mirror.aktkn.sg
* extras: mirror.aktkn.sg
* updates: mirror.aktkn.sg
Resolving Dependencies
--> Running transaction check
---> Package code.armv7hl 0:1.73.1-1667960121.el7 will be installed
--> Processing Dependency: libnss3.so(NSS_3.22)(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libssl3.so(NSS_3.28)(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libcurl.so.4()(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Processing Dependency: libgtk-3.so.0()(64bit) for package: code-1.73.1-1667960121.el7.armv7hl
--> Finished Dependency Resolution
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libnss3.so(NSS_3.22)(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(CXXABI_1.3.9)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libgtk-3.so.0()(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(CXXABI_1.3.8)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libcurl.so.4()(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.22)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libssl3.so(NSS_3.28)(64bit)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.20)
Error: Package: code-1.73.1-1667960121.el7.armv7hl (code)
Requires: libstdc++.so.6(GLIBCXX_3.4.21)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[admin#localhost Downloads]$
How can I resolve the issue?
I tried to download and install VSCode rpm for armv7, but same issue is shown.
In the error line, there is libnss3.so(NSS_3.22)(64bit) dependancy file, but the device cpu is armv7l and doesn't support 64bit.

Yum error: Package requires libhogweed.so, Removing nettle-2.7.1

Currently I am attempting to install some packages with yum (through ansible, but I don't think ansible is the cause for this error as I get a similar error when trying to install by hand)
Currently on a Red Hat Linux 7 installation, I am transitioning from a Red Hat 6 build.
This is some text to bypass the details requirement of stackoverflow, there really aren't any more details that I can provide. I'm just trying to put the error in a code block so that the formatting doesn't make it unreadable.
Error:
Package:
gnutls-3.3.29-9.el7_6.x86_64 (#anaconda/7.8)
Requires:
libhogweed.so.2()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libhogweed.so.2()(64bit)
~libhogweed.so.4()(64bit)
Error:
Package:
gnutls-3.3.29-9.el7_6.x86_64 (#anaconda/7.8)
Requires:
libnettle.so.4()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libnettle.so.4()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libnettle.so.6()(64bit)
Error:
Package:
gnutls-dane-3.3.29-9.el7_6.x86_64 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libnettle.so.4()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libnettle.so.4()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libnettle.so.6()(64bit)
Error:
Package:
tigervnc-server-minimal-1.8.0-19.el7.x86_64 (#anaconda/7.8)
Requires:
libnettle.so.4()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libnettle.so.4()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libnettle.so.6()(64bit)\nError: Package: libcanberra-0.30-9.el7.i686 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libasound.so.2
Error:
Package:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
Requires:
libgmp.so.3()(64bit)
Error:
Package:
libcanberra-0.30-9.el7.i686 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libasound.so.2(ALSA_0.9.0rc4)
Error:
Package:
gnutls-utils-3.3.29-9.el7_6.x86_64 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libnettle.so.4()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libnettle.so.4()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libnettle.so.6()(64bit)
Error:
Package:
gnutls-utils-3.3.29-9.el7_6.x86_64 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libhogweed.so.2()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libhogweed.so.2()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libhogweed.so.4()(64bit)
Error:
Package:
gstreamer1-plugins-bad-free-1.10.4-3.el7.x86_64 (#anaconda/7.8)
Requires:
libnettle.so.4()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libnettle.so.4()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libnettle.so.6()(64bit)
Error:
Package:
gnutls-dane-3.3.29-9.el7_6.x86_64 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libhogweed.so.2()(64bit)
Removing:
nettle-2.7.1-8.el7.x86_64 (#anaconda/7.8)
libhogweed.so.2()(64bit)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)
~libhogweed.so.4()(64bit)
Error:
Package:
libcanberra-0.30-9.el7.i686 (Default_Organization_CentOS_7_CentOS_7_x86_64)
Requires:
libasound.so.2(ALSA_0.9)
Updated By:
nettle-3.2-2.el6.x86_64 (Default_Organization_EPEL_EPEL_6_x86_64)

Cant install Chrome in RHEL 7

I am trying to install Chrome using :
sudo yum localinstall -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
but every time I am getting this error:
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64.rpm: google-chrome-stable-67.0.3396.62-1.x86_64
Marking /var/tmp/yum-root-FKPkpJ/google-chrome-stable_current_x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:67.0.3396.62-1 will be installed
--> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Processing Dependency: libappindicator3.so.1()(64bit) for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Processing Dependency: /usr/bin/lsb_release for package: google-chrome-stable-67.0.3396.62-1.x86_64
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-67.0.3396.62-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: libappindicator3.so.1()(64bit)
Error: Package: google-chrome-stable-67.0.3396.62-1.x86_64 (/google-chrome-stable_current_x86_64)
Requires: /usr/bin/lsb_release
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Please Help.
Taken from https://access.redhat.com/discussions/917293
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
yum -y install redhat-lsb libXScrnSaver
yum -y localinstall google-chrome-stable_current_x86_64.rpm
Problem solved. I just had to use subscription-manager to subscribe and register my system and also update yum with yum check-update.

Installation of postresql on amazon linux server fails

I try to install postgresql-server on amazone linux, but it fails:
[ec2-user#ip-xyz ~]$ sudo yum install postgresql-server
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
961 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package postgresql93-server.x86_64 0:9.3.12-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-units for package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64 (pgdg93)
Requires: systemd-units
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
There seems to be an issue with unfulfilled requirements.
How can I solve this: Error: Package: postgresql93-server-9.3.12-1PGDG.rhel7.x86_64 (pgdg93)
Requires: systemd-units

how to fix the dependency issues on centos while installing "Development Tools"

i ran this command
yum groupinstall "Development Tools"
that gave these dependency issues do i need to add repo's to yum list?
Error: Package: git-1.7.10.2-1.w5.x86_64 (webtatic)
Requires: libcurl.so.3()(64bit)
Error: Package: subversion-1.6.13-0.1.el5.rf.x86_64 (webtatic)
Requires: libneon.so.25()(64bit)
Error: Package: subversion-1.6.13-0.1.el5.rf.x86_64 (webtatic)
Requires: python(abi) = 2.4
Installed: python-2.6.6-37.el6_4.x86_64 (#updates)
python(abi) = 2.6
Available: python-2.6.6-51.el6.x86_64 (base)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
Error: Package: perl-Git-1.7.10.2-1.w5.x86_64 (webtatic)
Requires: perl(:MODULE_COMPAT_5.8.8)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Webtatic doesn't support Git for RHEL/CentOS 6, however the way you're using the old Webtatic 5 repository suggests you've changed the /etc/yum.repos.d/webtatic.repo to always be enabled.
If you turn that off, you can install RHEL/CentOS 6's base git version, which is 1.7.1.
vi /etc/yum.repos.d/webtatic.repo
...
enable=0
Alternatively you can disable it temporarily for the current yum command:
yum groupinstall "Development Tools" --disablerepo=webtatic
you can try below command which worked for me.
yum clean all
rm -rf /var/cache/yum
yum update