yum does not work

Issues related to applications and software problems and general support
ybzhao
Posts: 9
Joined: 2019/11/01 15:20:57

yum does not work

Post by ybzhao » 2019/11/01 15:28:42

After applying update, yum does not work anymore. Is there any way to rescure? Thanks.


[root@vps tools]# yum update
CentOS-8 - AppStream 1.0 MB/s | 4.3 kB 00:00
CentOS-8 - Base 1.0 MB/s | 3.9 kB 00:00
CentOS-8 - Extras 443 kB/s | 1.5 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 10 kB/s | 18 kB 00:01
Dependencies resolved.
==============================================================================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================================================================================================================================================================================
Installing:
kernel x86_64 4.18.0-80.11.2.el8_0 BaseOS 424 k
kernel-core x86_64 4.18.0-80.11.2.el8_0 BaseOS 24 M
kernel-modules x86_64 4.18.0-80.11.2.el8_0 BaseOS 20 M
Upgrading:
qemu-guest-agent x86_64 15:2.12.0-65.module_el8.0.0+189+f9babebb.5 AppStream 188 k
bash x86_64 4.4.19-8.el8_0 BaseOS 1.5 M
grub2-common noarch 1:2.02-66.el8_0.1 BaseOS 880 k
grub2-pc x86_64 1:2.02-66.el8_0.1 BaseOS 35 k
grub2-pc-modules noarch 1:2.02-66.el8_0.1 BaseOS 899 k
grub2-tools x86_64 1:2.02-66.el8_0.1 BaseOS 1.9 M
grub2-tools-extra x86_64 1:2.02-66.el8_0.1 BaseOS 1.0 M
grub2-tools-minimal x86_64 1:2.02-66.el8_0.1 BaseOS 196 k
initscripts x86_64 10.00.1-1.el8_0.1 BaseOS 337 k
kernel-tools x86_64 4.18.0-80.11.2.el8_0 BaseOS 574 k
kernel-tools-libs x86_64 4.18.0-80.11.2.el8_0 BaseOS 433 k
kpartx x86_64 0.7.8-7.el8_0.2 BaseOS 100 k
libnfsidmap x86_64 1:2.3.3-14.el8_0.2 BaseOS 121 k
platform-python x86_64 3.6.8-4.el8_0 BaseOS 79 k
python3-libs x86_64 3.6.8-4.el8_0 BaseOS 7.9 M
python3-perf x86_64 4.18.0-80.11.2.el8_0 BaseOS 531 k
python3-rpm x86_64 4.14.2-11.el8_0 BaseOS 147 k
rpm x86_64 4.14.2-11.el8_0 BaseOS 537 k
rpm-build-libs x86_64 4.14.2-11.el8_0 BaseOS 150 k
rpm-libs x86_64 4.14.2-11.el8_0 BaseOS 333 k
rpm-plugin-selinux x86_64 4.14.2-11.el8_0 BaseOS 71 k
rpm-plugin-systemd-inhibit x86_64 4.14.2-11.el8_0 BaseOS 72 k
selinux-policy noarch 3.14.1-61.el8_0.2 BaseOS 591 k
selinux-policy-targeted noarch 3.14.1-61.el8_0.2 BaseOS 15 M
epel-release noarch 8-7.el8 epel 21 k
Installing dependencies:
grub2-tools-efi x86_64 1:2.02-66.el8_0.1 BaseOS 444 k

Transaction Summary
============================================================================================
Install 4 Packages
Upgrade 25 Packages

