Hi,
Thank you for the quick response.
I’ve tried sudo dnf, I’ve set root password during system installation, I’ve recently updated to Fedora 40.
Root password is correct, I concluded this because I’ve been asked for password just once and after that whenever I try anything with “sudo” I just get error message.
Here is also the recent log: