pamac build spotify-dev
Choose e
to edit build files. Add this line to PKGBUILD
DLAGENTS=("http::/usr/bin/wget -r -np -nd -H %u")
Save and apply transaction. Good luck!
Git Clone URL: | https://aur.archlinux.org/spotify-dev.git (read-only, click to copy) |
---|---|
Package Base: | spotify-dev |
Description: | A proprietary music streaming service |
Upstream URL: | https://www.spotify.com |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | imp0 |
Maintainer: | imp0 (karel_louwagie, sorcix) |
Last Packager: | imp0 |
Votes: | 24 |
Popularity: | 0.74 |
First Submitted: | 2019-02-19 21:06 |
Last Updated: | 2021-04-15 14:41 |
pamac build spotify-dev
Choose e
to edit build files. Add this line to PKGBUILD
DLAGENTS=("http::/usr/bin/wget -r -np -nd -H %u")
Save and apply transaction. Good luck!
***Please disregard, I was able to fix this by reseting build files through pamac. Thanks!
Server seems to work on my end but I also get the checksum fail error, and I don't understand how to fix this even though I went through the comments. Newbie question of the day... What is a clean build ?Would really appreciate some help. New Arch user, I'm used to Debian. Thanks in advance!
Error message:
==> Starting prepare()... spotify-x86_64-Packages: OK spotify-1.1.56.595-x86_64.deb: FAILED sha512sum: WARNING: 1 computed checksum did NOT match ==> ERROR: A failure occurred in prepare(). Aborting...
Spotify servers always drop connections in the first few days of any release, it fails and can't resume. Just wait until the servers are stable enough to complete the download.
Or maybe download the binary with wget (which does have resume failed) then drop it on the aur helper building directory and edit the PKGBUILD. You can also edit /etc/pacman.conf to uncomment the use of wget of curl with resume failed, but the output will be uglier.
@coder2000 got the same exact problem, it's stuck at 11.2M
==> Retrieving sources... -> Downloading spotify-Release... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2447 100 2447 0 0 6912 0 --:--:-- --:--:-- --:--:-- 6892
-> Downloading spotify-Release.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 833 100 833 0 0 2833 0 --:--:-- --:--:-- --:--:-- 2833
-> Downloading spotify-1.1.55.498-x86_64.deb... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 77 127M 77 98.7M 0 0 10.0M 0 0:00:12 0:00:09 0:00:03 11.2M
curl: (18) transfer closed with 30182373 bytes remaining to read ==> ERROR: Failure while downloading http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.55.498.gf9a83c60_amd64.deb Aborting... error downloading sources: spotify-dev
It seems the repo servers are not working correctly, it prematurely closes the connection after 1%. Is there an alternate download location?
@guemidiborhane Do the clean build.
checksum is failing for some reason
Does it actually require gtk2?
@MCOfficer, I don't think the sudo on the gpg command is required unless you run makepkg with sudo as well. I actually had to import the key as my regular user for it to be accepted.
Pinned Comments
imp0 commented on 2020-11-01 15:43
If no keyserver is specified, GnuPG uses hkps://hkps.pool.sks-keyservers.net.
Unfortunately, at this time, almost no servers in that pool are active.
Update the gpg configuration in your build environment to use a different (pool of) keyserver(s).