Total download size: 78 M
Is this ok [y/N]: y
Downloading Packages:
(1/29): kernel-4.18.0-80.11.2.el8_0.x86_64.rpm 32 MB/s | 424 kB 00:00
(2/29): grub2-tools-efi-2.02-66.el8_0.1.x86_64.rpm 22 MB/s | 444 kB 00:00
(3/29): qemu-guest-agent-2.12.0-65.module_el8.0.0+189+f9babebb.5.x86_64.rpm 19 MB/s | 188 kB 00:00
(4/29): bash-4.4.19-8.el8_0.x86_64.rpm 40 MB/s | 1.5 MB 00:00
(5/29): grub2-common-2.02-66.el8_0.1.noarch.rpm 31 MB/s | 880 kB 00:00
(6/29): grub2-pc-2.02-66.el8_0.1.x86_64.rpm 5.2 MB/s | 35 kB 00:00
(7/29): grub2-pc-modules-2.02-66.el8_0.1.noarch.rpm 19 MB/s | 899 kB 00:00
(8/29): grub2-tools-2.02-66.el8_0.1.x86_64.rpm 36 MB/s | 1.9 MB 00:00
(9/29): kernel-modules-4.18.0-80.11.2.el8_0.x86_64.rpm 86 MB/s | 20 MB 00:00
(10/29): grub2-tools-minimal-2.02-66.el8_0.1.x86_64.rpm 33 MB/s | 196 kB 00:00
(11/29): grub2-tools-extra-2.02-66.el8_0.1.x86_64.rpm 19 MB/s | 1.0 MB 00:00
(12/29): initscripts-10.00.1-1.el8_0.1.x86_64.rpm 59 MB/s | 337 kB 00:00
(13/29): kernel-tools-4.18.0-80.11.2.el8_0.x86_64.rpm 66 MB/s | 574 kB 00:00
(14/29): kernel-tools-libs-4.18.0-80.11.2.el8_0.x86_64.rpm 54 MB/s | 433 kB 00:00
(15/29): kpartx-0.7.8-7.el8_0.2.x86_64.rpm 25 MB/s | 100 kB 00:00
(16/29): libnfsidmap-2.3.3-14.el8_0.2.x86_64.rpm 41 MB/s | 121 kB 00:00
(17/29): platform-python-3.6.8-4.el8_0.x86_64.rpm 31 MB/s | 79 kB 00:00
(18/29): kernel-core-4.18.0-80.11.2.el8_0.x86_64.rpm 77 MB/s | 24 MB 00:00
(19/29): python3-perf-4.18.0-80.11.2.el8_0.x86_64.rpm 12 MB/s | 531 kB 00:00
(20/29): python3-rpm-4.14.2-11.el8_0.x86_64.rpm 17 MB/s | 147 kB 00:00
(21/29): rpm-build-libs-4.14.2-11.el8_0.x86_64.rpm 13 MB/s | 150 kB 00:00
(22/29): rpm-4.14.2-11.el8_0.x86_64.rpm 32 MB/s | 537 kB 00:00
(23/29): rpm-libs-4.14.2-11.el8_0.x86_64.rpm 53 MB/s | 333 kB 00:00
(24/29): rpm-plugin-selinux-4.14.2-11.el8_0.x86_64.rpm 14 MB/s | 71 kB 00:00
(25/29): rpm-plugin-systemd-inhibit-4.14.2-11.el8_0.x86_64.rpm 12 MB/s | 72 kB 00:00
(26/29): selinux-policy-3.14.1-61.el8_0.2.noarch.rpm 34 MB/s | 591 kB 00:00
(27/29): python3-libs-3.6.8-4.el8_0.x86_64.rpm 75 MB/s | 7.9 MB 00:00
(28/29): selinux-policy-targeted-3.14.1-61.el8_0.2.noarch.rpm 122 MB/s | 15 MB 00:00
(29/29): epel-release-8-7.el8.noarch.rpm 6.8 kB/s | 21 kB 00:03
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 13 MB/s | 78 MB 00:06
warning: /var/cache/dnf/epel-6519ee669354a484/packages/epel-release-8-7.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Extra Packages for Enterprise Linux 8 - x86_64 1.6 MB/s | 1.6 kB 00:00
Importing GPG key 0x2F86D6A1:
Userid : "Fedora EPEL (8) <epel@fedoraproject.org>"
Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: bash-4.4.19-8.el8_0.x86_64 1/1
Upgrading : bash-4.4.19-8.el8_0.x86_64 1/54
Running scriptlet: bash-4.4.19-8.el8_0.x86_64 1/54
Upgrading : grub2-common-1:2.02-66.el8_0.1.noarch 2/54
Upgrading : platform-python-3.6.8-4.el8_0.x86_64 3/54
Running scriptlet: platform-python-3.6.8-4.el8_0.x86_64 3/54
Upgrading : python3-libs-3.6.8-4.el8_0.x86_64 4/54
Upgrading : grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 5/54
Installing : kernel-core-4.18.0-80.11.2.el8_0.x86_64 6/54
Running scriptlet: kernel-core-4.18.0-80.11.2.el8_0.x86_64 6/54
Installing : kernel-modules-4.18.0-80.11.2.el8_0.x86_64 7/54
Running scriptlet: kernel-modules-4.18.0-80.11.2.el8_0.x86_64 7/54
Upgrading : grub2-tools-extra-1:2.02-66.el8_0.1.x86_64 8/54
Upgrading : grub2-pc-modules-1:2.02-66.el8_0.1.noarch 9/54
Upgrading : kernel-tools-libs-4.18.0-80.11.2.el8_0.x86_64 10/54
Running scriptlet: kernel-tools-libs-4.18.0-80.11.2.el8_0.x86_64 10/54
Upgrading : rpm-libs-4.14.2-11.el8_0.x86_64 11/54
Running scriptlet: rpm-libs-4.14.2-11.el8_0.x86_64 11/54
Upgrading : rpm-4.14.2-11.el8_0.x86_64 12/54
Running scriptlet: grub2-tools-1:2.02-66.el8_0.1.x86_64 13/54
Upgrading : grub2-tools-1:2.02-66.el8_0.1.x86_64 13/54
Running scriptlet: grub2-tools-1:2.02-66.el8_0.1.x86_64 13/54
Upgrading : rpm-build-libs-4.14.2-11.el8_0.x86_64 14/54
Running scriptlet: rpm-build-libs-4.14.2-11.el8_0.x86_64 14/54
Upgrading : rpm-plugin-selinux-4.14.2-11.el8_0.x86_64 15/54
Upgrading : selinux-policy-3.14.1-61.el8_0.2.noarch 16/54
Running scriptlet: selinux-policy-3.14.1-61.el8_0.2.noarch 16/54
Running scriptlet: selinux-policy-targeted-3.14.1-61.el8_0.2.noarch 17/54
Upgrading : selinux-policy-targeted-3.14.1-61.el8_0.2.noarch 17/54
Running scriptlet: selinux-policy-targeted-3.14.1-61.el8_0.2.noarch 17/54
Upgrading : python3-rpm-4.14.2-11.el8_0.x86_64 18/54
Upgrading : grub2-pc-1:2.02-66.el8_0.1.x86_64 19/54
Upgrading : rpm-plugin-systemd-inhibit-4.14.2-11.el8_0.x86_64 20/54
Upgrading : kernel-tools-4.18.0-80.11.2.el8_0.x86_64 21/54
Installing : kernel-4.18.0-80.11.2.el8_0.x86_64 22/54
Upgrading : python3-perf-4.18.0-80.11.2.el8_0.x86_64 23/54
Installing : grub2-tools-efi-1:2.02-66.el8_0.1.x86_64 24/54
Upgrading : qemu-guest-agent-15:2.12.0-65.module_el8.0.0+189+f9babebb.5.x86_64 25/54
Upgrading : initscripts-10.00.1-1.el8_0.1.x86_64 26/54
Running scriptlet: initscripts-10.00.1-1.el8_0.1.x86_64 26/54
Upgrading : kpartx-0.7.8-7.el8_0.2.x86_64 27/54
Upgrading : epel-release-8-7.el8.noarch 28/54
Upgrading : libnfsidmap-1:2.3.3-14.el8_0.2.x86_64 29/54
Cleanup : grub2-pc-1:2.02-66.el8.x86_64 30/54
Cleanup : python3-rpm-4.14.2-9.el8.x86_64 31/54
Running scriptlet: grub2-tools-1:2.02-66.el8.x86_64 32/54
Cleanup : grub2-tools-1:2.02-66.el8.x86_64 32/54
Running scriptlet: initscripts-10.00.1-1.el8.x86_64 33/54
Cleanup : initscripts-10.00.1-1.el8.x86_64 33/54
Running scriptlet: initscripts-10.00.1-1.el8.x86_64 33/54
Cleanup : selinux-policy-3.14.1-61.el8_0.1.noarch 34/54
Running scriptlet: selinux-policy-3.14.1-61.el8_0.1.noarch 34/54
Cleanup : rpm-plugin-selinux-4.14.2-9.el8.x86_64 35/54
Cleanup : selinux-policy-targeted-3.14.1-61.el8_0.1.noarch 36/54
Running scriptlet: selinux-policy-targeted-3.14.1-61.el8_0.1.noarch 36/54
Cleanup : rpm-build-libs-4.14.2-9.el8.x86_64 37/54
Running scriptlet: rpm-build-libs-4.14.2-9.el8.x86_64 37/54
Cleanup : grub2-tools-extra-1:2.02-66.el8.x86_64 38/54
Cleanup : rpm-plugin-systemd-inhibit-4.14.2-9.el8.x86_64 39/54
Cleanup : kernel-tools-4.18.0-80.7.1.el8_0.x86_64 40/54
Cleanup : kernel-tools-libs-4.18.0-80.7.1.el8_0.x86_64 41/54
Running scriptlet: kernel-tools-libs-4.18.0-80.7.1.el8_0.x86_64 41/54
Cleanup : grub2-tools-minimal-1:2.02-66.el8.x86_64 42/54
Cleanup : python3-perf-4.18.0-80.7.1.el8_0.x86_64 43/54
Cleanup : grub2-pc-modules-1:2.02-66.el8.noarch 44/54
Cleanup : platform-python-3.6.8-2.el8_0.0.1.x86_64 45/54
Running scriptlet: platform-python-3.6.8-2.el8_0.0.1.x86_64 45/54
Cleanup : grub2-common-1:2.02-66.el8.noarch 46/54
Cleanup : python3-libs-3.6.8-2.el8_0.0.1.x86_64 47/54
Cleanup : rpm-4.14.2-9.el8.x86_64 48/54
Cleanup : rpm-libs-4.14.2-9.el8.x86_64 49/54
Running scriptlet: rpm-libs-4.14.2-9.el8.x86_64 49/54
Cleanup : kpartx-0.7.8-7.el8.x86_64 50/54
Cleanup : qemu-guest-agent-15:2.12.0-64.module_el8.0.0+44+94c1b039.2.x86_64 51/54
Cleanup : epel-release-8-5.el8.noarch 52/54
Cleanup : bash-4.4.19-7.el8.x86_64 53/54
Running scriptlet: bash-4.4.19-7.el8.x86_64 53/54
Cleanup : libnfsidmap-1:2.3.3-14.el8_0.x86_64 54/54
Running scriptlet: kernel-core-4.18.0-80.11.2.el8_0.x86_64 54/54
Running scriptlet: libnfsidmap-1:2.3.3-14.el8_0.x86_64 54/54
Verifying : grub2-tools-efi-1:2.02-66.el8_0.1.x86_64 1/54
Verifying : kernel-4.18.0-80.11.2.el8_0.x86_64 2/54
Verifying : kernel-core-4.18.0-80.11.2.el8_0.x86_64 3/54
Verifying : kernel-modules-4.18.0-80.11.2.el8_0.x86_64 4/54
Verifying : qemu-guest-agent-15:2.12.0-65.module_el8.0.0+189+f9babebb.5.x86_64 5/54
Verifying : qemu-guest-agent-15:2.12.0-64.module_el8.0.0+44+94c1b039.2.x86_64 6/54
Verifying : bash-4.4.19-8.el8_0.x86_64 7/54
Verifying : bash-4.4.19-7.el8.x86_64 8/54
Verifying : grub2-common-1:2.02-66.el8_0.1.noarch 9/54
Verifying : grub2-common-1:2.02-66.el8.noarch 10/54
Verifying : grub2-pc-1:2.02-66.el8_0.1.x86_64 11/54
Verifying : grub2-pc-1:2.02-66.el8.x86_64 12/54
Verifying : grub2-pc-modules-1:2.02-66.el8_0.1.noarch 13/54
Verifying : grub2-pc-modules-1:2.02-66.el8.noarch 14/54
Verifying : grub2-tools-1:2.02-66.el8_0.1.x86_64 15/54
Verifying : grub2-tools-1:2.02-66.el8.x86_64 16/54
Verifying : grub2-tools-extra-1:2.02-66.el8_0.1.x86_64 17/54
Verifying : grub2-tools-extra-1:2.02-66.el8.x86_64 18/54
Verifying : grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 19/54
Verifying : grub2-tools-minimal-1:2.02-66.el8.x86_64 20/54
Verifying : initscripts-10.00.1-1.el8_0.1.x86_64 21/54
Verifying : initscripts-10.00.1-1.el8.x86_64 22/54
Verifying : kernel-tools-4.18.0-80.11.2.el8_0.x86_64 23/54
Verifying : kernel-tools-4.18.0-80.7.1.el8_0.x86_64 24/54
Verifying : kernel-tools-libs-4.18.0-80.11.2.el8_0.x86_64 25/54
Verifying : kernel-tools-libs-4.18.0-80.7.1.el8_0.x86_64 26/54
Verifying : kpartx-0.7.8-7.el8_0.2.x86_64 27/54
Verifying : kpartx-0.7.8-7.el8.x86_64 28/54
Verifying : libnfsidmap-1:2.3.3-14.el8_0.2.x86_64 29/54
Verifying : libnfsidmap-1:2.3.3-14.el8_0.x86_64 30/54
Verifying : platform-python-3.6.8-4.el8_0.x86_64 31/54
Verifying : platform-python-3.6.8-2.el8_0.0.1.x86_64 32/54
Verifying : python3-libs-3.6.8-4.el8_0.x86_64 33/54
Verifying : python3-libs-3.6.8-2.el8_0.0.1.x86_64 34/54
Verifying : python3-perf-4.18.0-80.11.2.el8_0.x86_64 35/54
Verifying : python3-perf-4.18.0-80.7.1.el8_0.x86_64 36/54
Verifying : python3-rpm-4.14.2-11.el8_0.x86_64 37/54
Verifying : python3-rpm-4.14.2-9.el8.x86_64 38/54
Verifying : rpm-4.14.2-11.el8_0.x86_64 39/54
Verifying : rpm-4.14.2-9.el8.x86_64 40/54
Verifying : rpm-build-libs-4.14.2-11.el8_0.x86_64 41/54
Verifying : rpm-build-libs-4.14.2-9.el8.x86_64 42/54
Verifying : rpm-libs-4.14.2-11.el8_0.x86_64 43/54
Verifying : rpm-libs-4.14.2-9.el8.x86_64 44/54
Verifying : rpm-plugin-selinux-4.14.2-11.el8_0.x86_64 45/54
Verifying : rpm-plugin-selinux-4.14.2-9.el8.x86_64 46/54
Verifying : rpm-plugin-systemd-inhibit-4.14.2-11.el8_0.x86_64 47/54
Verifying : rpm-plugin-systemd-inhibit-4.14.2-9.el8.x86_64 48/54
Verifying : selinux-policy-3.14.1-61.el8_0.2.noarch 49/54
Verifying : selinux-policy-3.14.1-61.el8_0.1.noarch 50/54
Verifying : selinux-policy-targeted-3.14.1-61.el8_0.2.noarch 51/54
Verifying : selinux-policy-targeted-3.14.1-61.el8_0.1.noarch 52/54
Verifying : epel-release-8-7.el8.noarch 53/54
Verifying : epel-release-8-5.el8.noarch 54/54

