Why is installing my Vim package complaining about libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit)

Hi,

On my openSUSE Leap 42.2 VM I tried to install my Vim package and while this package installs fine on openSUSE Tumbleweed it (zypper in vim) returns this output on Leap 42.2:


Loading repository data...
Reading installed packages...
'vim-data' is already installed.
There is an update candidate for 'vim-data', but it is from a different vendor. Use 'zypper install vim-data-8.0.0430-1.1.noarch' to install this candidate.
Resolving package dependencies...


Problem: nothing provides libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit) needed by vim-8.0.0430-1.1.x86_64
 Solution 1: do not install vim-8.0.0430-1.1.x86_64
 Solution 2: break vim-8.0.0430-1.1.x86_64 by ignoring some of its dependencies


Choose from above solutions by number or cancel [1/2/c] (c): c

this package was built in the OBS, so I really don’t understand how there’s a dependency that the openSUSE repos does not provide… So you can see that I have all the official repos enabled here is the output of zypper lr:


Repository priorities are without effect. All enabled repositories share the same priority.


#  | Alias                           | Name                                                 | Enabled | GPG Check | Refresh
---+---------------------------------+------------------------------------------------------+---------+-----------+--------
 1 | download.opensuse.org-non-oss   | Main Repository (NON-OSS)                            | Yes     | (r ) Yes  | Yes    
 2 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss)                          | Yes     | (r ) Yes  | Yes    
 3 | download.opensuse.org-oss       | Main Repository (OSS)                                | Yes     | (r ) Yes  | Yes    
 4 | download.opensuse.org-oss_1     | Main Repository (Sources)                            | Yes     | (r ) Yes  | Yes    
 5 | download.opensuse.org-oss_2     | Main Update Repository                               | Yes     | (r ) Yes  | Yes    
 6 | home_fusion809                  | Brenton Horne's OBS repository (openSUSE_Tumbleweed) | Yes     | (r ) Yes  | No     
 7 | openSUSE-42.2-0                 | openSUSE-42.2-0                                      | Yes     | (r ) Yes  | Yes    
 8 | repo-debug                      | openSUSE-Leap-42.2-Debug                             | No      | ----      | ----   
 9 | repo-debug-non-oss              | openSUSE-Leap-42.2-Debug-Non-Oss                     | No      | ----      | ----   
10 | repo-debug-update               | openSUSE-Leap-42.2-Update-Debug                      | No      | ----      | ----   
11 | repo-debug-update-non-oss       | openSUSE-Leap-42.2-Update-Debug-Non-Oss              | No      | ----      | ----   
12 | repo-source-non-oss             | openSUSE-Leap-42.2-Source-Non-Oss                    | No      | ----      | ----   

What am I missing here, or is it just that this Leap 42.2 VM is somehow broken? If I ignore this dep and install anyway I get the error:


vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory

when I try to launch it, so it seems like there are other deps missing too…

So…

6 | home_fusion809 | Brenton Horne’s OBS repository (openSUSE_Tumbleweed) | Yes | (r ) Yes | No

If I were to make an educated guess… mixing TW and 42.2 “might”, just MIGHT have something to do with this.

Exactly. Package is built in TW environment, so computed Requires match those Provides in TW. It is necessary to build package for Leap 42.2 and make corresponding repository available.

Rofl, sorry such a rookie mistake. Didn’t even realize I did that…