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

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)

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.

Unsuccessful installation of php56w-common on CentOS 6.9

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.

yum install failed i686 x86_64

my version is 6.10 oracle linux
it is trying to istall both x86_64 and i686 packages
i am trying to install glibc package manually as it fails during my puppet run with exact same error as below:
yum install glibc-2.12-1.192.el6.i686
Loaded plugins: pulp-profile-update, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.12-1.192.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.192.el6 for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.192.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.192.el6 will be installed
--> Processing Dependency: glibc-common = 2.12-1.192.el6 for package: glibc-2.12-1.192.el6.i686
---> Package nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.192.el6.i686 (nap_latest)
Requires: glibc-common = 2.12-1.192.el6
Installed: glibc-common-2.12-1.212.0.1.el6.x86_64 (#OL6Latest-x86_64/6.9)
glibc-common = 2.12-1.212.0.1.el6
Available: glibc-common-2.12-1.80.el6.x86_64 (nap_ol_base)
glibc-common = 2.12-1.80.el6
Available: glibc-common-2.12-1.107.el6_4.5.x86_64 (nap_latest)
glibc-common = 2.12-1.107.el6_4.5
Available: glibc-common-2.12-1.132.el6.x86_64 (nap_latest)
glibc-common = 2.12-1.132.el6
Available: glibc-common-2.12-1.132.el6_5.2.x86_64 (nap_latest)
glibc-common = 2.12-1.132.el6_5.2
Available: glibc-common-2.12-1.132.el6_5.4.x86_64 (nap_latest)
glibc-common = 2.12-1.132.el6_5.4
Available: glibc-common-2.12-1.149.el6.x86_64 (nap_latest)
glibc-common = 2.12-1.149.el6
Available: glibc-common-2.12-1.149.el6_6.5.x86_64 (nap_latest)
glibc-common = 2.12-1.149.el6_6.5
Available: glibc-common-2.12-1.149.el6_6.9.x86_64 (nap_latest)
glibc-common = 2.12-1.149.el6_6.9
Available: glibc-common-2.12-1.166.el6_7.3.x86_64 (nap_latest)
glibc-common = 2.12-1.166.el6_7.3
Available: glibc-common-2.12-1.166.el6_7.7.x86_64 (nap_latest)
glibc-common = 2.12-1.166.el6_7.7
Available: glibc-common-2.12-1.192.el6.x86_64 (nap_latest)
glibc-common = 2.12-1.192.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
any ideas? has anyone seen this previously?
You cannot install glibc-2.12-1.192.el6.i686 and glibc-2.12-1.212.0.1.el6.x86_64 in parallel. You will have to downgrade to glibc-2.12-1.192.el6.x86_64. With a proper repository configuration, this should work:
yum downgrade glibc-2.12-1.192.el6.x86_64
However, it is probably easier if you run yum upgrade and then simply install glibc.i686, without an explicit version.
(2.12-1.212.0.1.el6 is a strange version, by the way. Not sure what Oracle is doing there.)
ok here is what i did to get this to work:
yum -y downgrade glibc glibc-common
yum install -y glibc.i686 glibc-devel.i686 glibc-devel.x86_64 glibc-headers.x86_64
you should have something like this:
glibc.i686
glibc.x86_64
glibc-common.x86_64
glibc-devel.i686
glibc-devel.x86_64
glibc-headers.x86_64
if you still have problems check your repos

Centos 6.9 vesta upgrading php7

I'm totally new to linux and trying to upgrade php5.6 to php7. I followed the steps in a tutorial and in step 5 it told me to remove php so i did. In step 6 i had to use that command and all should be fine:
yum --enablerepo=remi-php70 install php70-php php70-php-pear php70-php-bcmath php70-php-pecl-jsond-devel php70-php-mysqlnd php70-php-gd php70-php-common php70-php-fpm php70-php-intl php70-php-cli php70-php php70-php-xml php70-php-opcache php70-php-pecl-apcu php70-php-pecl-jsond php70-php-pdo php70-php-gmp php70-php-process php70-php-pecl-imagick php70-php-devel php70-php-mbstring
But console said i needed these dependencies to install php7. Also there is an error says "libdb4 conflicts with filesystem".
Output:
Error: Package: rpm-4.8.0-55.el6.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: iproute-2.6.32-54.el6.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: apr-util-1.3.9-3.el6_0.1.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: libdb4-utils-4.8.30-13.el7.x86_64 (epel)
Requires: libc.so.6(GLIBC_2.14)(64bit)
Error: Package: libdb4-4.8.30-13.el7.x86_64 (epel)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: httpd-tools-2.2.15-115.el6.1.x86_64 (vesta)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: pam-1.1.1-24.el6.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: libdb4 conflicts with filesystem-2.4.30-3.el6.x86_64
Error: Package: httpd-2.2.15-115.el6.1.x86_64 (vesta)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
Error: Package: rpm-libs-4.8.0-55.el6.x86_64 (base)
Requires: libdb-4.7.so()(64bit)
Available: db4-4.7.25-22.el6.x86_64 (base)
libdb-4.7.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
(I made a lot of search in google tried to download one by one but when I try to install a rpm i downloaded, it requires another dependencies. And it looks like it is going to ask for dependencies forever. I tried to find a command that will find all dependencies and install, it didnt work. I got the same output)
Is there a way to Install php7 or a way to get php5.6 back?
Error: Package: libdb4-utils-4.8.30-13.el7.x86_64 (epel) Requires: libc.so.6(GLIBC_2.14)(64bit)
Looks like you are trying to mix repository from CentOS 6 and CentOS 7 (the el7 suffix), probably EPEL.
See yum repolist to see which repository need to be fixed.
So remove what is needed, at least
yum remove epel-release
yum clean all
To install any PHP version on CentOS from my repository, see the Wizard instructions

Installing mongodb error : require openssl

Hello I'm newer using mongodb, and I'm following step Installing mongodb from web Installing mongodb enterprise on red hat
I'm use command:
sudo yum install -y mongodb-enterprise
and The terminal print:
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.Repository 'repository_url': Error parsing config: Error parsing "baseurl = 'repository_url'": URL must be http, ftp, file or https not ""Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package mongodb-enterprise.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: mongodb-enterprise-tools = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-shell = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-server = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Processing Dependency: mongodb-enterprise-mongos = 3.4.11 for package: mongodb-enterprise-3.4.11-1.el6.x86_64--> Running transaction check---> Package mongodb-enterprise-mongos.x86_64 0:3.4.11-1.el6 will be installed---> Package mongodb-enterprise-server.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-server-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-shell.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64---> Package mongodb-enterprise-tools.x86_64 0:3.4.11-1.el6 will be installed--> Processing Dependency: openssl >= 1.0.1 for package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64--> Finished Dependency ResolutionError: Package: mongodb-enterprise-server-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-tools-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6Error: Package: mongodb-enterprise-shell-3.4.11-1.el6.x86_64 (mongodb-enterprise) Requires: openssl >= 1.0.1 Installed: openssl-1.0.0-27.el6.x86_64 (#anaconda-RedHatEnterpriseLinux-201301301459.x86_64/6.4) openssl = 1.0.0-27.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
But I'm already installed openssl:
Command
openssl version
print:
OpenSSL 1.0.2n 7 Dec 2017
As you see I'm already installed openssl. So What is wrong with my step.