Update problem after failed LibreSpot addon setup

Dear community,
I hope you can give me some finger pointers with the following.
In order to use my Vero 4k for music playback as well, I intend to install LibreSpot plugin for SPotify (Spotify connect plugin), using following instructions: [HowTo] Spotify-Connect support via Raspotify (LibreSpot).

# Add repo and its GPG key
curl -sSL https://dtcooper.github.io/raspotify/key.asc | sudo apt-key add -v -
echo ‘deb raspotify | A Spotify Connect client that mostly Just Works™ jessie main’ | sudo tee /etc/apt/sources.list.d/raspotify.list

# Install package
sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get -y install raspotify

Sudo apt-get install failes with W: Failed to fetch https://dtcooper.github.io/raspotify/dists/jessie/InRelease Unable to find expected entry ‘main/binary-arm64/Packages’ in Release file (Wrong sources.list entry or malformed file)

Using the search (forum / google), I did not come across the same / any similar problem.
I would highly appreciate any feedback.

Thank you!
Dan

Just a guess that it searches for arm64 packages based on the architecture of the Vero which are not available in that repository

Use armhf, not arm64 packages.

I tried it on my Vero4K and though it produced some errors during the update stage, it should have installed correctly.

osmc@osmc:~$ sudo apt-get update
Ign http://ftp.debian.org jessie InRelease
Hit http://ftp.debian.org jessie-updates InRelease                                  
Hit http://ftp.debian.org jessie Release.gpg                                            
Get:1 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [8884 B]       
Get:2 https://dtcooper.github.io jessie InRelease [1703 B]                                               
Ign https://dtcooper.github.io jessie InRelease                                                                                    
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages                                                                    
Get:3 https://dtcooper.github.io jessie/main arm64 Packages [9340 B]                                     
Get:4 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]                     
Hit http://security.debian.org jessie/updates InRelease                                                  
Get:5 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [8884 B]                           
Get:6 https://dtcooper.github.io jessie/main armhf Packages [9340 B]                                        
Hit http://ftp.debian.org jessie-updates/contrib armhf Packages                                          
Hit http://security.debian.org jessie/updates/main arm64 Packages                                        
Get:7 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]                     
Hit http://ftp.debian.org jessie-updates/contrib Translation-en                                                       
Hit http://security.debian.org jessie/updates/contrib arm64 Packages                       
Get:8 https://dtcooper.github.io jessie/main Translation-en [9340 B] 
Get:9 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3688 B]                     
Hit http://security.debian.org jessie/updates/non-free arm64 Packages                                 
Hit http://apt.osmc.tv jessie InRelease                                            
Get:10 https://dtcooper.github.io jessie/main arm64 Packages [9340 B]  
Get:11 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]            
Hit http://security.debian.org jessie/updates/main armhf Packages                                
Get:12 https://dtcooper.github.io jessie/main armhf Packages [9340 B]
Hit http://ftp.debian.org jessie Release                                                                                                  
Get:13 http://apt.osmc.tv jessie/main arm64 Packages/DiffIndex [2023 B]                                                                   
Hit http://security.debian.org jessie/updates/contrib armhf Packages                                                   
Hit http://security.debian.org jessie/updates/non-free armhf Packages                                                    
Hit http://ftp.debian.org jessie/main arm64 Packages                                       
Get:14 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]                    
Get:15 https://dtcooper.github.io jessie/main Translation-en [9340 B]         
Hit http://security.debian.org jessie/updates/contrib Translation-en                                                                                 
Hit http://ftp.debian.org jessie/contrib arm64 Packages                                 
Get:16 https://dtcooper.github.io jessie/main arm64 Packages [9340 B]                   
Hit http://ftp.debian.org jessie/non-free arm64 Packages                                                            
Hit http://security.debian.org jessie/updates/main Translation-en                                                   
Hit http://ftp.debian.org jessie/main armhf Packages                                                                                                 
Hit http://security.debian.org jessie/updates/non-free Translation-en                                                                                
Get:17 https://dtcooper.github.io jessie/main armhf Packages [9340 B]                                                                                
Hit http://ftp.debian.org jessie/contrib armhf Packages                                                                                              
Get:18 https://dtcooper.github.io jessie/main Translation-en [9340 B]                                                                                
Hit http://ftp.debian.org jessie/non-free armhf Packages                                                                                             
Get:19 https://dtcooper.github.io jessie/main arm64 Packages [9340 B]                                                                                
Hit http://ftp.debian.org jessie/contrib Translation-en                                                                                              
Hit http://ftp.debian.org jessie/main Translation-en                                                                                                 
Get:20 https://dtcooper.github.io jessie/main armhf Packages [9340 B]                                                                                
Hit http://ftp.debian.org jessie/non-free Translation-en                                                                                             
Get:21 https://dtcooper.github.io jessie/main Translation-en [9340 B]                                                                                
Get:22 https://dtcooper.github.io jessie/main arm64 Packages [9340 B]                                                                                
Err https://dtcooper.github.io jessie/main arm64 Packages                                                                                            
  HttpError404
