INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Linux => Topic started by: dcpete on May 11, 2018, 12:46:48 am

Title: Install Problem on Ubuntu 18.04
Post by: dcpete on May 11, 2018, 12:46:48 am
Hi,

First time installing J River on Linux.  I cut and pasted all the steps in the tutorial and everything seemed to go fine.  But the last step I got "Unable to locate package mediacenter24".   This doesn't seem to be a dependency problem, but I am not a Linux expert.  Here are the screen shots....

Appreciate any advise.

Thanks, Chris

Code: [Select]
sudo wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
[sudo] password for chris:
OK

sudo sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24.list
--2018-05-10 22:08:42--  http://dist.jriver.com/latest/mediacenter/mediacenter24.list
Resolving dist.jriver.com (dist.jriver.com)... 216.14.187.181
Connecting to dist.jriver.com (dist.jriver.com)|216.14.187.181|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88
Saving to: ‘/etc/apt/sources.list.d/mediacenter24.list’

/etc/apt/sources.li 100%[===================>]      88  --.-KB/s    in 0s     

2018-05-10 22:08:43 (9.41 MB/s) - ‘/etc/apt/sources.list.d/mediacenter24.list’ saved [88/88]

sudo apt-get install mediacenter24
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mediacenter24

sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt-get install mediacenter24
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mediacenter24




Title: Re: Install Problem on Ubuntu 18.04
Post by: astromo on May 11, 2018, 12:55:25 am
Could be that the JRiver repo is offline.

I've seen this recently with the Id just prior to an update.

I'd suggest trying again when the U.S. has walked back in the office. It's about midnight over there right now if my maths is right. So, you might have to wait until they've at least had a chance to wake up and knock back their first mug of Joe.
Title: Re: Install Problem on Ubuntu 18.04
Post by: Awesome Donkey on May 11, 2018, 03:33:40 am
I see two issues here. The first problem...

Code: [Select]
sudo sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24.list
Two sudos? That could create a problem.

Let's try this again with a clean slate - try this command first to remove the existing sources list...

Code: [Select]
sudo rm /etc/apt/sources.list.d/mediacenter24.list
And then try the command again with only one sudo...

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter24.list -O /etc/apt/sources.list.d/mediacenter24.list
Now, the second problem (and likely the what the issue is) is it also looks like you didn't run...

Code: [Select]
sudo apt-get update
Which is required before you run sudo apt-get install mediacenter24 or else it will not work. After adding the repo the packages list needs to be refreshed/updated.
Title: Re: Install Problem on Ubuntu 18.04
Post by: dcpete on May 11, 2018, 10:01:38 am
Mr. Awesome,

Ok, that worked.  I followed your steps.  I think that double "sudo" was just a cut&paste error on my part posting this thread.  I guess somehow I missed the "sudo apt-get update" step as you surmised.  Sorry about that, but do appreciate getting me on my way.

Thank you, Chris