Spotify can't be installed

I run manjaro 5.14.2-1 and whenever I try to download spotify, it always gives me an error. This is what it shows me when I download it. Also I don’t want to download it via flatpat/snap because I don’t want their versions

pamac:

    ~  curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | gpg --import -                                                        
gpg: key D1742AD60D811D58: "Spotify Public Repository Signing Key <tux@spotify.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

    ~  pamac build spotify                                                                                                                                     ✔ 
Preparing...
Cloning spotify build files...
Checking spotify dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  spotify  1:1.1.68.628-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] y


Building spotify...
==> Making package: spotify 1:1.1.68.628-1 (Wednesday, 22 September, 2021 03:02:19 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found spotify.protocol
  -> Found LICENSE
  -> Found spotify-1.1.68.628-x86_64.deb
  -> Found spotify-1.1.68.628-Release
  -> Found spotify-1.1.68.628-Release.sig
  -> Found spotify-1.1.68.628-x86_64-Packages
==> Validating source files with sha512sums...
    spotify.protocol ... Passed
    LICENSE ... Passed
    spotify-1.1.68.628-x86_64.deb ... Passed
    spotify-1.1.68.628-Release ... Skipped
    spotify-1.1.68.628-Release.sig ... Skipped
    spotify-1.1.68.628-x86_64-Packages ... Skipped
==> Verifying source file signatures with gpg...
    spotify-1.1.68.628-Release ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting spotify-1.1.68.628-x86_64.deb with bsdtar
==> Starting prepare()...
spotify-1.1.68.628-x86_64-Packages: OK
spotify-1.1.68.628-x86_64.deb: FAILED
sha512sum: WARNING: 1 computed checksum did NOT match
==> ERROR: A failure occurred in prepare().
    Aborting...

yay:

 ~yay -G spotify                                                                                                                              
:: Querying AUR...
 -> Flagged Out Of Date AUR Packages:  spotify
:: Downloaded PKGBUILD (1/1): spotify

then it shows me a notification saying "You are not authorized to execute this file. "

pacman:

sudo pacman -S spotify                                                                                                                                  ✔ 
error: target not found: spotify
warning: 'spotify' is a file, did you mean -U/--upgrade instead of -S/--sync?

What should I do?

Not a direct solution, but you could create a Web App temporarily if you don’t like Snap/Flatpak. That way you would have at least the newest web version.

You can also check on any AUR updates here: AUR (en) - spotify
Seems like you’re not alone with this issue atm.

2 Likes

Have you checked the pinned comments in the aur for Spotify? Looks like there’s an issue with it. Someone posted a temporary workaround until its fixed

I tried doing that it didn’t work for me

Just found out about this one. Thanks for sending the link!

Not the answer I know but Spotify is also available as a flatpak on manjaro

Spotify from the aur just got an update and built/re-installed for me so looks like they fixed the checksum error