alma linux: dnf Module yaml error: Unexpected key in data

While applying recent updates to a server running Rocky Linux 8, an error presented itself.
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]
The solution turned out to be a simple one. Update the libmodulemd first to correct the problem then perform the dnf updates as usual.
dnf update libmodulemd
For a detailed explanation as to the cause of this problem.

Popular posts from this blog

Shrink you container size up to 95%.