{"id":2098,"date":"2025-02-04T00:00:42","date_gmt":"2025-02-04T00:00:42","guid":{"rendered":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/"},"modified":"2025-03-04T07:56:24","modified_gmt":"2025-03-04T07:56:24","slug":"resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/","title":{"rendered":"Resolving the Spotify &#8216;No PubKey&#8217; Error on Ubuntu: A Step-by-Step Guide"},"content":{"rendered":"<p>If you&#8217;re using the official Spotify DEB on Ubuntu or a similar distribution like Linux Mint, you might have noticed an error warning regarding the PGP key that verifies package signatures. The security key for the Spotify APT repository became nonfunctional at the end of last year, which can cause terminal output warnings when checking for updates.<\/p>\n<p>This error message indicates that the public key cannot be verified:<\/p>\n<pre><code>Err:9 http:\/\/repository.spotify.com stable InReleaseThe following signatures couldn't be verified because the public key is not available: NO_PUBKEY C85668DF69375001<\/code><\/pre>\n<p>While it&#8217;s concerning, this issue doesn&#8217;t prevent the Spotify app from functioning. However, it does block updates from the APT repository until resolved.<\/p>\n<p>Fortunately, fixing the &#8216;public key not available&#8217; error is straightforward. If you&#8217;re facing this issue and want to restore regular updates from the official Spotify APT repo, follow these steps:<\/p>\n<ol>\n<li>\n<p>Open a terminal window and run the following command to download and add the new GPG key:<\/p>\n<pre><code class=\"language-bash\">sudo curl -sS https:\/\/download.spotify.com\/debian\/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o \/etc\/apt\/trusted.gpg.d\/spotify.gpg<\/code><\/pre>\n<\/li>\n<li>\n<p>When prompted, confirm to overwrite the existing key by pressing &#8216;y&#8217;.<\/p>\n<\/li>\n<li>\n<p>Next, refresh your list of software sources by executing:<\/p>\n<pre><code class=\"language-bash\">sudo apt update<\/code><\/pre>\n<\/li>\n<li>\n<p>Finally, install any available updates for Spotify with:<\/p>\n<pre><code class=\"language-bash\">sudo apt dist-upgrade<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>By following these steps, the public key error will be resolved, allowing you to receive future updates for the Spotify client as you normally would, whether through the GUI Software Updater in Ubuntu or the Mint Upgrade tool on Linux Mint.<\/p>\n<p>This issue pertains specifically to users of Spotify through the official DEB package. Those utilizing the official Spotify snap package or installations from alternate sources will not be impacted. For instructions on how to set up Spotify on Linux, you can refer to the guide on <a target=\"_blank\" rel=\"nofollow\" href=\"https:\/\/www.omglinux.com\/how-to-install-spotify-on-linux\/\">installing Spotify on Linux<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using the official Spotify DEB on Ubuntu or a similar distribution like Linux Mint, you might have noticed an error warning regarding the PGP key that verifies package signatures. The security key for the Spotify APT repository became nonfunctional at the end of last year, which can cause terminal output warnings when checking [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2099,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[143,719],"tags":[],"class_list":["post-2098","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-spotify"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Resolving the Spotify &#039;No PubKey&#039; Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog<\/title>\n<meta name=\"description\" content=\"This guide provides simple steps to fix the Spotify &#039;No PubKey&#039; error on Ubuntu, ensuring smooth updates and secure access to your music library.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Resolving the Spotify &#039;No PubKey&#039; Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog\" \/>\n<meta property=\"og:description\" content=\"This guide provides simple steps to fix the Spotify &#039;No PubKey&#039; error on Ubuntu, ensuring smooth updates and secure access to your music library.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"ServerHost Hosting Solutions Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-04T00:00:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-04T07:56:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1008\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/\",\"url\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/\",\"name\":\"Resolving the Spotify 'No PubKey' Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog\",\"isPartOf\":{\"@id\":\"https:\/\/serverhost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp\",\"datePublished\":\"2025-02-04T00:00:42+00:00\",\"dateModified\":\"2025-03-04T07:56:24+00:00\",\"author\":{\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66\"},\"description\":\"This guide provides simple steps to fix the Spotify 'No PubKey' error on Ubuntu, ensuring smooth updates and secure access to your music library.\",\"breadcrumb\":{\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage\",\"url\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp\",\"contentUrl\":\"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp\",\"width\":1920,\"height\":1008},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/serverhost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resolving the Spotify &#8216;No PubKey&#8217; Error on Ubuntu: A Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/serverhost.com\/blog\/#website\",\"url\":\"https:\/\/serverhost.com\/blog\/\",\"name\":\"ServerHost Hosting Solutions Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/serverhost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serverhost.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/serverhost.com\/blog\"],\"url\":\"https:\/\/serverhost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Resolving the Spotify 'No PubKey' Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog","description":"This guide provides simple steps to fix the Spotify 'No PubKey' error on Ubuntu, ensuring smooth updates and secure access to your music library.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/","og_locale":"en_US","og_type":"article","og_title":"Resolving the Spotify 'No PubKey' Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog","og_description":"This guide provides simple steps to fix the Spotify 'No PubKey' error on Ubuntu, ensuring smooth updates and secure access to your music library.","og_url":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/","og_site_name":"ServerHost Hosting Solutions Blog","article_published_time":"2025-02-04T00:00:42+00:00","article_modified_time":"2025-03-04T07:56:24+00:00","og_image":[{"width":1920,"height":1008,"url":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/","url":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/","name":"Resolving the Spotify 'No PubKey' Error on Ubuntu: A Step-by-Step Guide - ServerHost Hosting Solutions Blog","isPartOf":{"@id":"https:\/\/serverhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage"},"image":{"@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp","datePublished":"2025-02-04T00:00:42+00:00","dateModified":"2025-03-04T07:56:24+00:00","author":{"@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66"},"description":"This guide provides simple steps to fix the Spotify 'No PubKey' error on Ubuntu, ensuring smooth updates and secure access to your music library.","breadcrumb":{"@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#primaryimage","url":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp","contentUrl":"https:\/\/serverhost.com\/blog\/wp-content\/uploads\/2025\/02\/f7d3e86e-f8d2-4185-95e3-1a38a3f0e77a.webp","width":1920,"height":1008},{"@type":"BreadcrumbList","@id":"https:\/\/serverhost.com\/blog\/resolving-the-spotify-no-pubkey-error-on-ubuntu-a-step-by-step-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/serverhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Resolving the Spotify &#8216;No PubKey&#8217; Error on Ubuntu: A Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/serverhost.com\/blog\/#website","url":"https:\/\/serverhost.com\/blog\/","name":"ServerHost Hosting Solutions Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serverhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/535ebc9c42672d8f79ad3ee8ea563d66","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serverhost.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b8e5973018461f98bcdda40e69a0a7ae6548c079e5e7a1a0c8b40c0738e0fb52?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/serverhost.com\/blog"],"url":"https:\/\/serverhost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/2098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/comments?post=2098"}],"version-history":[{"count":1,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/2098\/revisions"}],"predecessor-version":[{"id":2291,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/posts\/2098\/revisions\/2291"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media\/2099"}],"wp:attachment":[{"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/media?parent=2098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/categories?post=2098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverhost.com\/blog\/wp-json\/wp\/v2\/tags?post=2098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}