INTERACT FORUM

Please login or register.

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

Author Topic: dependency break on latest debian  (Read 771 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
dependency break on latest debian
« on: July 02, 2024, 10:50:49 am »

Code: [Select]
Unsatisfied dependencies:
 libsvtav1enc1d1 : Breaks: libsvtav1enc1 (< 1.6.0+dfsg-2~) but 1.4.1+dfsg-1 is to be installed

it seems that both of these are versions of https://gitlab.com/AOMediaCodec/SVT-AV1 which, for mc, is coming in via libwebkit2gtk

so it seems I can install MC31 on such a system but not MC32

I guess MC has to deal with this sooner or later so sooner would be nice :)
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13752
Re: dependency break on latest debian
« Reply #1 on: July 02, 2024, 10:55:04 am »

Are you talking about the testing distribution? Bookworm is fine.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: dependency break on latest debian
« Reply #2 on: July 02, 2024, 10:55:31 am »

yes, I run trixie
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13752
Re: dependency break on latest debian
« Reply #3 on: August 30, 2024, 11:55:54 am »

I've added the dependencies for this to the MC repo.
Use trixie for your MC repo and the dependencies will be installed.
Logged

Kenny Dave

  • Recent member
  • *
  • Posts: 15
Re: dependency break on latest debian
« Reply #4 on: August 31, 2024, 12:57:55 pm »

I've added the dependencies for this to the MC repo.
Use trixie for your MC repo and the dependencies will be installed.

I think this is hitting me too.

I've updated from Mint 21 (base Ubuntu 22) to 22 (base Ubuntu 24), and it made me uninstall jriver before it would let me update. Do I have the bash command correct? It says "Using the bullseye repository", which looks like it isn't picking up what it should. And also reference to rpm rather than deb. So I guess I've got it a bit wrong, or maybe there isn't a solution.

Or a different version of 32?

Code: [Select]
mint@mint-7B98:~/Progs$ ./installJRMC --install local --mcrepo trixie --mcversion "32.0.58" -d
Debug: Running: main --install local --mcrepo trixie --mcversion 32.0.58 -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: linuxmint 22 amd64
Debug: Using host platform: ubuntu 22
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.1.0
Debug: Running: setMCVersion
Using the bullseye repository
Using MC version 32.0.58 from the bullseye repo determined by user input
Debug: MC_VERSION=32.0.58, MC_REPO=bullseye, MC_PKG=mediacenter32=32.0.58, MC_RPM=/home/mint/Progs/output/RPMS/x86_64/mediacenter32-32.0.58.x86_64.rpm
Adding universe repository
Debug: sudo add-apt-repository -y universe
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MC_DEB=/home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-amd64.deb
Using existing DEB: /home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-amd64.deb
Debug: Running: installMCDeb
Debug: Running: installPackage --no-install-check --no-gpg-check --allow-downgrades /home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-amd64.deb
Debug: sudo apt-get -f install -y -q0 --allow-downgrades /home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'mediacenter32' instead of '/home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-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:

The following packages have unmet dependencies.
 mediacenter32 : Depends: libwebkit2gtk-4.0-37 but it is not installable
E: Unable to correct problems, you have held broken packages.
Error: Failed to install /home/mint/Progs/output/SOURCES/MediaCenter-32.0.58-amd64.deb. Attempting to continue
Error: JRiver Media Center local package installation failed


Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7672
  • August and everything after...
Re: dependency break on latest debian
« Reply #5 on: August 31, 2024, 01:00:51 pm »

For Mint 22 you have to use the noble repo because of the missing libwebkit2gtk dependency in Ubuntu 24.04 (and Mint 22). It's a different issue than the Debian Trixie issue mentioned above. You should delete and re-download the latest installJRMC script to ensure you have the latest script and use the following command (this is for MC32)...

Code: [Select]
installJRMC --mcrepo noble --install repo --mcversion 32.0.58 -d
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04.1 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 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

