I tried syncing my times using hwclock. It didn’t work. Unless maybe you can’t sync your clock with hwclock. I’m pretty bad at this.
I also tried the other things but it didn’t work either.
You also need to sync NTP. That’s the service that checks the internet to ensure the time is correct. On top of that you might want to ensure the timezone is set correctly. Also, consider reading the section on cleaning cached packages and changing your key server.
https://wiki.archlinux.org/title/Pacman/Package_signing#Troubleshooting
I tried syncing my times using hwclock. It didn’t work. Unless maybe you can’t sync your clock with hwclock. I’m pretty bad at this. I also tried the other things but it didn’t work either.
You also need to sync NTP. That’s the service that checks the internet to ensure the time is correct. On top of that you might want to ensure the timezone is set correctly. Also, consider reading the section on cleaning cached packages and changing your key server.
I synced NTP and repopulated the keys and it worked! I think last time I tried to fix this, I just forgot to repopulate the keys afterwards. Thanks!
Your welcome. And if you get stuck reading the arch wiki, it’s worth reading it again just to make sure you didn’t miss anything.