1

Snap seemed to me the easiest way to install MakeMKV.

(So, once again I went against my better judgement based on much past experience and installed snapd etc. Installing MakeMKV took about 30 minutes with two errors of the form error: cannot perform the following tasks: - Download snap "makemkv" (351) from channel "stable" (download too slow: 0.00 bytes/sec) which made me restart the installation twice.)

I ended up with a program that starts but doesn't react to the presence of a DVD. Trying to navigate manually to the drive, the /media folder is not seen.

enter image description here

I have heard about snap programs not seeing the system but I have imagined that could be by design, at least in some cases (a program might want to "see" just what it needs etc). But what's the purpose of a snap of MakeMKV that doesn't see the optical drive?

The Snapcraft page promotes the application in its normal use to "Backup your DVD and Bluray discs".

How is it supposed to work? I mean, is this expected behavior? Is there a problem with this specific snap? Could the flatpack version work better?

(I bet the Windows version run in Wine would see the drive, but I was hoping to avoid using Wine, not to mention the fact that I use dual-boot with Windows and I could go there etc. So, I do have alternatives, but I want to know how a snap like the aforementioned one is supposed to work in Ubuntu. The Ubuntu community mostly praises snap, especially regarding the fact it can provide new program versions in old/LTS releases and a method of installation that should help the user avoid worries about dependencies and such.)

This is in Kubuntu 20.04.

cipricus
  • 3,102
  • 1
  • 25
  • 70
  • 1
    Snaps work in containers with a limited view of the base file-system (unless *classic* confinement is used), however you can `snap connect [snap]:removable-media` to enable access for snaps to common directories like `/media`, `/mnt`.. (by default they are limited to files located in $HOME for security reasons) – guiverc Jun 18 '21 at 08:44

1 Answers1

2

To fix Snap you have to connect the following Snap interfaces:

snap connect makemkv:optical-write
snap connect makemkv:removable-media

Nice way to fix it with 100% success is to use deb-package from PPA. Install it with:

sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo apt-get update
sudo apt-get install makemkv-bin
N0rbert
  • 97,162
  • 34
  • 239
  • 423
  • How can one make the tool have access to other locations, like `/media`, where other partitions are mounted (possibly containing source files and disk images)? – cipricus Jun 18 '21 at 08:53