Linode updated centos 7 to alma 8 but NetworkManager Failed

from linode i run the leap command to upgrade from centos 7 to alma8

i select kernal gurb 2 , run command

i follow these command How to Migrate From CentOS 7 to AlmaLinux 8

after that i run “sudo leapp upgrade” and "reboot " the command from whm

after that again i login from lish ssh but i got the error about Failed NetworkManager

root@vauu [~]# sudo /usr/sbin/NetworkManager --no-daemon --log-level=DEBUG
/usr/sbin/NetworkManager: error while loading shared libraries: libbrotlidec.soy

I am now not able to access whm

please help to solve it

also when i run yum update below error come

File “/usr/lib64/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 658, in _load_unlocked
File “”, line 571, in module_from_spec
File “”, line 922, in create_module
File “”, line 219, in _call_with_frames_removed
ImportError: libbrotlidec.so.1: cannot open shared object file: No such file ory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/bin/yum”, line 61, in
from dnf.cli import main
File “/usr/lib/python3.6/site-packages/dnf/init.py”, line 30, in
import dnf.base
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 29, in
import libdnf.transaction
File “/usr/lib64/python3.6/site-packages/libdnf/init.py”, line 8, in
from . import error
File “/usr/lib64/python3.6/site-packages/libdnf/error.py”, line 17, in
_error = swig_import_helper()
File “/usr/lib64/python3.6/site-packages/libdnf/error.py”, line 16, in swig_ir
return importlib.import_module(‘_error’)
File “/usr/lib64/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named ‘_error’

Please help me to run my VM of linode

root@vauu [/]# systemctl status NetworkManager.service ? NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; ven> Active: failed (Result: exit-code) since Thu 2024-06-06 14:32:18 IST; 2h 59m> Docs: man:NetworkManager(8) Main PID: 692 (code=exited, status=127)

Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: NetworkManager.service: Serv> Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: NetworkManager.service: Sche> Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: Stopped Network Manager. Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: NetworkManager.service: Star> Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: NetworkManager.service: Fail> Jun 06 14:32:18 vauu.expertwebworld.in systemd[1]: Failed to start Network Mana> lines 1-12/12 (END)

i run the below command to solve it
root@vauu [/]# sudo systemctl restart NetworkManager
Job for NetworkManager.service failed because the control process exited with error code.
See “systemctl status NetworkManager.service” and “journalctl -xe” for details.