Upgraded:
qemu-guest-agent-15:2.12.0-65.module_el8.0.0+189+f9babebb.5.x86_64 bash-4.4.19-8.el8_0.x86_64 grub2-common-1:2.02-66.el8_0.1.noarch grub2-pc-1:2.02-66.el8_0.1.x86_64 grub2-pc-modules-1:2.02-66.el8_0.1.noarch grub2-tools-1:2.02-66.el8_0.1.x86_64
grub2-tools-extra-1:2.02-66.el8_0.1.x86_64 grub2-tools-minimal-1:2.02-66.el8_0.1.x86_64 initscripts-10.00.1-1.el8_0.1.x86_64 kernel-tools-4.18.0-80.11.2.el8_0.x86_64 kernel-tools-libs-4.18.0-80.11.2.el8_0.x86_64 kpartx-0.7.8-7.el8_0.2.x86_64
libnfsidmap-1:2.3.3-14.el8_0.2.x86_64 platform-python-3.6.8-4.el8_0.x86_64 python3-libs-3.6.8-4.el8_0.x86_64 python3-perf-4.18.0-80.11.2.el8_0.x86_64 python3-rpm-4.14.2-11.el8_0.x86_64 rpm-4.14.2-11.el8_0.x86_64
rpm-build-libs-4.14.2-11.el8_0.x86_64 rpm-libs-4.14.2-11.el8_0.x86_64 rpm-plugin-selinux-4.14.2-11.el8_0.x86_64 rpm-plugin-systemd-inhibit-4.14.2-11.el8_0.x86_64 selinux-policy-3.14.1-61.el8_0.2.noarch selinux-policy-targeted-3.14.1-61.el8_0.2.noarch
epel-release-8-7.el8.noarch

