More > JRiver Media Center 21 for Linux

Pine64 ARM install issue

<< < (3/3)

bprochford:

--- Quote from: mwillems on June 06, 2016, 08:39:04 pm ---Did you forget to run the "sudo apt-get update" before trying to install?

--- End quote ---

No, I remembered. This is the message I got after"sudo apt-get update:"

W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)


mwillems:

--- Quote from: bprochford on June 06, 2016, 09:31:26 pm ---No, I remembered. This is the message I got after"sudo apt-get update:"

W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)

--- End quote ---

That's why it's important to post all the errors you see  ;D.  I was confused that the first error you saw was at the install command (which could only be explained by a failure to run update or a lack of internet connection).  The earlier update error is the real issue (you won't ever be able to install the package if the repo doesn't exist).  

If you look at the first post in the thread, the original poster had your same update error, and the steps to fix it are described above (with links to some helpful code snippets).  

The short version is that there is no native arm64 package version of JRiver.  So adding a repo in the usual way targeting your native arch won't work (the pine is an unusual piece of hardware).  So you'll need to either modify the .list file so it refers to armhf (for which a build exists), or manually download the package and then install it. Either way you'll also need to setup multi-arch as described above or it won't run.

Try manually downloading the latest arm build, enabling multi-arch as described above, and then installing it.  Once you get that sorted, we can work on the repo.


--- Quote from: slerch666 on June 01, 2016, 09:28:30 am ---Going through the steps in the guide, I skip all the Pi specific fun, add the repository, and run sudo apt-get update.

Here's what I see:

Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-arm64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

--- End quote ---

bprochford:

--- Quote from: mwillems on June 06, 2016, 10:30:04 pm ---That's why it's important to post all the errors you see  ;D.  I was confused that the first error you saw was at the install command (which could only be explained by a failure to run update or a lack of internet connection).  The earlier update error is the real issue (you won't ever be able to install the package if the repo doesn't exist).  

If you look at the first post in the thread, the original poster had your same update error, and the steps to fix it are described above (with links to some helpful code snippets).  

The short version is that there is no native arm64 package version of JRiver.  So adding a repo in the usual way targeting your native arch won't work (the pine is an unusual piece of hardware).  So you'll need to either modify the .list file so it refers to armhf (for which a build exists), or manually download the package and then install it. Either way you'll also need to setup multi-arch as described above or it won't run.

Try manually downloading the latest arm build, enabling multi-arch as described above, and then installing it.  Once you get that sorted, we can work on the repo.


--- End quote ---

I'm apologize. I should have also mentioned that I tried to set up multi-arch based on the first post. I am unable to find the package name for the install step. I think that may be my problem. I don't know what file name to put in at "sudo apt-get install nameofpackage:armhf"

mwillems:
Ok let's take it one step at a time and I'll try to explain what's breaking.  

The repo you added isn't an existing repo, so you won't be able to apt-get anything from it.  Adding the repo using the command from the pi tutorial works for the pi because it adds a repo that corresponds to the pi's native architecture (which is armhf, and JRiver has an armhf build).  The pine is arm64, for which no JRiver build exists.  So when you used the "native" repo command it tried to add a .list for a repo that doesn't actually exist.  The "apt-get install" command interacts with repos so that's why you're getting an error.  Adding multi-arch support adds in the debian official armhf repos, which is important so that you can install JRiver's dependencies, but JRiver isn't in the main Debian repos, which is why you needed to add a repo in the first place.  

So an apt-get for mediacenter21 will never work until you fix your JRiver .list to point to armhf instead of the (absent) arm64 repo.  You'd do that by editing the file at /etc/apt/sources.list.d/mediacenter21.list.  If you post the contents of that file on your machine, I can offer some very specific advice, but the usual way to fix it is to add the arch the repo is targeting in brackets after the "deb".  So it should look something like:

--- Code: ---deb [arch=armhf] http://dist.jriver.com/latest/mediacenter/ wheezy main

--- End code ---

Alternatively, if you want to deal with the repo issue later and just want to get up and running, you can just directly download the latest arm build and install it directly.  You can do that by typing:

--- Code: ---wget http://files.jriver.com/mediacenter/channels/v21/latest/MediaCenter-21.0.85-armhf.deb
sudo dpkg -i MediaCenter-21.0.85-armhf.deb

--- End code ---

That should get you a working version of JRiver (assuming you got multiarch setup correctly).  You'd still need to fix the repo if you want to upgrade in a non-manual way in the future.

Hope this helps, and good luck on your journey into Linux  ;D

bprochford:
Thanks so much for your instruction and patience. Looks like will get me on track. I really appreciate the help.

Navigation

[0] Message Index

[*] Previous page

Go to full version