Kenny Dave

  • Recent member
  • *
  • Posts: 15
Re: dependency break on latest debian
« Reply #6 on: August 31, 2024, 01:27:49 pm »

That was quick, thank you. Same issue though:

Code: [Select]
mint@mint-7B98:~/Progs/JRiver/installjrmc$ ./installJRMC --mcrepo noble --install repo --mcversion 32.0.58 -d
Debug: Running: main --mcrepo noble --install repo --mcversion 32.0.58 -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: linuxmint 22 amd64
Debug: Using host platform: ubuntu 22
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.1.0
Debug: Running: setMCVersion
Using the bullseye repository
Using MC version 32.0.58 from the bullseye repo determined by user input
Debug: MC_VERSION=32.0.58, MC_REPO=bullseye, MC_PKG=mediacenter32=32.0.58, MC_RPM=/home/mint/Progs/JRiver/installjrmc/output/RPMS/x86_64/mediacenter32-32.0.58.x86_64.rpm
Adding universe repository
Debug: sudo add-apt-repository -y universe
[sudo] password for mint:         
Installing JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: sudo rm -rf /etc/apt/sources.list.d/mediacenter*.list
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: sudo apt-get update -y -q0
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                                                                       
Hit:4 https://ppa.launchpadcontent.net/tomtomtom/woeusb/ubuntu jammy InRelease                                                                                                             
Hit:5 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu jammy InRelease                                                                                                       
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease                                                                                                                         
Hit:2 https://packages.microsoft.com/repos/code stable InRelease                                                                                                                           
Hit:7 http://archive.ubuntu.com/ubuntu noble InRelease                                                                                                                                     
Get:8 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]                                                                                                                     
Ign:9 http://packages.linuxmint.com wilma InRelease                                                                                                                                         
Hit:10 http://dist.jriver.com/latest/mediacenter bullseye InRelease                                                                                                                         
Hit:11 https://download.sublimetext.com apt/stable/ InRelease                                                                                                                   
Hit:12 http://packages.linuxmint.com wilma Release                                                                                                       
Hit:13 http://archive.ubuntu.com/ubuntu noble-backports InRelease                                                                   
Hit:15 https://download.jitsi.org stable/ InRelease
Fetched 126 kB in 1s (112 kB/s)
Reading package lists... Done
N: Skipping acquisition of configured file 'main/binary-i386/Packages', as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
W: https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/dists/jammy/InRelease: Signature by key 3C48D16124B50277AF10D27F32B18A1260D8DA0B uses weak algorithm (rsa1024)
Debug: Running: installMesa
Debug: Running: installPackage --no-install-check --allow-downgrades --no-gpg-check mediacenter32=32.0.58
Debug: sudo apt-get -f install -y -q0 --allow-downgrades mediacenter32=32.0.58
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:

The following packages have unmet dependencies.
 mediacenter32 : Depends: libwebkit2gtk-4.0-37 but it is not installable
E: Unable to correct problems, you have held broken packages.
Error: Failed to install mediacenter32=32.0.58. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from remote repository failed

It still has a dependency in the deb file on a specific version of libwebkit2gtk, so won't take the new one and can't install the one it's demanding. If I'm understanding what I'm seeing correctly, which isn't certain. I think libgtk-3-0 will also be an issue, as it's 4 now. And maybe others.

