<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to download debian packages in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/6108209#M22822</link>
    <description>&lt;P&gt;I tried downloading in browser (firefox), but it kept failing.&amp;nbsp; I had to use the CLI to download the .deb manually and use dpkg to install it - wget &lt;A href="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.37.701.ge66eb7bc_amd64.deb" target="_blank"&gt;https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.37.701.ge66eb7bc_amd64.deb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still failed during download 3 times due to write errors&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jun 2024 19:11:26 GMT</pubDate>
    <dc:creator>klaami</dc:creator>
    <dc:date>2024-06-01T19:11:26Z</dc:date>
    <item>
      <title>Unable to download debian packages</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/5881608#M22606</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;USA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;PC - Ryzen 5950x&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ubuntu 22.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;  Error reading from server. Remote end closed connection [IP: 108.138.101.34 80]
E: Failed to fetch http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.26.1187.g36b715a1_amd64.deb  Error reading from server. Remote end closed connection [IP: 108.138.101.34 80]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;When I try to follow the debian package instructions, it seems like the repository is downloading very slowly (50 kb/s) and then eventually disconnecting me. I have 1gbs fiber and I only have issues with this repository. It seems like it's overloaded or not supported very well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I prefer to install using debian packages as the snap store tends to have bugs and contaminates my system with strange configurations that are hard to debug.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 20:40:11 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/5881608#M22606</guid>
      <dc:creator>bkite</dc:creator>
      <dc:date>2024-02-12T20:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to download debian packages</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/5887860#M22613</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/3684875"&gt;@bkite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've had the same issue with that particular server. The only method that helped me get the .deb downloaded is opening &lt;A href="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/" target="_self"&gt;the repository site&lt;/A&gt; in browser and attempting to download the newest version from there 'by hand'. It won't be that slow, but will cut connection every few seconds, so in the end you have to retry quite a few times before you get the file downloaded. How good the integrity is is a different topic, as there's no way to check.&lt;BR /&gt;&lt;BR /&gt;I haven't had issues with Spotify installed from such a .deb, but it also never updated past its initial downloaded version. : ) Likely just because the connection doesn't last. So you have to take care of updating the client too.&lt;BR /&gt;Upside is.. it's fast!&lt;BR /&gt;&lt;BR /&gt;Hope it helps, have a lovely day! I wish the site worked better since .deb packages are generally pretty fault-proof compared to snap and are far better to handle.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 21:45:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/5887860#M22613</guid>
      <dc:creator>Sebasty</dc:creator>
      <dc:date>2024-02-15T21:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to download debian packages</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/6108209#M22822</link>
      <description>&lt;P&gt;I tried downloading in browser (firefox), but it kept failing.&amp;nbsp; I had to use the CLI to download the .deb manually and use dpkg to install it - wget &lt;A href="https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.37.701.ge66eb7bc_amd64.deb" target="_blank"&gt;https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.2.37.701.ge66eb7bc_amd64.deb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still failed during download 3 times due to write errors&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 19:11:26 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/6108209#M22822</guid>
      <dc:creator>klaami</dc:creator>
      <dc:date>2024-06-01T19:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to download debian packages</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/6111635#M22825</link>
      <description>&lt;P&gt;You can use something like the script below to download/auto-resume the DEB file directly from the Spotify repo. Script can download from stable or testing channel and will verify the checksum when complete. You can then manually install the DEB with dpkg or with whatever methods you normally handle DEBs.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;save as file, chmod +x, run.&lt;BR /&gt;Example: ./deb_download.sh or&amp;nbsp;./deb_download.sh -testing&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;#!/usr/bin/env bash&lt;BR /&gt;&lt;BR /&gt;BASE_URL="http://repository.spotify.com/"&lt;BR /&gt;&lt;BR /&gt;# Package info URL | Use "-testing" for testing channel, else stable &lt;BR /&gt;if [ "$1" == "-testing" ]; then&lt;BR /&gt;channel_name="testing"&lt;BR /&gt;PACKAGES_URL="${BASE_URL}dists/testing/non-free/binary-amd64/Packages"&lt;BR /&gt;shift&lt;BR /&gt;else&lt;BR /&gt;channel_name="stable"&lt;BR /&gt;PACKAGES_URL="${BASE_URL}dists/stable/non-free/binary-amd64/Packages"&lt;BR /&gt;shift&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# Fetch file info&lt;BR /&gt;file_info=$(curl -s $PACKAGES_URL | awk '/Package: spotify-client/,/^$/{print; if (/SHA256/) exit}')&lt;BR /&gt;&lt;BR /&gt;# Extract filename and hash from file info&lt;BR /&gt;filename=$(echo "${file_info}" | grep Filename | awk '{print $2}')&lt;BR /&gt;sha256sum_expected=$(echo "${file_info}" | grep SHA256 | awk '{print $2}')&lt;BR /&gt;&lt;BR /&gt;# DEB file URL&lt;BR /&gt;DEB_URL="${BASE_URL}${filename}"&lt;BR /&gt;&lt;BR /&gt;# Temporary filename&lt;BR /&gt;temp_file=$(basename "${filename}")&lt;BR /&gt;&lt;BR /&gt;# Function to calculate SHA256 of downloaded file&lt;BR /&gt;calculate_sha256() {&lt;BR /&gt;sha256sum "${temp_file}" | awk '{print $1}'&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Function to download file with resume capability&lt;BR /&gt;download_file() {&lt;BR /&gt;echo -e "Downloading ${temp_file} from ${channel_name} channel...\n"&lt;BR /&gt;curl -C - -o "${temp_file}" "${DEB_URL}"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Download file and verify hash&lt;BR /&gt;while true; do&lt;BR /&gt;download_file&lt;BR /&gt;if [ -f "${temp_file}" ]; then&lt;BR /&gt;sha256sum_actual=$(calculate_sha256)&lt;BR /&gt;if [ "${sha256sum_actual}" == "${sha256sum_expected}" ]; then&lt;BR /&gt;echo -e "\nFile downloaded and verified successfully."&lt;BR /&gt;break&lt;BR /&gt;else&lt;BR /&gt;echo -e "\nHash mismatch. Redownloading..."&lt;BR /&gt;rm -f "${temp_file}"&lt;BR /&gt;fi&lt;BR /&gt;else&lt;BR /&gt;echo -e "\nDownload failed. Retrying..."&lt;BR /&gt;fi&lt;BR /&gt;done&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 15:50:42 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Unable-to-download-debian-packages/m-p/6111635#M22825</guid>
      <dc:creator>s3tit</dc:creator>
      <dc:date>2024-06-03T15:50:42Z</dc:date>
    </item>
  </channel>
</rss>

