There may be issues through package dependancies and the two architectures so make sure you do all your testing on a spare SD card.In some of our tutorials, we like to build packages from source as this helps you to get more experience as a developer, knowing the why of the things etc. Another nice package to have is alsamixer which can be installed from: sudo apt install alsa-utilsĪt this point you should be running a ARM64 based system which has the ability to install armhf packages. OPTIONS="-username whatever -password whatever -device plughw:CARD=sndrpihifiberry" In my case this that is adding the Spotify logon details and the device details for my Hifiberry DAC+: BITRATE="320" Edit the config file to suit your needs: sudo nano /etc/default/raspotify Now that is looking better we can follow the Raspotify install guide or to install Raspotify manually:Īt this point everything should be installed and Raspotify should be working. Install the deb which should complete without errors: sudo dpkg -i b Which also errors but running the fix sorts out the issues apt -fix-broken install Which results in a dependency error: dpkg: dependency problems prevent configuration of raspotify:armhf:Īdd the missing package: sudo apt install libasound2 We can check this via: dpkg -print-foreign-architecturesĪt this point we want to manually install the Raspotify deb file: wget Now the system should support armhf packages. So now add armhf to our current install: sudo dpkg -add-architecture armhf To begin make sure you are running ARM64: dpkg -print-architecture This enables you to run different architectures concurrently e.g. However with an eye on the future one solution to this is to use multiarch. Obviously you can switch back to a distribution that supports 32bit/armhf. Unfortunately raspotify is built for Raspbian which at least at the time of writing is 32bit/armhf only. So unpacking that a bit it seems that in switching to using Ubuntu Server from Raspbian on my Linux Spotify connect Raspberry Pi’s the architecture is ARM64 (ARMv8) rather than using armhf. Going through the manual install procedure you end up something more meaningful: N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository ' raspotify InRelease' doesn't support architecture 'arm64' On installing Raspotify on a new build of Ubuntu 19.10 for Raspberry Pi I saw the following error: Raspotify installer only runs on a Raspberry Pi
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |