More > JRiver Media Center 30 for Linux
installJRMC - MC installer for Linux
BryanC:
Some changes in rc7 on the path to 1.0:
* A new generic installation mode for unsupported distros, which simply unpacks the deb onto the host filesystem without a package manager or dependency checks. Tested on Gentoo. This was the final feature I wanted to add before 1.0 so all distros are now supported (in theory). installJRMC will also keep track of the files that were installed via this method and will remove them with --uninstall.
* Removed all uses of eval to make the entire script more whitespace-friendly. This has been something I've been working on slowly over time and was another 1.0 goal.
* A new -y|--yes|--auto mode that will assume "yes" for all answers.
* Lots of little bugfixes and more verbose --debug.
ssit:
Hi, I got the following error when trying to run the installer. PLEASE HELP!
./installJRMC -d
....
JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: sudo apt-get update -y -q0
Ign:1 http://httpredir.debian.org/debian stretch-backports InRelease
Err:2 http://httpredir.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:87::644 80]
Hit:3 http://dist.jriver.com/latest/mediacenter buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: The repository 'http://httpredir.debian.org/debian stretch-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error: Package update failed!
Error: JRiver Media Center installation from repo failed
max096:
--- Quote from: ssit on May 01, 2023, 05:55:13 pm ---Hi, I got the following error when trying to run the installer. PLEASE HELP!
./installJRMC -d
....
JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: sudo apt-get update -y -q0
Ign:1 http://httpredir.debian.org/debian stretch-backports InRelease
Err:2 http://httpredir.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:87::644 80]
Hit:3 http://dist.jriver.com/latest/mediacenter buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: The repository 'http://httpredir.debian.org/debian stretch-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error: Package update failed!
Error: JRiver Media Center installation from repo failed
--- End quote ---
This has not much to do with the script but one of your repositories is gone.
https://stackoverflow.com/questions/76094428/debian-stretch-repositories-404-not-found
Seems as though debian have changed some things around with the stretch repositories. Try the following.
--- Code: ---# Backup just in case
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
# Commands to replace stuff in sources.list
sudo sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
sudo sed -i 's|security.debian.org|archive.debian.org/debian-security/|g' /etc/apt/sources.list
sudo sed -i '/stretch-updates/d' /etc/apt/sources.list
# Try if update works now
sudo apt update
# NOTE: Donīt do this if the command above already spits out errors better to restart with the original sources.list file and replace things by hand then
sudo apt upgrade -y
--- End code ---
Btw, stretch EOL is 30 June 2022 iīd recommend you upgrade when you find the time. But this should fix your error right now. In place upgrades can be done, Iīd recommend you upgrade to debian 10 and not to 11 (never tried to jump 2 versions at once donīt know if that is supposed to work). You can upgrade to 11 afterwards. But otherwise this always worked out fine for me with occasional minor hickups.
HaWi:
Tried to install MC31 on my rPi4 and got this:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59342 0 59342 0 0 62928 0 --:--:-- --:--:-- --:--:-- 62995
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Installing JRiver Media Center from remote repository
Error: Failed to install mediacenter31. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from repo failed
Does this mean MC31 is not availanble for Linux yet?
I did manage to install Max's docker version without any problems, thanks Max!!
BryanC:
--- Quote from: HaWi on May 17, 2023, 12:38:56 pm ---Tried to install MC31 on my rPi4 and got this:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59342 0 59342 0 0 62928 0 --:--:-- --:--:-- --:--:-- 62995
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Installing JRiver Media Center from remote repository
Error: Failed to install mediacenter31. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from repo failed
Does this mean MC31 is not availanble for Linux yet?
I did manage to install Max's docker version without any problems, thanks Max!!
--- End quote ---
This is probably a dependency issue, you can enable debugging ./installJRMC --debug to confirm, if so you can check the MC31 thread for a workaround in the meantime:
--- Code: ---./installJRMC --install local --compat
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version