INTERACT FORUM
More => Old Versions => JRiver Media Center 20 for Linux => Topic started by: bob on February 20, 2015, 04:59:25 pm
-
I've created a couple of repositories you can try out. You'll first need to get the key. As root do this:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -
Then add the repository of your choice to /etc/apt/sources.list.d.
Create a file in that directory called mediacenter20.list
In that file, for the stable distribution put:
deb [arch=i386] http://dist.jriver.com/stable/mediacenter/ wheezy main
or for the latest:
deb [arch=i386] http://dist.jriver.com/latest/mediacenter/ wheezy main
update your apt and you should be ready to go.
-
I actually got this working in Ubuntu with some modifications and manual import of the key. Later when I get a little more time I'll post a tutorial on how to do this in the Ubuntu topic.
-
Worked for me too (Ubuntu 14.04 64 bit). Thanks Bob!
-
Awesome! Thanks bob!
Update: the repository is working well on Linux Mint 17.1!
-
Brilliant!
I believe the instructions for importing the key should read:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -
Ubuntu users would likely need to do:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | sudo apt-key add -
Thanks! Great improvement.
-
Brilliant!
I believe the instructions for importing the key should read:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -
Ubuntu users would likely need to do:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | sudo apt-key add -
Thanks! Great improvement.
Correct. For some reason my command got truncated...
-
Does this mean you can then do "sudo apt-get install mediacenter20"?
-
Yes.
-
And you can update MC via your package manager of choice.
Also you should use this for Ubuntu and Linux Mint to add the key via Terminal;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
-
Thanks; guess that makes my auto-update CRON script slightly redundant, but I'll leave it running as it will still work as long as updates continue to be made available like this:
http://files.jriver.com/mediacenter/channels/v20/latest/MediaCenter-20.0.nn.deb
-
One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
This should work fine for Debian too.
-
One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
This should work fine for Debian too.
Thanks, that's a good idea.
-
One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
This should work fine for Debian too.
Ok, that's done.
I did list both architectures in the mediacenter20.list. I'm not sure that's the best idea since the amd64 is beta. We'll see...
-
I am a little bit lost as there have been changes in which code to use in this topic on how to add key and repositories.
Is it an idea to list the definite changes in code for Debian and Ubuntu in 1 "reply"?
-
If you want to add the repository and install Media Center 20 (in both Debian and Ubuntu), use the following Terminal commands;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
If you already have Media Center 20 manually installed, use the first three commands.
-
If you want to add the repository and install Media Center 20 (in both Debian and Ubuntu), use the following Terminal commands;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
If you already have Media Center 20 manually installed, use the first three commands.
Question for those of us (well at least me) who are slow on the uptake. What do I have to do to ensure that I direct apt-get to pull down the 32 bit version?
I had a go at this the other week and had a melt down. Sorry, I had too much going on to post but I think the 64 bit repository was grabbed by mistake. I'll make sure I clonezilla the unit before trying again. Fortunately, I was able to do a rebuild but it was an old image and it took a bit of time to get back on the straight and narrow with other priorities that I had to deal with.
-
Question for those of us (well at least me) who are slow on the uptake. What do I have to do to ensure that I direct apt-get to pull down the 32 bit version?
I had a go at this the other week and had a melt down. Sorry, I had too much going on to post but I think the 64 bit repository was grabbed by mistake. I'll make sure I clonezilla the unit before trying again. Fortunately, I was able to do a rebuild but it was an old image and it took a bit of time to get back on the straight and narrow with other priorities that I had to deal with.
To specify the 32 bit version, try sudo apt-get install mediacenter20:i386
-
To specify the 32 bit version, try sudo apt-get install mediacenter20:i386
You can also specify the architecture in the place where you put the repository path.
i.e.
deb [arch=i386] ...
-
Thanks all.
Success on Ubuntu 14.04 LTS.
Followed Bob's advice at the top and navigated to the directory:
/etc/apt/sources.list.d.
Did a gksu gedit and edited in the dependency as noted with the qualifier ... [arch=i386]
Worked a treat.
All set now. Nice one.
-
I think I must be in need of a little more linux education.
I used the repository to install media centre (debian v88) in the first place. Now I come to try and get the latest update using sudo apt-get update and I get the following message:
"W: GPG error: http://dist.jriver.com wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C30B25C6077765D5"
I thought I had to get a key right at the outset when I followed the instructions above. If I didn't get a key how did it install? Or is this a different key being referred to?
many thanks
Paul
-
Try using these commands;
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
-
Awesome
OK I confused now on several counts.
I ran those 4 commands, when I first installed media centre and was under the impression that all of them only needed to be run at the outset as mediacenter 20 would have been added to the "sources list" and I'd have the necessary key to be able to retrieve and install the package. Therefore I'd only need to "apt-get update" to download and install any updates. Do I need to run all of them each time to update?
As you suggested I ran them and the update packages downloaded as before when I ran "apt-get update" which returned done this time, rather than the error, but when running the last command to install, it didn't do it as it says I am already on the latest version. Checking in MC shows I' m on v88, but I thought I'd downloaded v93.
Thanks
Paul
-
Looks like 20.0.93 hasn't been added to the latest apt repository yet, that's why you're seeing that issue. Manually download the 20.0.93 AMD64 .deb file and install it via dpkg -i in the Terminal.
-
I added a Jessie apt repository.
It will be amd64 only for now.
It includes gnutls28-deb0. I need feedback on this for the unsupported distros. On Ubuntu 14.10 it just works since gnutls28-deb0 is already in the OS.
You can get the list file following the previous instructions replacing mediacenter20.list with mediacenter20jessie.list
-
FYI guys, it's not recommended to use this new mediacenter20jessie.list on Ubuntu 15.04 as it'll try to update the existing gnutls28-deb0 and it WILL break the system.
-
Any chance of you adding ARM to the repository?
;D
-
FYI guys, it's not recommended to use this new mediacenter20jessie.list on Ubuntu 15.04 as it'll try to update the existing gnutls28-deb0 and it WILL break the system.
Shouldn't it use the one from the ubuntu servers? I'd think it's newer.
-
Any chance of you adding ARM to the repository?
;D
Ok. Just did.
I've not added any extra packages, just MC at this time. It's build 20.0.101
-
Shouldn't it use the one from the ubuntu servers? I'd think it's newer.
Ubuntu 15.04 uses 3.3.8-3ubuntu3 whereas the one on the repository is 3.3.8-6.
Maybe a creating a Launchpad repository at some point for Ubuntu users might be beneficial?
-
Ubuntu 15.04 uses 3.3.8-3ubuntu3 whereas the one on the repository is 3.3.8-6.
That's unfortunate. I wonder if renaming it (and perhaps repackaging it) to a slightly lower version would do the trick.
Maybe a creating a Launchpad repository at some point for Ubuntu users might be beneficial?
Perhaps, however we aren't in a place to add more things to maintain right now.
-
That's unfortunate. I wonder if renaming it (and perhaps repackaging it) to a slightly lower version would do the trick.Perhaps, however we aren't in a place to add more things to maintain right now.
If so, would it conflict with any existing version, or would it just be used by MC?
-
If so, would it conflict with any existing version, or would it just be used by MC?
It wouldn't get used if you have a newer version.
Another option would be to just take it out and see how many people that affects.
-
All works thanks Bob! :) That makes it a bit simpler!
pi@raspberrypi ~ $ sudo apt-get install mediacenter20
Reading package lists... Done
Building dependency tree
Reading state information... Done
mediacenter20 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
PS. I just ran this from above, for those that want to make upgrading MC20 on Pi quicker.
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
-
All works thanks Bob! :) That makes it a bit simpler!
pi@raspberrypi ~ $ sudo apt-get install mediacenter20
Reading package lists... Done
Building dependency tree
Reading state information... Done
mediacenter20 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
PS. I just ran this from above, for those that want to make upgrading MC20 on Pi quicker.
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
The mediacenter20.list you reference above is multiarch for i386 and amd64. I added a native list that doesn't specify arches.
it's mediacenter20native.list
-
ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list
-
Hello,
I have an error 403 when trying to update to .105
W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/main/binary-i386/Packages 403 Forbidden
It worked fine to update to .95 and nothing changed in my setup.
Please can you check your web page permissions?
-
ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list
Actually, I'd use this (and override the local mediacenter20.list if one's present);
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
-
ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list
Yes
-
Hello,
I have an error 403 when trying to update to .105
W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/main/binary-i386/Packages 403 Forbidden
It worked fine to update to .95 and nothing changed in my setup.
Please can you check your web page permissions?
Access was restricted for testing. It's back up now.
-
I removed the libgnutls28-deb0 from the jessie amd64 apt repository.
-
W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/Release Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)
I'm stuck and hoping someone can give me tips to resolve install on beaglebone black.
i have updated my /etc/apt/sources.list to reflect deb [arch=i386] http://dist.jriver.com/latest/mediacenter/ wheezy main.
and also tried the 4 lines awesome donkey published using mediacenter20native.list
cheers
-
Are you using ARM?
-
i see.. i was using debian,
I have just installed arch ARM for the beaglebone black.
-
I'm trying to install MediaCenter on a Debian Wheezy machine from the APT repository, but I get the error "E: Unable to locate package mediacenter20" when I run
apt-get install mediacenter20
I'm following the instructions from https://yabb.jriver.com/interact/index.php?topic=97691.0 for the 32-bit Jessie install and they seemed to work fine but I get the error above when I try to do the actual install. Do I need to follow different steps since I'm on Wheezy?
Thanks,
Jonathan
-
What is the hardware you're using?
-
It's a VM running under KVM with 64-bit Debian Wheezy installed. It's part of my home server running on an Intel Celeron E3300. I'm planning on using it as a media server. So far I've just been using Media Center on a windows HTPC connected to my TV.
-
In the repository, wheezy is i386.
If you want amd64 you should use Jessie.
-
looking for feedback on installation of MC on my BBB. debian wheezy -
I'm getting a Segmentation fault.
any help would be appreciated.
-
looking for feedback on installation of MC on my BBB. debian wheezy -
I'm getting a Segmentation fault.
any help would be appreciated.
Your last post said you were using arch.
If you are using debian wheezy on your bbb make sure dependencies are satisfied (including installing xfonts-75dpi).
You must also be running in 24 bit video mode, not 16.
MC REQUIRES an XServer.
-
Ok. So I tried just switching to the Jessie repository, but that broke with the dependencies as I suspected it might. I switched back to the Wheezy repository and ran the command:
dpkg --add-architecture i386
as recommended in http://yabb.jriver.com/interact/index.php?topic=85957.msg604793#msg604793. That did the trick and it updated dependencies and installed mediacenter. Now to see if it works.