Unofficial packaging for Debian available

The place to discuss linux version of MakeMKV
ikthal
Posts: 1
Joined: Thu Aug 15, 2024 2:49 pm

Re: Unofficial packaging for Debian available

Post by ikthal »

I'm getting some circular dependency errors as of yesterday. Anyone have any ideas? Debian Bookworm, no issues until yesterday:

Code: Select all

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:
 libavcodec-extra59 : Conflicts: libavcodec59
 libmakemkv1 : Depends: libavcodec59 (= 7:5.1.5-0+deb12u1)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
If I try to resolve by installing the -extra59 variant, the error stays the same.
mathias
Posts: 14
Joined: Sun Aug 12, 2018 4:22 pm

Re: Unofficial packaging for Debian available

Post by mathias »

ikthal wrote:
Thu Aug 15, 2024 2:53 pm
I'm getting some circular dependency errors as of yesterday. Anyone have any ideas? Debian Bookworm, no issues until yesterday:
A security update for ffmpeg was released, which will require a rebuild of makemkv because it uses a private function call from ffmpeg:
prahal wrote:
Wed Apr 03, 2024 12:43 pm
Seems the only way out is to get rid of the private function call from libmakemkv1:

Code: Select all

libffabi/src/ffabi.c:    err = avpriv_mpegaudio_decode_header(&s, hdr);
libffabi/src/mpegaudiodecheader.h:int avpriv_mpegaudio_decode_header(MPADecodeHeader *s, uint32_t header);
(the "avpriv_mpegaudio_decode_header(&s, hdr);" call is in libffabi/src/ffabi.c in ffm_mpa_decode_header)
prahal
Posts: 11
Joined: Wed Mar 13, 2024 12:42 am

Re: Unofficial packaging for Debian available

Post by prahal »

Should I report the issue that makemkv uses a private call somewhere else than this forum ?
A hack is to build libmakemkv1 without this avpriv_mpegaudio_decode_header call, bit I am afraid makemkvconv might misbehave randomly.
Maybe the private ffmpeg function code could be copied to libmakemkv1 to fix this issue ?
-dag-
Posts: 2
Joined: Mon Dec 02, 2024 12:27 am

Re: Unofficial packaging for Debian available

Post by -dag- »

I have not been able to install the testing packages for some time:

Code: Select all

$ sudo aptitude install makemkvcon
The following NEW packages will be installed:
  ccextractor{a} libdriveio0{a} libgpac12t64{a} makemkvcon{b} 
0 packages upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 10.2 MB of archives. After unpacking 21.9 MB will be used.
The following packages have unmet dependencies:
 makemkvcon : Depends: libmakemkv1 (>= 1.17.7) but it is not installable
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     makemkvcon [Not Installed]                         

$ sudo aptitude install libmakemkv1
The following NEW packages will be installed:
  libmakemkv1{b} 
0 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 124 kB of archives. After unpacking 665 kB will be used.
The following packages have unmet dependencies:
 libmakemkv1 : Depends: libavcodec61 (= 7:7.1-3) but 10:7.1-dmo2+b1 is installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libmakemkv1 [Not Installed]                        
mathias
Posts: 14
Joined: Sun Aug 12, 2018 4:22 pm

Re: Unofficial packaging for Debian available

Post by mathias »

It looks like you have the deb-multimedia repo enabled, which is pulling in a different compiled package of ffmpeg. Because makemkv compiles against an internal private ffmpeg function, apt tries to install the version of libavcodec61 from Debian's official repo, but that conflicts with the one provided by deb-multimedia.

Depending on your apt priority pinning, you might be able to uninstall deb-multimedia's version of ffmpeg packages, then install makemkv.
-dag- wrote:
Mon Dec 02, 2024 1:26 am
I have not been able to install the testing packages for some time:

Code: Select all

 libmakemkv1 : Depends: libavcodec61 (= 7:7.1-3) but 10:7.1-dmo2+b1 is installed                 
-dag-
Posts: 2
Joined: Mon Dec 02, 2024 12:27 am

Re: Unofficial packaging for Debian available

Post by -dag- »

mathias wrote:
Tue Dec 03, 2024 2:43 pm
It looks like you have the deb-multimedia repo enabled, which is pulling in a different compiled package of ffmpeg. Because makemkv compiles against an internal private ffmpeg function, apt tries to install the version of libavcodec61 from Debian's official repo, but that conflicts with the one provided by deb-multimedia.

Depending on your apt priority pinning, you might be able to uninstall deb-multimedia's version of ffmpeg packages, then install makemkv.
I remove deb-multimedia and tried to clean things up as best as I could. Unfortunately it didn't help much:

Code: Select all

$ sudo aptitude install libmakemkv1
The following NEW packages will be installed:
  libavutil59{a} libmakemkv1{b} libvdpau-va-gl1{a} libvdpau1{a} mesa-vdpau-drivers{a} vdpau-driver-all{a} 
0 packages upgraded, 6 newly installed, 0 to remove and 70 not upgraded.
Need to get 124 kB/659 kB of archives. After unpacking 2,394 kB will be used.
The following packages have unmet dependencies:
 libmakemkv1 : Depends: libavcodec61 (= 7:7.1-3) but it is not going to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libmakemkv1 [Not Installed]                        

$ sudo aptitude install libavcodec61=7:7.1-3
The following NEW packages will be installed:
  libavcodec61{b} libavutil59{a} libcodec2-1.2{a} libshine3{a} libsoxr0{a} libswresample5{a} libvdpau-va-gl1{a} libvdpau1{a} libxvidcore4{a} 
  mesa-vdpau-drivers{a} vdpau-driver-all{a} 
0 packages upgraded, 11 newly installed, 0 to remove and 70 not upgraded.
Need to get 14.1 MB/15.0 MB of archives. After unpacking 36.9 MB will be used.
The following packages have unmet dependencies:
 libavcodec61 : Depends: libavutil59 (= 7:7.1-3) but 10:7.1-dmo2+b1 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     libavcodec61 [Not Installed]                       

$ sudo aptitude why-not libavcodec61=7:7.1-3
E: No package named "libavcodec61=7:7.1-3" exists.
I don't know if it's allowed to use version specifiers for why-not so the latter might be a red herring. But it seems the version needed might not be available?
Somewhat Reticent
Posts: 1
Joined: Sat Dec 07, 2024 3:51 am

Re: Unofficial packaging for Debian available

Post by Somewhat Reticent »

MakeMKV (1.17.7) works on a live DebIan-Bookworm-based system
libmmbd0 was listed but not installed - added ("recommends")
applied MakeMKV preference option for Integration - so VLC plays (and hopefully handbrake)
Also needed libbluray-bdj for menu java
( wonder if mpv/SMplayer … better subtitle background support than I get with VLC … ?)
Post Reply