conflict ncurses-devel readlines8

Hi, I am trying to install ncurses-devel, but am getting a version error. Apparently it needs libncurses5 5.9, but I have 6.1 installed. Fixing the problem (Solution 1) involves deinstallation of libreadline. I don’t want to do that. Any suggestions would be of great help!!!


zypper install ncurses-devel
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: ncurses-devel-5.9-70.1.x86_64 requires libncurses5 = 5.9-70.1, but this requirement cannot be provided
uninstallable providers: libncurses5-5.9-70.1.x86_64[download.opensuse.org-oss_1]
Solution 1: Following actions will be done:
downgrade of libncurses5-6.1-13.1.x86_64 to libncurses5-5.9-70.1.x86_64
downgrade of libncurses6-6.1-13.1.x86_64 to libncurses6-5.9-70.1.x86_64
deinstallation of libreadline8-8.0-1.2.x86_64
downgrade of ncurses-utils-6.1-13.1.x86_64 to ncurses-utils-5.9-70.1.x86_64
downgrade of psmisc-23.2-3.2.x86_64 to psmisc-22.21-13.1.x86_64
downgrade of terminfo-base-6.1-13.1.x86_64 to terminfo-base-5.9-70.1.x86_64
deinstallation of xterm-bin-344-1.1.x86_64
downgrade of bash-5.0-2.1.x86_64 to bash-4.3-83.12.1.x86_64
downgrade of icewm-1.4.2-7.3.x86_64 to icewm-1.3.12-6.12.1.x86_64
downgrade of psmisc-lang-23.2-3.2.noarch to psmisc-lang-22.21-13.1.noarch
downgrade of terminfo-6.1-13.1.x86_64 to terminfo-5.9-70.1.x86_64
downgrade of bash-lang-5.0-2.1.noarch to bash-lang-4.3-83.12.1.noarch
downgrade of icewm-lang-1.4.2-7.3.noarch to icewm-lang-1.3.12-6.12.1.noarch
Solution 2: do not install ncurses-devel-5.9-70.1.x86_64
Solution 3: break ncurses-devel-5.9-70.1.x86_64 by ignoring some of its dependencies

I booted up 42.3 on a system which is currently not up-to-date. I ran Yast Software Management.

The highest version of “libncurses5” is version 5.9-70.1, and there is no “libreadline8” at all.

It looks as if you installed libncurses5-6.1-13.1 and libreadline8 from somewhere else. If you want to keep those, then you probably need to look at the same “somewhere else” to find a suitable “ncurses-devel”.

Thank you for your response. I am honestly not sure why my versions of libncurses5 and libncurses6 were higher. I only use the generic OSS and NON-OSS repositories. But I chose to downgrade them to 5.9 and remove libreadline8 (libreadline6 is still there), and everything worked fine.

I’m glad you have a working solution. And thanks for reporting back.