alexanderzhirov It's not a reinstall of the system.
The command @algent posted re-installs just one component (package) - systemd
- which, among other things, is responsible for shutting down the system. Re-installing a package is completely safe.
If something went wrong for you during some previous update, it's possible that reinstalling systemd will fix your issue.
First try running sudo eopkg it --reinstall systemd
and reboot.
If it doesn't fix the issue, you can try this command.
sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall
Source