Bug 2227827 - [abrt] dnf: module(): conf.py:10:<module>:ImportError: /lib64/libassuan.so.0: file too short
Summary: [abrt] dnf: module(): conf.py:10:<module>:ImportError: /lib64/libassuan.so.0:...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Kolarik
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:6320c2acc215c32dc03cbf6a30c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 15:40 UTC by ICHP
Modified: 2023-08-04 10:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-04 10:31:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (709 bytes, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: environ (3.21 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: mountinfo (3.60 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: open_fds (309 bytes, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: namespaces (171 bytes, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: backtrace (8.02 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: cpuinfo (2.88 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: _var_log_dnf.log (667.96 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details
File: dnf-makecache.log (11.66 KB, text/plain)
2023-07-31 15:40 UTC, ICHP
no flags Details

Description ICHP 2023-07-31 15:40:06 UTC
Version-Release number of selected component:
dnf-4.16.1-1.fc38

Additional info:
reporter:       libreport-2.17.10
kernel:         6.3.6-200.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/dnf
cgroup:         0::/user.slice/user-1000.slice/session-2.scope
uid:            1000
reason:         conf.py:10:<module>:ImportError: /lib64/libassuan.so.0: file too short
executable:     /usr/bin/dnf
type:           Python3
package:        dnf-4.16.1-1.fc38
runlevel:       N 5
exception_type: ImportError
crash_function: module
interpreter:    python3-3.11.4-1.fc38.x86_64

Truncated backtrace:
#1 [/usr/lib64/python3.11/site-packages/libdnf/conf.py:10] <module>
#2 [/usr/lib64/python3.11/site-packages/libdnf/__init__.py:12] <module>
#3 [/usr/lib/python3.11/site-packages/dnf/base.py:29] <module>
#4 [/usr/lib/python3.11/site-packages/dnf/__init__.py:30] <module>
#5 [/usr/bin/dnf:61] <module>

Comment 1 ICHP 2023-07-31 15:40:10 UTC
Created attachment 1980905 [details]
File: os_info

Comment 2 ICHP 2023-07-31 15:40:12 UTC
Created attachment 1980906 [details]
File: environ

Comment 3 ICHP 2023-07-31 15:40:14 UTC
Created attachment 1980907 [details]
File: mountinfo

Comment 4 ICHP 2023-07-31 15:40:16 UTC
Created attachment 1980908 [details]
File: open_fds

Comment 5 ICHP 2023-07-31 15:40:18 UTC
Created attachment 1980909 [details]
File: namespaces

Comment 6 ICHP 2023-07-31 15:40:19 UTC
Created attachment 1980910 [details]
File: backtrace

Comment 7 ICHP 2023-07-31 15:40:22 UTC
Created attachment 1980911 [details]
File: cpuinfo

Comment 8 ICHP 2023-07-31 15:40:24 UTC
Created attachment 1980912 [details]
File: _var_log_dnf.log

Comment 9 ICHP 2023-07-31 15:40:26 UTC
Created attachment 1980913 [details]
File: dnf-makecache.log

Comment 10 Jan Kolarik 2023-08-04 10:29:04 UTC
Hello, it seems like you have a corrupted library file /lib64/libassuan.so.0 for some reason which is causing a system malfunction. According to the logs provided about installed packages, this should be a symlink pointing to the libassuan.so.0.8.6 file when having the system in correct state. Unfortunately this file is a dependency for a lot of core system components. I've tried simulating your state in my container and I was able to recover by downloading the libassuan library manually by:

curl -O https://dl.fedoraproject.org/pub/fedora/linux/updates/38/Everything/x86_64/Packages/l/libassuan-2.5.6-1.fc38.x86_64.rpm

... and then reinstalling the package using rpm:

rpm -iv --replacepkgs libassuan-2.5.6-1.fc38.x86_64.rpm

Comment 11 Jan Kolarik 2023-08-04 10:31:30 UTC
But anyway, there doesn't seem to be any problem regarding the dnf component.


Note You need to log in before you can comment on or make changes to this bug.