Loading... **Problem description** An error occurs when executing the `yum/dnf` command on centos8 ``` [root@VM-16-14-centos ~]# dnf update epel-release Repository epel is listed more than once in the configuration Last metadata expiration check: 2:24:16 ago on Mon 25 Apr 2022 07:27:51 AM CST. 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] Dependencies resolved. Nothing to do. Complete! ``` **Solution:** It can be solved by upgrading `libmodulemd` ``` dnf upgrade libmodulemd ``` 最后修改:2023 年 03 月 21 日 03 : 37 PM © 允许规范转载 赞赏 要多恰饭才能长胖 赞赏作者 支付宝微信