Got the following error message after an update. using Ubuntu 11.04 - the Natty Narwhal -
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.opera.com stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY AAFF4A5B336064B5
The answer to your problem can be found in the error message itself:
".....The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAFF4A5B336064 B5....."
The solution is to add the missing authentication key, or public key, to your Software sources. This can be done by doing the following:
Adding authentication key:
wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list'
sudo aptitude update && sudo aptitude install opera
You can copy/paste these commands in a terminal.
But why not downloading directly from the website itself www.opera.com ? Then you don’t have these kind of issues.
The warning icon has vanished so maybe it was just a download issue. I do not use opera so not so much of an issue.
Thanks for the advice will keep it in mind if problem comes back.