Error with percona repo when running apt-get update

I ran apt-get update on a Ubuntu 12.04 server and this error came up:

Err precise Release

Then I went into the Percona documentation and figure out how to fix it. It's to update the Percona's signing key:

sudo apt-key adv --keyserver --recv-keys 8507EFA5

Then everything works fine again.