INTERACT FORUM

More => Old Versions => JRiver Media Center 31 for Linux => Topic started by: Dennis in FL on May 18, 2023, 05:05:15 am

Title: Help needed for Raspberry Pi
Post by: Dennis in FL on May 18, 2023, 05:05:15 am
In the past I installed new versions with the following

Quote
sudo apt install gnupg2 wget ca-certificates
wget -nc http://dist.jriver.com/mediacenter@jriver.com.gpg.key
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter31.list -O /etc/apt/sources.list.d/mediacenter31.list
sudo apt-get update
sudo apt -remove mediacenter30
sudo apt-get install mediacenter31

But it no longer works and I get the error

E: Unable to locate package mediacenter31

Help!!
Title: Re: Help needed for Raspberry Pi
Post by: Awesome Donkey on May 18, 2023, 05:41:59 am
Easiest way to install or upgrade MC on a Raspberry Pi (or really almost any Linux distro) is by using the installJRMC script.

But if you want to know what the likely issue is (which I'm going to guess as I have no time to test it), I'm guessing the problem you're experiencing is related to the links in the commands - they should probably be changed from http:// to https:// since that changed a good while ago, as using https:// would be recommended in my mind. Also you *should* be able to install the MC30 latest repo and pull MC31 from it as long as you switch to the Bullseye branch. But, again, I can't stress enough how much easier it is to use installJRMC to install MC on most Linux distros at this point, basically one stop and there ya go.

But if you do it manually you likely need to edit the .list file and change whatever is used (Buster or Jesse) to Bullseye like Bob said in the release topic, as I mentioned above MC31 is in the Bullseye branch. I actually use the jriver.list file that the installJRMC script created (if going this route, delete the mediacenter.list files first) and what I did was I edited the jriver.list file in a text editor and changed it to Bullseye and it works great for me for MC31 on my Raspberry Pi. IMO there's really no need to have multiple mediacenter.list files anymore, just make a generic one and change it when a rebase happens (e.g. Buster or Jesse to Bullseye).

EDIT: Seems like changing http:// to https:// doesn't work at all... that's not good IMO, hopefully that's something that can be fixed and supported in the future...
Title: Re: Help needed for Raspberry Pi
Post by: Dennis in FL on May 18, 2023, 08:03:21 am
Easiest way to install or upgrade MC on a Raspberry Pi (or really almost any Linux distro) is by using the installJRMC script.


EDIT: Seems like changing http:// to https:// doesn't work at all... that's not good IMO, hopefully that's something that can be fixed and supported in the future...

the installJRMC script worked....thank you.

Title: Re: Help needed for Raspberry Pi
Post by: bob on May 19, 2023, 03:40:38 pm
In the past I installed new versions with the following

But it no longer works and I get the error

E: Unable to locate package mediacenter31

Help!!
Thanks for the feedback, the dist file needed to be changed from buster to bullseye. It should be good now.
Title: Re: Help needed for Raspberry Pi
Post by: HaWi on May 23, 2023, 01:36:59 pm
After upgrading my rPi4 to Bullseye, InstallJRMC worked flawlessly and I am running MC31.0.12 on the Pi now without any issues. Even seems a bit more nimble now.
Great work! Thanks to Bob and everyone making it possible!
Title: Re: Help needed for Raspberry Pi
Post by: bob on May 23, 2023, 01:55:55 pm
After upgrading my rPi4 to Bullseye, InstallJRMC worked flawlessly and I am running MC31.0.12 on the Pi now without any issues. Even seems a bit more nimble now.
Great work! Thanks to Bob and everyone making it possible!
Great, thanks for the report back!