More > JRiver Media Center 30 for Linux
installJRMC - MC installer for Linux
BryanC:
--- Quote from: HaWi on May 19, 2023, 09:26:53 am ---Thanks Bob, this is what I get now:
./installJRMC --install local --compat
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Checking latest repo for DEB package
Checking test repo for DEB package
Error: Cannot find DEB file
I'll enable debug to see if there is anything wrong on my end
EDIT: This with debug on:
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Using existing DEB: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Debug: Running: installMCDEB
Debug: ar x /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
ar: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb: file format not recognized
Debug: tar xJf control.tar.xz
tar (child): control.tar.xz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
sed: can't read control: No such file or directory
sed: can't read control: No such file or directory
Debug: tar -cJf control.tar.xz control postinst
tar: control: Cannot stat: No such file or directory
tar: postinst: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Debug: ar rcs /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb debian-binary control.tar.xz data.tar.xz
ar: debian-binary: No such file or directory
Debug: rm -rf /tmp/tmp.Suok908Xzq
Debug: Running: installPackage --no-install-check --no-gpg-check --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Debug: sudo apt-get -f install -y -q0 --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Reading package lists... Done
E: Unsupported file /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb given on commandline
Error: Failed to install /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb. Attempting to continue
Error: JRiver Media Center local package installation failed
I am afraid I do not know what to do with this. If there is anything I can do to fix this I woudl appreciate any pointers.
--- End quote ---
--- Code: ---ar: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb: file format not recognized
--- End code ---
It looks like the deb file may be corrupted, try removing it and rerunning.
If that doesn't work I will see if I can reproduce after the next build is released. I don't normally test on non-x86 arch so it could be related.
HaWi:
Thank you, Bryan
I removed the .deb file, which was 0 bytes and reran, to no avail. The new .deb file is still 0 bytes.
There also seems to be a problem installing the 'bildah' package
E: Unable to locate package buildah
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Checking latest repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/channels/v31/latest/MediaCenter-31.0.12-aarch64.deb
Checking test repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/test/MediaCenter-31.0.12-aarch64.deb
Error: Cannot find DEB file
Hendrik:
Our aarch64 file is called "arm64", so its looking for the wrong postfix. Might need an update to the script to accomodate for that?
You might be able to override it by specifying "--arch arm64"
BryanC:
--- Quote from: HaWi on May 20, 2023, 10:03:58 am ---Thank you, Bryan
I removed the .deb file, which was 0 bytes and reran, to no avail. The new .deb file is still 0 bytes.
There also seems to be a problem installing the 'bildah' package
E: Unable to locate package buildah
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Checking latest repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/channels/v31/latest/MediaCenter-31.0.12-aarch64.deb
Checking test repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/test/MediaCenter-31.0.12-aarch64.deb
Error: Cannot find DEB file
--- End quote ---
buildah isn't required, it's just a reliable way to get the latest MC version.
I added an alias for aarch64 to arm64 in my dev branch. You can curl the script from here: https://git.bryanroessler.com/bryan/installJRMC/raw/dev/installJRMC
HaWi:
Thank you Bryan, I appreciate your help
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version