Urgently!!!!!! Update failed

When updating I get the error

Error: rpmdb open failed
Failed to set locale, defaulting to C
error: rpmdb: BDB0113 Thread/process 2187/140310627501888 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

I follow this guide: How To Solve "Error: rpmdb open failed" Error In CentOS - OSTechNix

Go to step

yum clean all

Then the fault:

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Cleaning repos: base dovecot-2.3-latest epel extras gf gf-plus litespeed litespeed-update lux mariadb mongodb-org-3.4
: nodesource powerdns-auth-master updates
Other repos take up 20 M of disk space (use --verbose for details)

///////////

ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-o5t91g5q/jsonpatch/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-o5t91g5q/jsonpatch/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r
‘"’“', '”‘"’
‘"’“');f.close();exec(compile(code, file, '”‘“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-install-o5t91g5q/jsonpatch/pip-egg-info
cwd: /tmp/pip-install-o5t91g5q/jsonpatch/
Complete output (7 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-install-o5t91g5q/jsonpatch/setup.py”, line 13, in
src = open(‘jsonpatch.py’).read()
File “/usr/local/CyberPanel/lib64/python3.6/encodings/ascii.py”, line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 173: ordinal not in range(128)
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Already using interpreter /usr/bin/python3
Using base prefix ‘/usr’
No LICENSE.txt / LICENSE found in source
New python executable in /usr/local/CyberPanel/bin/python3
Not overwriting existing python script /usr/local/CyberPanel/bin/python (you must use /usr/local/CyberPanel/bin/python3)
Installing setuptools, pip, wheel…
done.

Help me!!!