aspiers / opensuse-spotify-installer

Automate installation of Spotify on openSUSE
80 stars 29 forks source link

rpmbuild failed :-( #20

Closed beurtbalkje closed 11 years ago

beurtbalkje commented 11 years ago

I saw apper install an update of spotify-installer and tried it out. But it failed: http://www.susepaste.org/71265945

beurtbalkje commented 11 years ago

Follow-up: when deleting the ~/rpmbuild directory, it gives this message:

install-spotify rpm-build is already installed.

Downloading Spotify .deb package ... --2013-06-29 08:29:13-- http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.0.133.gd18ed58.259-1_amd64.deb Herleiden van repository.spotify.com (repository.spotify.com)... 78.31.8.20 Verbinding maken met repository.spotify.com (repository.spotify.com)|78.31.8.20|:80... verbonden. HTTP-verzoek is verzonden; wachten op antwoord... 404 Not Found 2013-06-29 08:29:13 Fout 404: Not Found.

wget -O /home/andre/rpmbuild/SOURCES/spotify-client_0.9.0.133.gd18ed58.259-1_amd64.deb http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.0.133.gd18ed58.259-1_amd64.deb failed! Aborting.

Probably because of a version conflict? The *.deb with version number 259-1 is not on the repository.spotify.com website: It's 203-1.

dauhuber commented 11 years ago

Happened because spotify-client_0.9.0.133.gd18ed58.259 is no longer in the Spotify Repo.

http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb is recent.

Change the version in /usr/bin/install-spotify to 0.9.1.55.gbdd3b79.203-1

Change the version in /usr/src/packages/SPECS/spotify-client.spec to 0.9.1.55.gbdd3b79.203.

run install-spotify

Now you have the most recent version ;-).

Request to coders: Parse http://repository.spotify.com/pool/non-free/s/spotify/ for the most recent version instead hardcoding the version number.

beurtbalkje commented 11 years ago

Thnx for the tip of changing the version number for the spec file also. I changed the version number in the script, but forgot to check the spec file.

I will try it out now and if anything goes wrong, I know where to go: thank you for the reaction!

Op zondag 30 juni 2013 10:52:41 schreef dauhuber:

Happened because spotify-client_0.9.0.133.gd18ed58.259 is no longer in the Spotify Repo. http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb[1]

Change the version in /usr/bin/install-spotify to 0.9.1.55.gbdd3b79.203-1 Change the version in /usr/src/packages/SPECS/spotify-client.spec to 0.9.1.55.gbdd3b79.203. run install-spotify Now you have the most recent version ;-). Request to coders: Parse http://repository.spotify.com/pool/non-free/s/spotify/[2]

—Reply to this email directly or view it on GitHub[3].[4]


[1] http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb [2] http://repository.spotify.com/pool/non-free/s/spotify/ [3] https://github.com/aspiers/opensuse-spotify-installer/issues/20#issuecomment-20252140 [4] https://github.com/notifications/beacon/qh81jMbzAKoNty15fUOqD_po2QTV_T3aL_I HFdLk2D2OmJBa1f2UGy_8c70xK8IJ.gif

aspiers commented 11 years ago

This is effectively a well-disguised duplicate of #19 - the future of opensuse-spotify-installer is to install via spotify-make, and this will happen as soon as @leamas and I can iron out the remaining wrinkles. At that point we will most likely still hardcode the version number, because it still needs to be tested against each new Spotify release, rather than silently breaking every time Spotify makes a new release (although with their idiotic policy of removing older binaries from the repository this is pretty much unavoidable anyway :-( )