Developer Journal: 17 April 2020

Posted on Fri 17 April 2020 in dev-journal

While updating my system I ran into the following error:

$ sudo apt update
Ign:1 https://brave-browser-apt-release.s3.brave.com bionic InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Err:3 https://brave-browser-apt-release.s3.brave.com bionic Release
  Certificate verification failed: The certificate is NOT trusted. The revocation or OCSP data are old and have been superseded.  Could not handshake: Error in the certificate verification
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
E: The repository 'https://brave-browser-apt-release.s3.brave.com bionic Release' does not have a Release file
N: Updating from such a repository can't be done securely, and is therefore disabled by default
N: See apt-secure(8) manpage for repository creation and user configuration details. 

After trying to clear the sources, uninstalling, reinstalling, and 15 minutes of searching the internet for a solution it turns out that my clock was out of sync. Easy fix.