JeOS openSUSE 15.4 - vim-data not installed

Hi
I installed JeOS because it seemed to be the only thing currently in 15.4 with support for Microsoft Hyper-V and therefor Azure Cloud.

I was able to start it running in Hyper-V.

vim has this error:

Error detected while processing /usr/share/vim/vim82/suse.vimrc[10]…/usr/share/vim/vim82/syntax/syntax.vim[42]…BufRead Autocommands for “*”…script /usr/share/vim/vim82/scripts.vim:
line 30:
E117: Unknown function: dist#script#DetectFiletype

Another site said this means that yoy need to install vim-data.

If this is the case, can you make vim depend on vim-data, so it is installed when needed?

Thanks,
Rob

Hi
The vim-data package is only a recommends, not a requires. Since installing recommends is the default, it perhaps should have been pulled in during install (assuming the online repositories were added during install).

JeOS is using the same kernel as openSUSE so it is certainly possible to install openSUSE under Hyper-V. Probably you mean “the only thing available as preinstalled vhdx image”, but that is different. It certainly makes it easier to deploy, but it does not mean there is no other way.

can you make vim depend on vim-data, so it is installed when needed?

No, we can not. This is user to user forum. You should report it on https://bugzilla.opensuse.org (same user/password as here) if you want to reach package maintainers.

JeOS stands for “Just enough OS” for a reason. I am certain its image does not include all recommends. If I got jeos project correctly:

#======================================
# Disable recommends on virtual images (keep hardware supplements, see bsc#1089498)
#--------------------------------------
sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = true/g' /etc/zypp/zypp.conf