kata-containers / ci

Kata Containers CI
http://jenkins.katacontainers.io/view/CI%20Status/
Apache License 2.0
13 stars 34 forks source link

Missing packages on SLES 12 SP4 #218

Closed GabyCT closed 5 years ago

GabyCT commented 5 years ago

The following packages are missing on SLES 12 SP4

10:57:07 'pandoc' not found in package names. Trying capabilities.
10:57:07 'myspell-en_GB' not found in package names. Trying capabilities.
10:57:07 'myspell-en_US' not found in package names. Trying capabilities.
10:57:07 No provider of 'pandoc' found.
10:57:07 No provider of 'myspell-en_GB' found.
10:57:07 No provider of 'myspell-en_US' found.

This is causing to the CI to fail. @marcov I could not find a repository to enable in order to get these packages or a way to get them, do you have any idea? thanks

marcov commented 5 years ago

Hi @GabyCT, you can get pandoc from SUSE PackageHub: https://packagehub.suse.com/

The repo can be added with the command:

$ SUSEConnect -p PackageHub/12.4/x86_64
GabyCT commented 5 years ago

thanks @marcov , I'll try it

GabyCT commented 5 years ago

@marcov , I got the following error

gabysuse:/home/gabysuse # SUSEConnect -p PackageHub/12.4/x86_64
Registering system to registration proxy https://smt-azure.susecloud.net

Updating system details on https://smt-azure.susecloud.net ...

Activating PackageHub 12.4 x86_64 ...
-> Adding service to system ...
-> Installing release package ...
command 'zypper --no-refresh --non-interactive install --no-recommends --auto-agree-with-product-licenses -t product PackageHub' failed
Error: zypper returned (106) with 'Error building the cache:
[SUSE_Package_Hub_x86_64:SUSE-PackageHub-12-SP4-Standard-Pool|plugin:/susecloud?credentials=SUSE_Package_Hub_x86_64&path=/repo/SUSE/Backports/SLE-12-SP4_x86_64/standard/] Valid metadata not found at specified URL
Some of the repositories have not been refreshed because of an error.'
marcov commented 5 years ago

Hi @GabyCT , actually this page says you can ignore the error :thinking:, so I expect installation of pandoc should work afterwards...

GabyCT commented 5 years ago

@marcov I was able to add pandoc and hunspell thanks, however, I can not find myspell-en_GB1 and myspell-en_US packages, any idea of how to enable them?

marcov commented 5 years ago

@GabyCT those packages are in the workstation-extensions module. You need to enable it with:

$ SUSEConnect -p sle-we/12.4/x86_64 -r <registration-code>

If you don't have a reg key, you can also try use to the openSUSE Leap repo, since I don't expect these packages to have dependencies that would break the system.

#  try also with 15.0, 42.3 if there are version mismatch: vvv
$ sudo zypper ar http://download.opensuse.org/update/leap/15.1/oss/ leap-oss
$ sudo zypper ref -r leap-oss
$ sydo zypper in --from leap-oss myspell-en_GB1 myspell-en_US
$ sudo zypper mr -d leap-oss
GabyCT commented 5 years ago

@marcov thank you

jodh-intel commented 5 years ago

Any update on this @GabyCT?