The following signatures couldn’t be verified because the public key is not available

When running a ubuntu or debian based distro, it is sometimes required to do same manual updating with the apt-get tool . I run the following command almost on a daily basis on my desktops and servers.

Of course I could also use the auto-update feature but I like to have more control over what and when I update.

A couple of days ago I ran into a situation where a public key of a repository had expired. The console gave me the following results

First I thought there was a problem at te servers of spotify, but doing the following command gave me the answer I was looking for.

The solution in this case was very simple. I removed the expired public key and added the new public key from spotify.

After that’s done I checked the expiration date of the new public key and all was well.

Hopefully this helped somebody with this issue :)

  • Andrew

    Helped enormously. Thanks

  • http://danielj.se Daniel Jonsson

    Thanks for the post, it was really helpful.

  • Larry

    Thanks loads ! Worked perfectly for me as well !

  • cardoppler

    Really helpful! Thanks!

  • Fixweb

    Hello Daniel,

    I can see you are developing an ESI module for Nginx ?
    I would like to contribute. Are you ok ?

    • danielk

      Hello Fixweb,

      Nope, i’m not developing an ESI module for Nginx.

      However the thought is interesting, but i do not have the time to develop something like that. There is a github repo available for it. (https://github.com/taf2/nginx-esi) only problem is that it seems outdated…