INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Can't install Media Center 33 on Ubuntu 24.10  (Read 357 times)

tedh

  • Recent member
  • *
  • Posts: 17
Can't install Media Center 33 on Ubuntu 24.10
« on: November 02, 2024, 02:36:01 pm »

Hello,

At the very end of this post I have provided additional information as I tried to install Media Center 33 from a Deb file.

I am a Linux newbie.
I am trying to install Media Center 33 on a Lenovo SL410 Thinkpad

I tried to follow the directions for a Linux install. I copied what I get in my terminal display(see below). Can you please tell me what I am doing wrong?

Thanks

tedh@LV-SL410:~$ curl https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC|bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 53666    0 53666    0     0  46684      0 --:--:--  0:00:01 --:--:-- 46706
Starting installJRMC
To enable debugging output, use --debug or -d
Adding universe repository
[sudo] password for tedh:
Installing JRiver Media Center from remote repository
Error: Package update failed!
Error: JRiver Media Center installation from remote repository failed

Further notes:

I have also tried unsuccessfully to install Media Center 33 from a downloaded Deb file.

The following are the results from terminal:

tedh@LV-SL410:~/Downloads$ sudo apt install ./MediaCenter-33.0.20-amd64.deb
Note, selecting 'mediacenter33' instead of './MediaCenter-33.0.20-amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 mediacenter33 : Depends: libwebkit2gtk-4.0-37 but it is not installable
                 Recommends: vorbis-tools (>= 1.4.0) but it is not going to be installed
                 Recommends: musepack-tools but it is not going to be installed
Error: Unable to correct problems, you have held broken packages.

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #1 on: November 02, 2024, 05:00:14 pm »

I can confirm the one-liner doesn't work in Ubuntu 24.10. Alternate one-liner to try for installJRMC.

Code: [Select]
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC --debug
If you encounter any errors during this one, post the output here. :)

As for why the error happens when trying to install the .deb file it's because of the lack of libwebkit2gtk-4.0-37 in Noble and newer, so you have to install JRiver's Noble repository (which installJRMC should automatically add during install) and it has the libwebkit2gtk-4.0-37 dependency as part of it.

I actually wouldn't recommend using this (and wait for installJRMC to get fixed for this) but if the alternate one-liner fails too and as a last resort, this is the giant one-liner...

Code: [Select]
sudo apt update && sudo apt install -y wget apt-transport-https -y gpg -y && wget -O- http://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor | sudo  tee /usr/share/keyrings/jriver-com-archive-keyring.gpg >/dev/null 2>&1 && echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main" | sudo tee /etc/apt/sources.list.d/jriver.list && sudo apt update && sudo apt install mediacenter33
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

tedh

  • Recent member
  • *
  • Posts: 17
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #2 on: November 02, 2024, 05:32:39 pm »

Hi,

Thank you for your reply.

I tried both scripts that you provided, but neither worked.

Here is the terminal output from the big script:

tedh@LV-SL410:~$ sudo apt update && sudo apt install -y wget apt-transport-https -y gpg -y && wget -O- http://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor | sudo  tee /usr/share/keyrings/jriver-com-archive-keyring.gpg >/dev/null 2>&1 && echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main" | sudo tee /etc/apt/sources.list.d/jriver.list && sudo apt update && sudo apt install mediacenter33
Hit:1 http://ca.archive.ubuntu.com/ubuntu oracular InRelease
Hit:2 http://security.ubuntu.com/ubuntu oracular-security InRelease           
Hit:3 http://ca.archive.ubuntu.com/ubuntu oracular-updates InRelease           
Ign:4 http://dist.jriver.com/latest/mediacenter oracular InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu oracular-backports InRelease
Err:6 http://dist.jriver.com/latest/mediacenter oracular Release
  404  Not Found [IP: 71.24.233.122 80]
Error: The repository 'http://dist.jriver.com/latest/mediacenter oracular Release' does not have a Release file.
Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.
Notice: See apt-secure(8) manpage for repository creation and user configuration details.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #3 on: November 02, 2024, 05:54:35 pm »

Yeah, that's because of changes in Ubuntu 24.10. For the life of me I can't remember off the top of my head how I fixed it on my end. I'll have to look when I get time to see what it was I did to workaround it. :-\

EDIT: I remember now, it's because with Ubuntu 24.10 they changed from .list files to .sources files for APT. You need to remove the jriver.list file in /etc/apt/sources.list.d/ and instead you need to create a jriver.sources file in /etc/apt/sources.list.d/ with the following contents...

Code: [Select]
Types: deb
URIs: http://dist.jriver.com/latest/mediacenter/
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
Suites: noble
Components: main

I posted the info for the installJRMC script dev to see. This is something that'll have to be fixed there.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

tedh

  • Recent member
  • *
  • Posts: 17
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #4 on: November 02, 2024, 07:17:13 pm »

Thank you for your help.

Would you have any idea as to what type of timeframe JRiver is likely to provide a fix?

What does one do - just try to install on a weekly basis?

Again, I appreciate all of your help.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #5 on: November 02, 2024, 08:36:39 pm »

The installJRMC script isn't developed or maintained by JRiver so it'll be up to Bryan on how to proceed with a fix on the installJRMC side.

I did inform Bob (one of the JRiver devs) about it as well but considering JRiver only officially supports Debian they may only post instructions on how to manually workaround it in the repo topic which is fine because (in my opinion) anyone wanting to install MC on a non-Debian platform should be using the installJRMC script anyways. It's just easier.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #6 on: November 02, 2024, 08:49:41 pm »

A quick and dirty way to workaround it.

First, you have to rename the jriver.list file to jriver.sources.

Code: [Select]
sudo mv '/etc/apt/sources.list.d/jriver.list' '/etc/apt/sources.list.d/jriver.sources'
Next you need to open it in a text editor with sudo so you can make changes and edit it.

Code: [Select]
sudo gnome-text-editor /etc/apt/sources.list.d/jriver.sources
This will work for normal Ubuntu. If using Xubuntu, Kubuntu or whatever make sure you change gnome-text-editor to the text editor used by the system.

Next, with that text file open you should see the following all on a single line...

Code: [Select]
deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main
Replace all that with this (this is multiple lines)...

Code: [Select]
Types: deb
URIs: http://dist.jriver.com/latest/mediacenter/
Signed-By: /usr/share/keyrings/jriver-com-archive-keyring.gpg
Suites: noble
Components: main

And save your changes.

Next, in the Terminal use the following command to reload APT and the repositories...

Code: [Select]
sudo apt update
If you don't experience any errors you can try the following to install Media Center 33...

Code: [Select]
sudo apt install mediacenter33
If all goes well, it should install.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2661
Re: Can't install Media Center 33 on Ubuntu 24.10
« Reply #7 on: November 03, 2024, 11:39:30 pm »

Ubuntu 24.10 should now be supported in installJRMC 1.3.8. It will default to using the Noble repo (until Oracular is made available) and uses the new sources file format.
Logged
Pages: [1]   Go Up