Installed:
kernel-4.18.0-80.11.2.el8_0.x86_64 kernel-core-4.18.0-80.11.2.el8_0.x86_64 kernel-modules-4.18.0-80.11.2.el8_0.x86_64 grub2-tools-efi-1:2.02-66.el8_0.1.x86_64

Complete!
[root@vps tools]# yum
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/libdnf/conf.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/yum", line 57, in <module>
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/__init__.py", line 30, in <module>
import dnf.base
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/usr/lib64/python3.6/site-packages/libdnf/__init__.py", line 3, in <module>
from . import conf
File "/usr/lib64/python3.6/site-packages/libdnf/conf.py", line 17, in <module>
_conf = swig_import_helper()
File "/usr/lib64/python3.6/site-packages/libdnf/conf.py", line 16, in swig_import_helper
return importlib.import_module('_conf')
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_conf'

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum does not work

Post by TrevorH » 2019/11/01 15:59:00

ImportError: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference
What is the output from

rpm -qa rpm\*
rpm -qa openssl\*
rpm -V rpm-libs
rpm -Va openssl\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ybzhao
Posts: 9
Joined: 2019/11/01 15:20:57

Re: yum does not work

Post by ybzhao » 2019/11/01 17:12:50

Here are the outputs:

[root@vps ~]# rpm -qa rpm\*
rpm: relocation error: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference
[root@vps ~]#
[root@vps ~]#
[root@vps ~]#
[root@vps ~]#
[root@vps ~]# rpm -qa openssl\*
rpm: relocation error: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference
[root@vps ~]#
[root@vps ~]#
[root@vps ~]# rpm -V rpm-libs
rpm: relocation error: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference
[root@vps ~]#
[root@vps ~]#
[root@vps ~]# rpm -Va openssl\*
rpm: relocation error: /usr/lib64/librpmio.so.8: symbol EVP_md2 version OPENSSL_1_1_0 not defined in file libcrypto.so.1.1 with link time reference
[root@vps ~]#

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum does not work

