Podman 4 can't run image from repository due to missed libtinfo.so #14070
Replies: 8 comments 1 reply
-
how have you installed podman? Is |
Beta Was this translation helpful? Give feedback.
-
This looks like an SELinux labeling issue. sudo dnf -y reinstall container-selinux See if this fails. If it does then you have an issue with flatpack-selinux snapd-selinux ... being installed |
Beta Was this translation helpful? Give feedback.
-
@giuseppe This is the enigma: ncurses, ncurses-libs ver 6.2-9 (the recent version) are installed but don't provide libtinfo.so. And I can't find the package that provides it. I searched in Google and found many reference to the same issue in Ubuntu etc. libtinfo is listed as the ncurses dependency but doesn't come. I afraid that ncurses itself or its installation is broken for the Gnome 4 / Wayland backend. Maybe ncursesw is more suitable for Gnome-terminal? |
Beta Was this translation helpful? Give feedback.
-
@rhatdan OMG Yes, I had issues with flatpack-selinux, etc. like other people that upgraded from Fedora 35 to 36. Now 36 GA release looks frozen due to this issue because many people that upgraded from Fedora 35 to 36 recently. Zdenek is working on it. But my specific problem is that libtinfo doesn't exist, really doesn't exist for Fedora 36 or exists somewhere in the broken repository. Maybe, some repositories are IPV4 only or curses has gone in Gnome's 4.2 terminal. Indeed, today ncurses provides only:
libtinfo has to come from another package or replaced with something else ncursesw ? |
Beta Was this translation helpful? Give feedback.
-
Could you put the machine into permissive mode and see if the problem goes away? |
Beta Was this translation helpful? Give feedback.
-
@vrothberg Could you speed up implementation of your proposal described in managing container registries to get rid the use of curses graphics and pass registry's short name as an option? Taking into account endless number of combinations DesktopManager TerminalSimulator CursesImplementation can produce endless stream of issues like "missed dependency", "mouse event is not processed", "ugly graphics", etc. |
Beta Was this translation helpful? Give feedback.
-
I do not understand the request. To me it looks like your installation is broken. |
Beta Was this translation helpful? Give feedback.
-
let's convert to a discussion since there is no issue in Podman itself |
Beta Was this translation helpful? Give feedback.
-
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
kind bug
/kind feature
Description
Podman fails to execute run command due to missed dependency libtinfo with error:
error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Steps to reproduce the issue:
execute podman run command providing image spec as parameter with log-level=debug option
Describe the results you received:
Error message:
error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Describe the results you expected:
Open the panel for repository selection
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
Fedora 36 Workstation modular
Indeed, libtinfo.so.6 is not installed and I can't find the package that provides it. ncurses 6.2-9 is installed.
It looks like it is not provided with many Workstation versions according to Google and ncurses for Gnome 4 functionality is messy.
Could you provide the image repository defaulting as a configuration to make solution more convenient?
Beta Was this translation helpful? Give feedback.
All reactions