Hello Everyone,
Basically, I need to upgrade curl version to latest.
But after DNF tool installation, I'm getting below errror:
*69) cd /opt/freeware
*69) ls -lrt
total 96
drwxr-xr-x 3 bin bin 256 Jul 10 2015 64
drwxr-xr-x 8 root system 256 Mar 26 2020 man
drwxr-xr-x 3 root system 256 Jun 27 2023 src
drwxr-xr-x 2 root system 256 Aug 8 2023 ssh
drwxr-xr-x 3 root system 256 Jun 17 10:55 rpm40
drwxr-xr-x 2 root system 4096 Jun 17 10:55 packages
drwxr-xr-x 2 root system 4096 Jun 17 10:56 info
drwxr-xr-x 5 root system 4096 Jun 17 10:56 include
drwxr-xr-x 2 root system 256 Jun 17 10:56 libdnfdeps
drwxrwxr-x 2 root system 256 Jun 17 10:56 sbin
drwxr-xr-x 4 root system 4096 Jun 17 10:56 lib64
drwxr-xr-x 4 root system 256 Jun 17 10:56 libexec
drwxr-xr-x 36 root system 4096 Jun 17 10:56 doc
drwxr-xr-x 11 root system 4096 Jun 17 10:56 licenses
drwxr-xr-x 15 root system 8192 Jun 17 10:56 lib
drwxr-xr-x 10 root system 4096 Jun 17 10:56 share
drwxr-xr-x 8 root system 256 Jun 17 10:56 etc
drwxr-xr-x 2 root system 12288 Jun 17 10:56 bin
*69) cd bin
/opt/freeware/bin
*69) ls -lrt dnf
lrwxrwxrwx 1 root system 5 Jun 17 10:56 dnf -> dnf-3
*69) pwd
/opt/freeware/bin
*69) /opt/freeware/bin/dnf repolist
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, in <module>
import dnf.base
File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: Could not load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
Member libcrypto.so.1.1 is not found in archive
Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
############################################################################
dnf installed successfully.
Please run 'dnf update' to update packages to the latest level.
Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
RPM packages install files go under the path /opt.
Hence it is recommended to always keep at least 512MB of free space in /var & /opt
to avoid any download and installation/update failures.
Regards,
Sandip S
------------------------------
Sandip sawant
------------------------------