본문 바로가기

OS/Linux

[Linux] | Module yaml error: Unexpected key in data: static_context

반응형

CentOS 버전

> cat /etc/redhat-release 
CentOS Linux release 8.4.2105

 

 

yum 사용시 아래와 같은 메세지 출력

 

Module yaml error: Unexpected key in data: static_context [line 9 col 3]

> yum install whois
CentOS Linux 8 - BaseOS                                                                                                                                                                                                                                                                                      48 MB/s | 4.6 MB     00:00    
CentOS Linux 8 - Extras                                                                                                                                                                                                                                                                                     212 kB/s |  10 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                                                                                                                                                                      379 kB/s | 733 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                                                                                                                                              9.1 MB/s |  13 MB     00:01                                                                                                                                                                                                                                                              1.0 kB/s | 1.2 kB     00:01    
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
No match for argument: whois
Error: Unable to find a match: whois

 

 

 

조치

 

libmodulemd 업데이트

dnf update libmodulemd

 

 

 

 

 

반응형