Ign http://apt.osmc.tv jessie/main Translation-en                                                                                                    
Get:23 https://dtcooper.github.io jessie/main Translation-en [9340 B]                                                                                
Ign https://dtcooper.github.io jessie/main Translation-en                                                                                            
Fetched 29.8 kB in 15s (1956 B/s)                                                                                                                    
W: GPG error: https://dtcooper.github.io jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 09146F2F7953A455
W: Failed to fetch https://dtcooper.github.io/raspotify/dists/jessie/main/binary-arm64/Packages  HttpError404

E: Some index files failed to download. They have been ignored, or old ones used instead.
osmc@osmc:~$ apt-cache show raspotify
Package: raspotify
Version: 0.9~librespot.20170804T042825Z.ddfc28f
Architecture: armhf
Depends: libasound2, adduser
Maintainer: David Cooper <david@dtcooper.com>
Priority: optional
Section: base
Filename: pool/main/r/raspotify/raspotify_0.9~librespot.20170804T042825Z.ddfc28f_armhf.deb
Size: 1134104
SHA256: f59989264d25b8d4ee21cadf569d30a9e5abdfb4eeebe8ef68c37c93e0812b5b
SHA1: 3132c721e2c38ea16e4ebfd1a747299b5ba2120b
MD5sum: 8e2bc7d1ded5ab09079948de96d5d66a
Description: Raspotify
 Spotify Connect client + daemon for the Raspberry Pi, based off librespot.
 [Built with rustc 1.19.0 (0ade33941 2017-07-17)]
Description-md5: 075d1dbfd9688a1cfd6733f31f1980f8

osmc@osmc:~$ sudo apt-get install raspotify --dry-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  raspotify
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Inst raspotify (0.9~librespot.20170804T042825Z.ddfc28f dtcooper.github.io [armhf])
Conf raspotify (0.9~librespot.20170804T042825Z.ddfc28f dtcooper.github.io [armhf])

You can also download the .deb package directly: https://dtcooper.github.io/raspotify/raspotify-latest.deb which is probably the simplest option.

The Vero4K declares it has an architecture of armhf:

osmc@osmc:~$ dpkg --print-architecture
armhf

To my understanding, the package I intend to use (LibreSpot), requires the arm64 package. How can I instead use the armhf what is already existing? Any harm in installing the arm64 package in parallel?

If LibreSpot works on Pi then it won’t be ARM64.

Further to what Sam has said, where will you find the ARM64 version? There is only one download link, and that’s to the armhf version:

user@work:/tmp$ dpkg -I raspotify-latest.deb 
 new debian package, version 2.0.
 size 1134104 bytes: control archive=1123 bytes.
      23 bytes,     1 lines      conffiles            
     344 bytes,    10 lines      control              
    1266 bytes,    38 lines   *  postinst             #!/bin/sh
     650 bytes,    26 lines   *  postrm               #!/bin/sh
     160 bytes,     9 lines   *  prerm                #!/bin/sh
 Package: raspotify
 Version: 0.9~librespot.20170804T042825Z.ddfc28f
 Section: base
 Priority: optional
 Architecture: armhf
 Depends: libasound2, adduser
 Maintainer: David Cooper <david@dtcooper.com>
 Description: Raspotify
  Spotify Connect client + daemon for the Raspberry Pi, based off librespot.
  [Built with rustc 1.19.0 (0ade33941 2017-07-17)]

I have updated OSMC Forums [HowTo] Spotify-Connect support via Raspotify (LibreSpot) to make clear it is a Raspberry solution since Raspotify is a LibreSpot wrapper for Raspberry Pi. There is no generic/native OSMC solution (yet).

I am not a developer but anyone who wants to try can talk here about creating an OSMC app: LibreSpot in the OSMC App Store.

Let’s continue the discussion in the other thread. The first thing to do is confirm it works on other OSMC devices