More > JRiver Media Center 28 for Linux

installJRMC - MC installer for Linux

<< < (5/12) > >>

BryanC:

--- Quote from: Awesome Donkey on December 02, 2021, 02:27:28 pm ---What VM app are you using? I'm able to install OpenSUSE Tumbleweed in VMware Workstation 16.2 (setting it as Other Linux 5.x kernel 64-bit) and I did test the script this is the output on the first run...


--- Code: ---michael@localhost:~/Git/installJRMC> ./installJRMC
SUSE support is experimental!
[sudo] password for root:
Using MC version 28.0.87 determined by webscrape
To override, use --mcversion
Installing JRiver Media Center 28.0.87 from repository.
Future updates will be handled by your package manager.
This may take a few minutes to complete.
Use --debug for verbose output.
Adding repository 'jriver' .......................................................................................[done]
Warning: GPG checking is disabled in configuration of repository 'jriver'. Integrity and origin of packages cannot be verified.
Repository 'jriver' successfully added

URI         : https://repos.bryanroessler.com/jriver
Enabled     : Yes
GPG Check   : No
Autorefresh : No
Priority    : 99 (default priority)

Repository priorities are without effect. All enabled repositories share the same priority.
Error: Package update failed!
--- End code ---

But, the repo does install and it can check for updates. Will check building here in a few once system updates are done.

EDIT: After doing system updates the repo somehow downgraded Media Center 28.0.87 to MC26. It must think it's an older distro or something. :P

--- End quote ---

I'm using Boxes (libvirtd). I prefer live ISOs for debugging as it is faster than snapshots, so I was messing around with Krypton/Argon as SUSE install media requires a disk install. I can manage that with snapshots but the SUSE installer never seems to complete unfortunately. Edit: Got it working. Not sure why it is being detected as an older version, you can see my logic here (from /etc/os-release):


--- Code: ---        _base="buster" # For container method
        _boardurl="https://yabb.jriver.com/interact/index.php/board,71.0.html"
        if [[ "$ID" == "ubuntu" ]]; then
            # [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && \
            #     _base="bullseye"
            [[ "$VERSION_CODENAME" =~ ^(cosmic|disco|eoan)$ ]] && \
                _base="buster"
            [[ "$VERSION_CODENAME" =~ ^(xenial|yakkety|zesty|artful|bionic)$ ]] && \
                _mcversion="26.0.107"
            [[ "$VERSION_CODENAME" =~ ^(trusty|utopic|vivid|wily)$ ]] && \
                _mcversion="26.0.107"
        elif [[ "$ID" == "debian" ]]; then
            _base="$VERSION_CODENAME"
            [[ $VERSION_ID -eq 10 ]] && \
                _base="buster"
            [[ $VERSION_ID -le 9 ]] && \
                _mcversion="26.0.107" # For 9 and 8
        elif [[ "$ID" == "centos" ]]; then
            [[ "$VERSION_ID" -eq "8" ]] && \
                _base="buster"
            [[ "$VERSION_ID" -lt "8" ]] && \
                _mcversion="26.0.107" # Doubtful
        fi

--- End code ---


In the next version I'll also disable the version limits for building (but not installing) RPMs.


--- Quote from: bob on December 02, 2021, 02:39:43 pm ---Don't know if this matters but MC26 was Jessie and MC27 and MC28 require Buster (and use buster in the repo line).

--- End quote ---


What prompted this was the inability to install buster MC28 on Ubuntu 18.04 (bionic), itself based on Buster but with out-of-date dependencies. It may be possible to install MC27 if the deb has older dependencies. If the distro is super old (older than buster) the default is to fallback to MC26 (jessie-based).

BryanC:
I added version 1.0b3 that should flesh out SUSE support for the `--install rpm` method. I had to do a lot of package translations for that one!

Currently there is no cross-building allowed and the RPMs built on SUSE are not compatible with Fedora/CentOS and vice versa.

This will also allow a SUSE user to maintain their own repository for other users using the jriver-createrepo service if they are so inclined.

Awesome Donkey:
This new version works much better! However, running the script for the first time results in...


--- Code: ---Error: JRiver Media Center installation failed
--- End code ---

Running it again with --debug results in...


--- Code: ---./installJRMC --debug
SUSE support is experimental!
Debugging on
installJRMC version: 1.0b3
Debug: Running: getLatestVersion
Using MC version 28.0.87 determined by containerized package manager
To override, use --mcversion
Debug: Running: installMCFromRepo
Installing JRiver Media Center 28.0.87 from repository.
Future updates will be handled by your package manager.
Debug: Running: addRepo
Debug: Updating package list
Debug: installPackage --nocheck MediaCenter
Debug: Running: installPackage --nocheck --nogpgcheck MediaCenter
Debug: Installing: MediaCenter
Debug: pkg_install --allow-unsigned-rpm MediaCenter
Problem: nothing provides 'libglvnd-glx' needed by the to be installed MediaCenter-28.0.87-1.x86_64
 Solution 1: do not install MediaCenter-28.0.87-1.x86_64
 Solution 2: break MediaCenter-28.0.87-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
Error: Failed to install MediaCenter. Attempting to continue...
Error: JRiver Media Center installation failed
--- End code ---

Yikes, yeah, this one has been around for awhile now. It automatically inputs c and fails the install. Anyways libglvnd-glx isn't available in openSUSE but libglvnd is and is installed.

BryanC:

--- Quote from: Awesome Donkey on December 04, 2021, 06:39:52 am ---This new version works much better! However, running the script for the first time results in...


--- Code: ---Error: JRiver Media Center installation failed
--- End code ---

Running it again with --debug results in...


--- Code: ---./installJRMC --debug
SUSE support is experimental!
Debugging on
installJRMC version: 1.0b3
Debug: Running: getLatestVersion
Using MC version 28.0.87 determined by containerized package manager
To override, use --mcversion
Debug: Running: installMCFromRepo
Installing JRiver Media Center 28.0.87 from repository.
Future updates will be handled by your package manager.
Debug: Running: addRepo
Debug: Updating package list
Debug: installPackage --nocheck MediaCenter
Debug: Running: installPackage --nocheck --nogpgcheck MediaCenter
Debug: Installing: MediaCenter
Debug: pkg_install --allow-unsigned-rpm MediaCenter
Problem: nothing provides 'libglvnd-glx' needed by the to be installed MediaCenter-28.0.87-1.x86_64
 Solution 1: do not install MediaCenter-28.0.87-1.x86_64
 Solution 2: break MediaCenter-28.0.87-1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
Error: Failed to install MediaCenter. Attempting to continue...
Error: JRiver Media Center installation failed
--- End code ---

Yikes, yeah, this one has been around for awhile now. It automatically inputs c and fails the install. Anyways libglvnd-glx isn't available in openSUSE but libglvnd is and is installed.

--- End quote ---

Try using --install rpm and not the default installation method (repo).

The rpms in my repo are built for Fedora/CentOS so they won't work on SUSE. You need to build the SUSE RPM on SUSE using --install rpm (or --build if you want to manually install it later). SUSE users can create their own repository for other users using --createrepo or --service jriver-createrepo to automatically build the latest version. At some point in the future I may add a SUSE repo, but I'll need to enable cross-building first and make sure we get reliable rpms.

BryanC:
I just released a new version with SUSE RPM cross-building. Eventually I may host a SUSE RPM but I'm migrating infra so for now just use the --install rpm method on SUSE.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version