Post by TrevorH » 2019/11/01 17:23:55

Well that went well. I am suspecting that your /usr/lib64/librpmio.so.8 is corrupt. What does ls -la on that file say?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ybzhao
Posts: 9
Joined: 2019/11/01 15:20:57

Re: yum does not work

Post by ybzhao » 2019/11/01 17:35:52

[root@vps ~]# ls -la /usr/lib64/librpmio.so.8
lrwxrwxrwx 1 root root 17 Oct 1 21:44 /usr/lib64/librpmio.so.8 -> librpmio.so.8.1.0

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum does not work

Post by TrevorH » 2019/11/01 19:01:53

I'd also look at the libcrypto.so.1.1 file too. The one you just listed is a symlink so please follow it and list the target file.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ybzhao
Posts: 9
Joined: 2019/11/01 15:20:57

Re: yum does not work

Post by ybzhao » 2019/11/01 19:05:46

I hope I understood what you said.
[root@vps lib64]# ls -la /usr/lib64/librpmio.so.8
lrwxrwxrwx 1 root root 17 Oct 1 21:44 /usr/lib64/librpmio.so.8 -> librpmio.so.8.1.0
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]# ls -lha librpm*
lrwxrwxrwx 1 root root 20 Oct 1 21:44 librpmbuild.so.8 -> librpmbuild.so.8.1.0
-rwxr-xr-x 1 root root 192K Oct 1 21:45 librpmbuild.so.8.1.0
lrwxrwxrwx 1 root root 17 Oct 1 21:44 librpmio.so.8 -> librpmio.so.8.1.0
-rwxr-xr-x 1 root root 208K Oct 1 21:45 librpmio.so.8.1.0
lrwxrwxrwx 1 root root 19 Oct 1 21:44 librpmsign.so.8 -> librpmsign.so.8.1.0
-rwxr-xr-x 1 root root 29K Oct 1 21:45 librpmsign.so.8.1.0
lrwxrwxrwx 1 root root 15 Oct 1 21:44 librpm.so.8 -> librpm.so.8.1.0
-rwxr-xr-x 1 root root 523K Oct 1 21:45 librpm.so.8.1.0
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]# ls -la libcrypto.so.1.1
lrwxrwxrwx. 1 root root 18 May 11 09:57 libcrypto.so.1.1 -> libcrypto.so.1.1.1
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]#
[root@vps lib64]# ls -lha libcrypto*
lrwxrwxrwx. 1 root root 18 May 11 09:57 libcrypto.so -> libcrypto.so.1.1.1
lrwxrwxrwx. 1 root root 18 May 11 09:57 libcrypto.so.1.1 -> libcrypto.so.1.1.1
-rwxr-xr-x. 1 root root 3.2M May 11 09:57 libcrypto.so.1.1.1

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: yum does not work