Code: [Select]
Package: mediacenter32
Version: 32.0.58
Section: sound
Priority: optional
Architecture: amd64
Installed-Size: 245773
Homepage: http://www.jriver.com/
Depends: libc6 (>= 2.31), libasound2 (>= 1.2), libuuid1 (>= 2.33), libx11-6 (>= 2:1.6), libxext6 (>= 2:1.3), libxcb1 (>= 1.12), libxdmcp6 (>= 1:1.1.2), libstdc++6 (>= 10), libgtk-3-0 (>= 3.24), libgl1, libpango-1.0-0(>= 1.42) | libpango1.0-0 (>= 1.42), libpangoft2-1.0-0 (>= 1.42) | libpango-cairo-1.0-0 (>= 1.42), libnss3 (>= 2:3.49), libnspr4 (>= 2:4.25), python (>= 2.7) | python2 (>= 2.7) | python3, xdg-utils, libgomp1 (>= 10.2.1), libfribidi0 (>= 1.0.8), libfontconfig1 (>= 2.13), libfreetype6 (>= 2.10), libharfbuzz0b (>= 2.6), libgbm1 (>= 20.0.4), libva2 (>= 2.7.0), libva-drm2 (>= 2.7.0), libvulkan1 (>= 1.2.131), mesa-vulkan-drivers | vulkan-icd, libwebkit2gtk-4.0-37
Recommends: vorbis-tools (>= 1.4.0), musepack-tools
Maintainer: Robert Brose <bob@jriver.com>
Description: Media Player
 Provides a Media Player and DLNA server/renderer/control point
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7672
  • August and everything after...
Re: dependency break on latest debian
« Reply #7 on: August 31, 2024, 02:53:16 pm »

The alternative is to manually add the repository and install MC32. Copy and paste each line into a Terminal and run it...

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 mediacenter32

Or if you want one giant one-liner to do everything and hopefully get it done...

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 mediacenter32
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04.1 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 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

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13752
Re: dependency break on latest debian
« Reply #8 on: September 02, 2024, 08:43:01 pm »

For Mint 22 you have to use the noble repo because of the missing libwebkit2gtk dependency in Ubuntu 24.04 (and Mint 22). It's a different issue than the Debian Trixie issue mentioned above. You should delete and re-download the latest installJRMC script to ensure you have the latest script and use the following command (this is for MC32)...

Code: [Select]
installJRMC --mcrepo noble --install repo --mcversion 32.0.58 -d
The issue is the same for trixie, the binaries the MC repos provide are somewhat different between ubuntu and debian.
Logged

Kenny Dave

  • Recent member
  • *
  • Posts: 15
Re: dependency break on latest debian
« Reply #9 on: September 02, 2024, 09:21:42 pm »

There are conflicting versions of files already installed (at least on Mint 22), so the ones JRiv has set as dependencies in everything I tried cannot be installed. I'm pretty sure that's the same for Ubuntu 24.04. I thought I posted the solution I made but it doesn't seem to exist. Apologies. I've described the issue above, perhaps not clearly enough. .

I've got it installed by manually amending the deb file to point to the up to date versions of
Code: [Select]
libgtk and
Code: [Select]
libwebkit2gtk. I can drop a link to that here if anyone else is struggling.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2620
Re: dependency break on latest debian
« Reply #10 on: September 03, 2024, 08:46:44 am »

There are conflicting versions of files already installed (at least on Mint 22), so the ones JRiv has set as dependencies in everything I tried cannot be installed. I'm pretty sure that's the same for Ubuntu 24.04. I thought I posted the solution I made but it doesn't seem to exist. Apologies. I've described the issue above, perhaps not clearly enough. .

I've got it installed by manually amending the deb file to point to the up to date versions of
Code: [Select]
libgtk and
Code: [Select]
libwebkit2gtk. I can drop a link to that here if anyone else is struggling.

Can you try the latest version of installJRMC, it should detect and install the proper repo.
Logged

Kenny Dave

  • Recent member
  • *
  • Posts: 15
Re: dependency break on latest debian
« Reply #11 on: September 03, 2024, 09:30:27 am »

Can you try the latest version of installJRMC, it should detect and install the proper repo.

I did on the 31st and it had the impossible to install dependencies. Has it changed since then? I have it installed using my bodge, so it's not time critical for me.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7672
  • August and everything after...
Re: dependency break on latest debian
« Reply #12 on: September 03, 2024, 10:00:09 am »

There was an update 2 days ago.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04.1 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 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
Pages: [1]   Go Up