I just installed the OS alongside windows and noticed that windows would always be 2 hours behind. After a bit of searching one of the solutions was to set linux to use local time, but whenever i tried to use timedatectl
it always resulted in this error message
Failed to query server: Failed to activate service 'org.freedesktop.timedate1': timed out (service_start_timeout=25000ms)
So then I tried to restart the service and got this error:
Job for systemd-timedated.service failed because the control process exited with error code.
See "systemctl status systemd-timedated.service" and "journalctl -xeu systemd-timedated.service" for details.
After running the suggested commands this is what I got:
Ă— systemd-timedated.service - Time & Date Service
Loaded: loaded (/usr/lib/systemd/system/systemd-timedated.service; static)
Active: failed (Result: exit-code) since Thu 2023-10-05 12:24:19 +04; 4min 17s ago
Docs: man:systemd-timedated.service(8)
man:localtime(5)
man:org.freedesktop.timedate1(5)
Process: 4475 ExecStart=/usr/lib/systemd/systemd-timedated (code=exited, status=127)
Main PID: 4475 (code=exited, status=127)
CPU: 29ms
Oct 05 12:24:18 mylapt systemd[1]: Starting Time & Date Service...
Oct 05 12:24:19 mylapt systemd-timedated[4475]: /usr/lib/systemd/systemd-timedated: error while loading shared libraries: libgcc_s.3o.1: cannot open shared object file: No such file or directory
Oct 05 12:24:19 mylapt systemd[1]: systemd-timedated.service: Main process exited, code=exited, status=127/n/a
Oct 05 12:24:19 mylapt systemd[1]: systemd-timedated.service: Failed with result 'exit-code'.
Oct 05 12:24:19 mylapt systemd[1]: Failed to start Time & Date Service.
I don’t know where to go from here, and i couldn’t find anything online