Post by hunter86_bg » 2019/11/01 20:06:26

Have you rebooted after the patching ?
I see new selinux policy , python and kernel installed/updated .

ybzhao
Posts: 9
Joined: 2019/11/01 15:20:57

Re: yum does not work

Post by ybzhao » 2019/11/01 20:16:52

Yes, I did. The issue was still there after rebooting the system.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum does not work

Post by TrevorH » 2019/11/01 21:29:40

Do your results match mine?

Code: Select all

[root@centos8 ~]# md5sum /usr/lib64/libcrypto* /usr/lib64/librpm*
f0521c678244194da944fdeced45433f  /usr/lib64/libcrypto.so.1.1
f0521c678244194da944fdeced45433f  /usr/lib64/libcrypto.so.1.1.1
8ced1dfd0b77e3f2606b3d7e4f7792ee  /usr/lib64/librpm.so.8
8ced1dfd0b77e3f2606b3d7e4f7792ee  /usr/lib64/librpm.so.8.1.0
ad507b0ffbe90ff20fcc3f56a618100d  /usr/lib64/librpmbuild.so.8
ad507b0ffbe90ff20fcc3f56a618100d  /usr/lib64/librpmbuild.so.8.1.0
024d9a582d72546c8ef054e0559a707b  /usr/lib64/librpmio.so.8
024d9a582d72546c8ef054e0559a707b  /usr/lib64/librpmio.so.8.1.0
fb05765d40740dc9fae1724a999e6351  /usr/lib64/librpmsign.so.8
fb05765d40740dc9fae1724a999e6351  /usr/lib64/librpmsign.so.8.1.0
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply