mdhiggins / sonarr-sma

Sonarr docker based on linuxserver/sonarr with SMA built in using python3
MIT License
38 stars 18 forks source link

Use VAAPI ffmpeg on Synology #12

Closed eikowagenknecht closed 4 years ago

eikowagenknecht commented 4 years ago

You write that the "build" tag can be used to get a version of ffmpeg that supports VAAPI.

I'm using your image on a Synology NAS and have spent some hours trying to figure out how to do this, but to no avail. Do you have any idea, how to get a VAAPI version of your image running in Docker on a Synology? Thank you!

eikowagenknecht commented 4 years ago

Ok, I've tried copying your repo locally (Dockerfile + extras + root subfolders) and then building it (changing the argument in the dockerfile to snapshot-vaapi). That works partially. In the resulting docker image, ffmpeg finally works with hardware accelleration via vaapi!

But: Sonarr does not start and logs errors like this:

System.TypeInitializationException: The type initializer for 'NzbDrone.Console.ConsoleApp' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NzbDrone.Common.Instrumentation.NzbDroneLogger' threw an exception. ---> System.TypeInitializationException: The type initializer for 'NLog.Common.InternalLogger' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Error Initializing the configuration system. ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section <system.net> (/opt/NzbDrone/NzbDrone.exe.config line 3)
  at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) <0x40e390a0 + 0x0004b> in <filename unknown>:0

This seems to be mono related but I don't know why this happens (since I'm trying to build the same file you do) or how to fix this. Here is the console output from the build:

admin@nas:/$ sudo -i
Password:
root@nas:~# cd /volume1/remote/
root@nas:/volume1/remote# cd dockertest/
root@nas:/volume1/remote/dockertest# docker build .
Sending build context to Docker daemon  3.584kB
Step 1/16 : ARG ffmpeg_tag=snapshot-vaapi
Step 2/16 : ARG sonarr_tag=latest
Step 3/16 : FROM jrottenberg/ffmpeg:${ffmpeg_tag} as ffmpeg
 ---> a8b88c3a2ec5
Step 4/16 : FROM linuxserver/sonarr:${sonarr_tag}
latest: Pulling from linuxserver/sonarr
210a519fc1aa: Pull complete
8e5b6209e33c: Pull complete
6facdabbc9db: Pull complete
ae247b39e3e4: Pull complete
c1f32b9af03f: Pull complete
cd97175c48a0: Pull complete
2924713dc8f6: Pull complete
Digest: sha256:3061ec58fac023026919739869f8f29cec0178a07c7244e743f41b9ffbf894c9
Status: Downloaded newer image for linuxserver/sonarr:latest
 ---> f980ed87a8c3
Step 5/16 : LABEL maintainer="eikowagenknecht <eiko.wagenknecht@web.de>"
 ---> Running in de6302329801
Removing intermediate container de6302329801
 ---> ea51dc8e2101
Step 6/16 : COPY --from=ffmpeg /usr/local/ /usr/local/
 ---> 16d54ea874e2
Step 7/16 : ENV SMA_PATH /usr/local/sma
 ---> Running in 0a929c1bf3af
Removing intermediate container 0a929c1bf3af
 ---> 411986c20187
Step 8/16 : ENV SMA_RS Sonarr
 ---> Running in 02d03e3bf2a9
Removing intermediate container 02d03e3bf2a9
 ---> eede1bf4eb2d
Step 9/16 : ENV SMA_UPDATE false
 ---> Running in 1ba849f0a37a
Removing intermediate container 1ba849f0a37a
 ---> 9a5f37987fcc
Step 10/16 : RUN   apt-get update &&   apt-get install -y     git     wget     python3     python3-pip &&   mkdir ${SMA_PATH} &&   git clone https://github.com/                                                                         mdhiggins/sickbeard_mp4_automator.git ${SMA_PATH} &&   python3 -m pip install --user --upgrade pip &&   python3 -m pip install --user virtualenv &&   python3 -m                                                                          virtualenv ${SMA_PATH}/venv &&   ${SMA_PATH}/venv/bin/pip install -r ${SMA_PATH}/setup/requirements.txt &&   chgrp users /usr/local/bin/ffmpeg &&   chgrp users                                                                          /usr/local/bin/ffprobe &&   chmod g+x /usr/local/bin/ffmpeg &&   chmod g+x /usr/local/bin/ffprobe &&   apt-get purge --auto-remove -y &&   apt-get clean &&   r                                                                         m -rf     /tmp/*     /var/lib/apt/lists/*     /var/tmp/*
 ---> Running in 3bee01919f61
Hit:1 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:5 https://mediaarea.net/repo/deb/ubuntu bionic InRelease
Hit:6 https://mediaarea.net/repo/deb/ubuntu bionic Release
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [419 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [10.6 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [6,200 B]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [376 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,321 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,409 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [13.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [111 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-security/main Sources [206 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-security/universe Sources [218 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-security/restricted Sources [8,064 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1,022 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [870 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [97.8 kB]
Fetched 6,265 kB in 9s (704 kB/s)
Reading package lists...
W: Conflicting distribution: http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease (expected bionic/snapshots/5.20 but got bionic)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  build-essential cpp cpp-7 dbus dh-python g++ g++-7 gcc gcc-7 gcc-7-base
  gir1.2-glib-2.0 git-man less libapparmor1 libasan4 libatomic1 libc-dev-bin
  libc6 libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libedit2 liberror-perl
  libexpat1-dev libgcc-7-dev libgirepository-1.0-1 libgomp1 libisl19 libitm1
  liblsan0 libmpc3 libmpdec2 libmpfr6 libmpx2 libpython3-dev libpython3-stdlib
  libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib
  libquadmath0 libssl1.0.0 libstdc++-7-dev libtsan0 libubsan0 libxmuu1
  linux-libc-dev manpages manpages-dev openssh-client python-pip-whl
  python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography
  python3-dbus python3-dev python3-distutils python3-gi python3-idna
  python3-keyring python3-keyrings.alt python3-lib2to3 python3-minimal
  python3-pkg-resources python3-secretstorage python3-setuptools python3-six
  python3-wheel python3-xdg python3.6 python3.6-dev python3.6-minimal xauth
Suggested packages:
  cpp-doc gcc-7-locales default-dbus-session-bus | dbus-session-bus
  g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf
  automake libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg
  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg
  libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
  git-gui gitk gitweb git-cvs git-mediawiki git-svn glibc-doc libstdc++-7-doc
  man-browser keychain libpam-ssh monkeysphere ssh-askpass python3-doc
  python3-tk python3-venv python-crypto-doc python-cryptography-doc
  python3-cryptography-vectors python-dbus-doc python3-dbus-dbg gnome-keyring
  libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-secretstorage-doc
  python-setuptools-doc python3.6-venv python3.6-doc binfmt-support
The following NEW packages will be installed:
  build-essential cpp cpp-7 dbus dh-python g++ g++-7 gcc gcc-7 gcc-7-base
  gir1.2-glib-2.0 git git-man less libapparmor1 libasan4 libatomic1
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libedit2
  liberror-perl libexpat1-dev libgcc-7-dev libgirepository-1.0-1 libgomp1
  libisl19 libitm1 liblsan0 libmpc3 libmpdec2 libmpfr6 libmpx2 libpython3-dev
  libpython3-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal
  libpython3.6-stdlib libquadmath0 libssl1.0.0 libstdc++-7-dev libtsan0
  libubsan0 libxmuu1 linux-libc-dev manpages manpages-dev openssh-client
  python-pip-whl python3 python3-asn1crypto python3-cffi-backend
  python3-crypto python3-cryptography python3-dbus python3-dev
  python3-distutils python3-gi python3-idna python3-keyring
  python3-keyrings.alt python3-lib2to3 python3-minimal python3-pip
  python3-pkg-resources python3-secretstorage python3-setuptools python3-six
  python3-wheel python3-xdg python3.6 python3.6-dev python3.6-minimal wget
  xauth
The following packages will be upgraded:
  libc6
1 upgraded, 78 newly installed, 0 to remove and 9 not upgraded.
Need to get 106 MB of archives.
After this operation, 311 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6 amd64 2.27-3ubuntu1.2 [2,827 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.1 [533 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.1 [1,610 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-minimal amd64 3.6.7-1~18.04 [23.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpdec2 amd64 2.4.2-1ubuntu1 [84.1 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.1 [1,711 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.1 [203 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-stdlib amd64 3.6.7-1~18.04 [7,240 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3 amd64 3.6.7-1~18.04 [47.2 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libapparmor1 amd64 2.12-4ubuntu5.1 [31.3 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdbus-1-3 amd64 1.12.2-1ubuntu1.2 [175 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dbus amd64 1.12.2-1ubuntu1.2 [150 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgirepository-1.0-1 amd64 1.56.1-1 [82.0 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-glib-2.0 amd64 1.56.1-1 [131 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-dbus amd64 1.2.6-1 [89.9 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1 [153 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 libedit2 amd64 3.1-20170329-1 [76.9 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.0.0 amd64 1.0.2n-1ubuntu5.3 [1,088 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxmuu1 amd64 2:1.1.2-2 [9,674 B]
Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages all 4.15-1 [1,234 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssh-client amd64 1:7.6p1-4ubuntu0.3 [614 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 wget amd64 1.19.4-1ubuntu2.2 [316 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 xauth amd64 1:1.0.10-1 [24.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.2 [71.8 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-112.113 [982 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.2 [2,585 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpfr6 amd64 4.0.1-1 [243 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8,591 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9,192 B]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2,378 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9,381 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5,184 B]
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1,471 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9,697 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1,568 B]
Get:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4,758 B]
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB]
Get:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB]
Get:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB]
Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB]
Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3,915 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2 [122 kB]
Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.1 [1,414 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.1 [44.9 MB]
Get:61 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7,328 B]
Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB]
Get:63 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.1 [1,653 kB]
Get:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-asn1crypto all 0.24.0-1 [72.8 kB]
Get:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-cffi-backend amd64 1.11.5-1 [64.6 kB]
Get:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-crypto amd64 2.6.1-8ubuntu2 [244 kB]
Get:67 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-idna all 2.6-1 [32.5 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-six all 1.11.0-2 [11.4 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-cryptography amd64 2.1.4-1ubuntu1.3 [221 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.1 [508 kB]
Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1,288 B]
Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB]
Get:73 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyring all 10.6.0-1 [26.7 kB]
Get:74 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyrings.alt all 3.0-1 [16.6 kB]
Get:75 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.1 [114 kB]
Get:76 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pkg-resources all 39.0.1-2 [98.8 kB]
Get:77 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-setuptools all 39.0.1-2 [248 kB]
Get:78 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wheel all 0.30.0-0.2 [36.5 kB]
Get:79 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-xdg all 0.25-4ubuntu1 [31.4 kB]
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> li                                                                         ne 79.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 106 MB in 1min 1s (1,731 kB/s)
(Reading database ... 15362 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.2_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Unpacking libc6:amd64 (2.27-3ubuntu1.2) over (2.27-3ubuntu1) ...
Setting up libc6:amd64 (2.27-3ubuntu1.2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libpython3.6-minimal:amd64.
(Reading database ... 15362 files and directories currently installed.)
Preparing to unpack .../libpython3.6-minimal_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../python3.6-minimal_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking python3.6-minimal (3.6.9-1~18.04ubuntu1.1) ...
Setting up libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Setting up python3.6-minimal (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 15600 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.6.7-1~18.04_amd64.deb ...
Unpacking python3-minimal (3.6.7-1~18.04) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.2-1ubuntu1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack .../libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../python3.6_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking python3.6 (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.6.7-1~18.04_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.6.7-1~18.04) ...
Setting up python3-minimal (3.6.7-1~18.04) ...
Selecting previously unselected package python3.
(Reading database ... 16004 files and directories currently installed.)
Preparing to unpack .../00-python3_3.6.7-1~18.04_amd64.deb ...
Unpacking python3 (3.6.7-1~18.04) ...
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack .../01-libapparmor1_2.12-4ubuntu5.1_amd64.deb ...
Unpacking libapparmor1:amd64 (2.12-4ubuntu5.1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../02-libdbus-1-3_1.12.2-1ubuntu1.2_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.12.2-1ubuntu1.2) ...
Selecting previously unselected package dbus.
Preparing to unpack .../03-dbus_1.12.2-1ubuntu1.2_amd64.deb ...
Unpacking dbus (1.12.2-1ubuntu1.2) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../04-libgirepository-1.0-1_1.56.1-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.56.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../05-gir1.2-glib-2.0_1.56.1-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Selecting previously unselected package less.
Preparing to unpack .../06-less_487-0.1_amd64.deb ...
Unpacking less (487-0.1) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../07-python3-dbus_1.2.6-1_amd64.deb ...
Unpacking python3-dbus (1.2.6-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../08-python3-gi_3.26.1-2ubuntu1_amd64.deb ...
Unpacking python3-gi (3.26.1-2ubuntu1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../09-libedit2_3.1-20170329-1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20170329-1) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../10-libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../11-libxmuu1_2%3a1.1.2-2_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2) ...
Selecting previously unselected package manpages.
Preparing to unpack .../12-manpages_4.15-1_all.deb ...
Unpacking manpages (4.15-1) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../13-openssh-client_1%3a7.6p1-4ubuntu0.3_amd64.deb ...
Unpacking openssh-client (1:7.6p1-4ubuntu0.3) ...
Selecting previously unselected package wget.
Preparing to unpack .../14-wget_1.19.4-1ubuntu2.2_amd64.deb ...
Unpacking wget (1.19.4-1ubuntu2.2) ...
Selecting previously unselected package xauth.
Preparing to unpack .../15-xauth_1%3a1.0.10-1_amd64.deb ...
Unpacking xauth (1:1.0.10-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../16-libc-dev-bin_2.27-3ubuntu1.2_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1.2) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../17-linux-libc-dev_4.15.0-112.113_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-112.113) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../18-libc6-dev_2.27-3ubuntu1.2_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1.2) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../19-gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../20-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../21-libmpfr6_4.0.1-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.1-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../22-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../23-cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../24-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking cpp (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../25-libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../26-libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../27-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../28-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../29-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../30-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../31-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../32-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../33-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../34-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../35-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb ...
Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../36-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../37-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../38-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking gcc (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../39-libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../40-g++-7_7.5.0-3ubuntu1~18.04_amd64.deb ...
Unpacking g++-7 (7.5.0-3ubuntu1~18.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../41-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb ...
Unpacking g++ (4:7.4.0-1ubuntu2.3) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../42-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../43-python3-lib2to3_3.6.9-1~18.04_all.deb ...
Unpacking python3-lib2to3 (3.6.9-1~18.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../44-python3-distutils_3.6.9-1~18.04_all.deb ...
Unpacking python3-distutils (3.6.9-1~18.04) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../45-dh-python_3.20180325ubuntu2_all.deb ...
Unpacking dh-python (3.20180325ubuntu2) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../46-liberror-perl_0.17025-1_all.deb ...
Unpacking liberror-perl (0.17025-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../47-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.7) ...
Selecting previously unselected package git.
Preparing to unpack .../48-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.7) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../49-libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ...
Selecting previously unselected package libpython3.6:amd64.
Preparing to unpack .../50-libpython3.6_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package libpython3.6-dev:amd64.
Preparing to unpack .../51-libpython3.6-dev_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../52-libpython3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../53-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../54-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.1_all.deb ...
Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.1) ...
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack .../55-python3-asn1crypto_0.24.0-1_all.deb ...
Unpacking python3-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack .../56-python3-cffi-backend_1.11.5-1_amd64.deb ...
Unpacking python3-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../57-python3-crypto_2.6.1-8ubuntu2_amd64.deb ...
Unpacking python3-crypto (2.6.1-8ubuntu2) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../58-python3-idna_2.6-1_all.deb ...
Unpacking python3-idna (2.6-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../59-python3-six_1.11.0-2_all.deb ...
Unpacking python3-six (1.11.0-2) ...
Selecting previously unselected package python3-cryptography.
Preparing to unpack .../60-python3-cryptography_2.1.4-1ubuntu1.3_amd64.deb ...
Unpacking python3-cryptography (2.1.4-1ubuntu1.3) ...
Selecting previously unselected package python3.6-dev.
Preparing to unpack .../61-python3.6-dev_3.6.9-1~18.04ubuntu1.1_amd64.deb ...
Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../62-python3-dev_3.6.7-1~18.04_amd64.deb ...
Unpacking python3-dev (3.6.7-1~18.04) ...
Selecting previously unselected package python3-secretstorage.
Preparing to unpack .../63-python3-secretstorage_2.3.1-2_all.deb ...
Unpacking python3-secretstorage (2.3.1-2) ...
Selecting previously unselected package python3-keyring.
Preparing to unpack .../64-python3-keyring_10.6.0-1_all.deb ...
Unpacking python3-keyring (10.6.0-1) ...
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack .../65-python3-keyrings.alt_3.0-1_all.deb ...
Unpacking python3-keyrings.alt (3.0-1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../66-python3-pip_9.0.1-2.3~ubuntu1.18.04.1_all.deb ...
Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../67-python3-pkg-resources_39.0.1-2_all.deb ...
Unpacking python3-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../68-python3-setuptools_39.0.1-2_all.deb ...
Unpacking python3-setuptools (39.0.1-2) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../69-python3-wheel_0.30.0-0.2_all.deb ...
Unpacking python3-wheel (0.30.0-0.2) ...
Selecting previously unselected package python3-xdg.
Preparing to unpack .../70-python3-xdg_0.25-4ubuntu1_all.deb ...
Unpacking python3-xdg (0.25-4ubuntu1) ...
Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libedit2:amd64 (3.1-20170329-1) ...
Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.1) ...
Setting up manpages (4.15-1) ...
Setting up git-man (1:2.17.1-1ubuntu0.7) ...
Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up less (487-0.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Setting up liberror-perl (0.17025-1) ...
Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up linux-libc-dev:amd64 (4.15.0-112.113) ...
Setting up libmpfr6:amd64 (4.0.1-1) ...
Setting up libgirepository-1.0-1:amd64 (1.56.1-1) ...
Setting up libxmuu1:amd64 (2:1.1.2-2) ...
Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up xauth (1:1.0.10-1) ...
Setting up gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Setting up libapparmor1:amd64 (2.12-4ubuntu5.1) ...
Setting up wget (1.19.4-1ubuntu2.2) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1.2) ...
Setting up manpages-dev (4.15-1) ...
Setting up openssh-client (1:7.6p1-4ubuntu0.3) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1.2) ...
Setting up git (1:2.17.1-1ubuntu0.7) ...
Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) ...
Setting up libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Setting up libdbus-1-3:amd64 (1.12.2-1ubuntu1.2) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Setting up python3.6 (3.6.9-1~18.04ubuntu1.1) ...
Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up cpp-7 (7.5.0-3ubuntu1~18.04) ...
Setting up libstdc++-7-dev:amd64 (7.5.0-3ubuntu1~18.04) ...
Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) ...
Setting up dbus (1.12.2-1ubuntu1.2) ...
Setting up libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Setting up libpython3-stdlib:amd64 (3.6.7-1~18.04) ...
Setting up cpp (4:7.4.0-1ubuntu2.3) ...
Setting up python3 (3.6.7-1~18.04) ...
running python rtupdate hooks for python3.6...
running python post-rtupdate hooks for python3.6...
Setting up python3-cffi-backend (1.11.5-1) ...
Setting up gcc-7 (7.5.0-3ubuntu1~18.04) ...
Setting up g++-7 (7.5.0-3ubuntu1~18.04) ...
Setting up python3-crypto (2.6.1-8ubuntu2) ...
Setting up python3-idna (2.6-1) ...
Setting up python3-xdg (0.25-4ubuntu1) ...
Setting up python3-six (1.11.0-2) ...
Setting up python3-wheel (0.30.0-0.2) ...
Setting up gcc (4:7.4.0-1ubuntu2.3) ...
Setting up python3-pkg-resources (39.0.1-2) ...
Setting up python3-gi (3.26.1-2ubuntu1) ...
Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.1) ...
Setting up python3-asn1crypto (0.24.0-1) ...
Setting up g++ (4:7.4.0-1ubuntu2.3) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exi                                                                         st
Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.1) ...
Setting up python3-lib2to3 (3.6.9-1~18.04) ...
Setting up python3-distutils (3.6.9-1~18.04) ...
Setting up libpython3-dev:amd64 (3.6.7-1~18.04) ...
Setting up python3-cryptography (2.1.4-1ubuntu1.3) ...
Setting up python3-dbus (1.2.6-1) ...
Setting up build-essential (12.4ubuntu1) ...
Setting up python3-keyrings.alt (3.0-1) ...
Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.1) ...
Setting up python3-setuptools (39.0.1-2) ...
Setting up python3-secretstorage (2.3.1-2) ...
Setting up dh-python (3.20180325ubuntu2) ...
Setting up python3-keyring (10.6.0-1) ...
Setting up python3-dev (3.6.7-1~18.04) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Cloning into '/usr/local/sma'...
Collecting pip
  Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)
Installing collected packages: pip
Successfully installed pip-20.1.1
Collecting virtualenv
  Downloading virtualenv-20.0.27-py2.py3-none-any.whl (4.9 MB)
Collecting importlib-resources>=1.0; python_version < "3.7"
  Downloading importlib_resources-3.0.0-py2.py3-none-any.whl (23 kB)
Collecting appdirs<2,>=1.4.3
  Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
  Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
Requirement already satisfied: six<2,>=1.9.0 in /usr/lib/python3/dist-packages (from virtualenv) (1.11.0)
Collecting importlib-metadata<2,>=0.12; python_version < "3.8"
  Downloading importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting filelock<4,>=3.0.0
  Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting zipp>=0.4; python_version < "3.8"
  Downloading zipp-3.1.0-py3-none-any.whl (4.9 kB)
Installing collected packages: zipp, importlib-resources, appdirs, distlib, importlib-metadata, filelock, virtualenv
  WARNING: The script virtualenv is installed in '/root/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 importlib-metadata-1.7.0 importlib-resources-3.0.0 virtualenv-20.0.27 zipp-3.1.0
created virtual environment CPython3.6.9.final.0-64 in 1176ms
  creator CPython3Posix(dest=/usr/local/sma/venv, clear=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==20.1.1, setuptools==49.2.0, wheel==0.34.2
  activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
Collecting requests
  Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
Collecting requests-cache
  Downloading requests_cache-0.5.2-py2.py3-none-any.whl (22 kB)
Collecting babelfish
  Downloading babelfish-0.5.5.tar.gz (90 kB)
Collecting tmdbsimple
  Downloading tmdbsimple-2.5.4-py3-none-any.whl (37 kB)
Collecting mutagen
  Downloading mutagen-1.45.0-py3-none-any.whl (219 kB)
Collecting guessit
  Downloading guessit-3.1.1.tar.gz (147 kB)
Collecting subliminal
  Downloading subliminal-2.1.0-py3-none-any.whl (66 kB)
Collecting python-dateutil
  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting stevedore
  Downloading stevedore-3.2.0-py3-none-any.whl (42 kB)
Collecting qtfaststart
  Downloading qtfaststart-1.8.tar.gz (7.7 kB)
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting chardet<4,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting rebulk==2.*
  Downloading rebulk-2.0.1.tar.gz (258 kB)
Collecting six
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting click>=4.0
  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting rarfile>=2.7
  Downloading rarfile-3.2.tar.gz (121 kB)
Collecting pytz>=2012c
  Downloading pytz-2020.1-py2.py3-none-any.whl (510 kB)
Collecting appdirs>=1.3
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting beautifulsoup4>=4.4.0
  Downloading beautifulsoup4-4.9.1-py3-none-any.whl (115 kB)
Collecting pysrt>=1.0.1
  Downloading pysrt-1.1.2.tar.gz (104 kB)
Collecting enzyme>=0.4.1
  Downloading enzyme-0.4.1.tar.gz (47 kB)
Collecting dogpile.cache>=0.6.0
  Downloading dogpile.cache-1.0.1.tar.gz (339 kB)
Collecting pbr!=2.1.0,>=2.0.0
  Downloading pbr-5.4.5-py2.py3-none-any.whl (110 kB)
Collecting importlib-metadata>=1.7.0; python_version < "3.8"
  Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Collecting soupsieve>1.2
  Downloading soupsieve-2.0.1-py3-none-any.whl (32 kB)
Collecting decorator>=4.0.0
  Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting zipp>=0.5
  Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB)
Building wheels for collected packages: babelfish, guessit, qtfaststart, rebulk, rarfile, pysrt, enzyme, dogpile.cache
  Building wheel for babelfish (setup.py): started
  Building wheel for babelfish (setup.py): finished with status 'done'
  Created wheel for babelfish: filename=babelfish-0.5.5-py3-none-any.whl size=97714 sha256=1e772e6353c18264f53997fa9e2a39bd62475dd279f3008d6c2e19029315e968
  Stored in directory: /root/.cache/pip/wheels/f6/69/2f/9d377135a4c2a8faaebdc9f1ce3a17d9b9171e01100f93ec9d
  Building wheel for guessit (setup.py): started
  Building wheel for guessit (setup.py): finished with status 'done'
  Created wheel for guessit: filename=guessit-3.1.1-py3-none-any.whl size=162299 sha256=91bf5e4f4e073afa740364db690088c7e2e603b63afdc0fe438c125461505124
  Stored in directory: /root/.cache/pip/wheels/bc/d4/81/7363ac4954e71d716e18a36d9786e7243affd06a25713c4c61
  Building wheel for qtfaststart (setup.py): started
  Building wheel for qtfaststart (setup.py): finished with status 'done'
  Created wheel for qtfaststart: filename=qtfaststart-1.8-py3-none-any.whl size=8535 sha256=bf2107916d4b2e53043258e806a51f3d7f4c7a00d3e2d1a981963cf3e196d877
  Stored in directory: /root/.cache/pip/wheels/36/5f/e5/d4fc3c273e33c0f1077806d4700902202ec289237391505523
  Building wheel for rebulk (setup.py): started
  Building wheel for rebulk (setup.py): finished with status 'done'
  Created wheel for rebulk: filename=rebulk-2.0.1-py3-none-any.whl size=55492 sha256=3d8e16ebb654a81fd31d9c2d8bdb5e8d11e4bce7e7a3ff28e6cb1dd2c84d2429
  Stored in directory: /root/.cache/pip/wheels/aa/e4/3a/9b7463fe9209319861d9695836b421619bcf746ea16817a4fb
  Building wheel for rarfile (setup.py): started
  Building wheel for rarfile (setup.py): finished with status 'done'
  Created wheel for rarfile: filename=rarfile-3.2-py2.py3-none-any.whl size=24972 sha256=3a8ef67b088b0237e1a87793757fe660439a22b0d65ce55116c0fbac926b78b0
  Stored in directory: /root/.cache/pip/wheels/69/0b/da/7ab8f18601933afb724d11bb0e7327d86c4db2de7f2b4e2853
  Building wheel for pysrt (setup.py): started
  Building wheel for pysrt (setup.py): finished with status 'done'
  Created wheel for pysrt: filename=pysrt-1.1.2-py3-none-any.whl size=13425 sha256=4aa53ac3995ebee131ef52aa7ba3bbc6fd3abbfd39a7fef17040393a71210fd3
  Stored in directory: /root/.cache/pip/wheels/91/17/cc/2b2bc356cc6fbcc18bd1788dc3a09c8a3dcb5f1b39bbd8c27f
  Building wheel for enzyme (setup.py): started
  Building wheel for enzyme (setup.py): finished with status 'done'
  Created wheel for enzyme: filename=enzyme-0.4.1-py3-none-any.whl size=50729 sha256=36750af54ef8a3e595cb855afd589e8b1797a93f99bce2bd81969ca86708c51a
  Stored in directory: /root/.cache/pip/wheels/b4/24/3c/b68033b43af48f18a0fec99cb2941a9930abd3626461251c5f
  Building wheel for dogpile.cache (setup.py): started
  Building wheel for dogpile.cache (setup.py): finished with status 'done'
  Created wheel for dogpile.cache: filename=dogpile.cache-1.0.1-py3-none-any.whl size=70189 sha256=9a781fb0a916faca935ef984a442d05006f48596399454c5d817e1aacc971                                                                         71d
  Stored in directory: /root/.cache/pip/wheels/03/73/a9/d74f2376af494831ae9cfc17927fafda707805aa930d60ef8f
Successfully built babelfish guessit qtfaststart rebulk rarfile pysrt enzyme dogpile.cache
Installing collected packages: idna, certifi, urllib3, chardet, requests, requests-cache, babelfish, tmdbsimple, mutagen, six, rebulk, python-dateutil, guessit,                                                                          click, pbr, zipp, importlib-metadata, stevedore, rarfile, pytz, appdirs, soupsieve, beautifulsoup4, pysrt, enzyme, decorator, dogpile.cache, subliminal, qtfast                                                                         start
Successfully installed appdirs-1.4.4 babelfish-0.5.5 beautifulsoup4-4.9.1 certifi-2020.6.20 chardet-3.0.4 click-7.1.2 decorator-4.4.2 dogpile.cache-1.0.1 enzyme                                                                         -0.4.1 guessit-3.1.1 idna-2.10 importlib-metadata-1.7.0 mutagen-1.45.0 pbr-5.4.5 pysrt-1.1.2 python-dateutil-2.8.1 pytz-2020.1 qtfaststart-1.8 rarfile-3.2 rebul                                                                         k-2.0.1 requests-2.24.0 requests-cache-0.5.2 six-1.15.0 soupsieve-2.0.1 stevedore-3.2.0 subliminal-2.1.0 tmdbsimple-2.5.4 urllib3-1.25.10 zipp-3.1.0
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Removing intermediate container 3bee01919f61
 ---> 1363ae15fe62
Step 11/16 : RUN        apt-get update -y &&    apt-get install -y --no-install-recommends libva-drm2 libva2 i965-va-driver &&   rm -rf     /tmp/*     /var/lib/                                                                         apt/lists/*     /var/tmp/*
 ---> Running in 076d1d2940f4
Get:1 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease [5,156 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:5 https://mediaarea.net/repo/deb/ubuntu bionic InRelease
Get:6 https://mediaarea.net/repo/deb/ubuntu bionic Release [5,051 B]
Get:7 https://mediaarea.net/repo/deb/ubuntu bionic Release.gpg [836 B]
Get:8 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20/main amd64 Packages [48.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5,823 B]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main Sources [1,063 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [216 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [10.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [6,200 B]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [419 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [376 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [13.6 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [111 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,321 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,409 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-security/main Sources [206 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-security/universe Sources [218 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Sources [3,234 B]
Get:28 http://archive.ubuntu.com/ubuntu bionic-security/restricted Sources [8,064 B]
Get:29 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [97.8 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1,022 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [870 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9,279 B]
Get:33 https://mediaarea.net/repo/deb/ubuntu bionic/main amd64 Packages [12.3 kB]
Fetched 32.3 MB in 12s (2,615 kB/s)
Reading package lists...
W: Conflicting distribution: http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease (expected bionic/snapshots/5.20 but got bionic)
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libdrm-common libdrm-intel1 libdrm2 libpciaccess0
Suggested packages:
  i965-va-driver-shaders pciutils
The following NEW packages will be installed:
  i965-va-driver libdrm-common libdrm-intel1 libdrm2 libpciaccess0 libva-drm2
  libva2
0 upgraded, 7 newly installed, 0 to remove and 9 not upgraded.
Need to get 1,095 kB of archives.
After this operation, 8,760 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-common all 2.4.101-2~18.04.1 [5,560 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm2 amd64 2.4.101-2~18.04.1 [32.3 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpciaccess0 amd64 0.14-1 [17.9 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdrm-intel1 amd64 2.4.101-2~18.04.1 [60.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libva2 amd64 2.1.0-3 [47.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libva-drm2 amd64 2.1.0-3 [6,880 B]
Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 i965-va-driver amd64 2.1.0-0ubuntu1 [925 kB]
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> li                                                                         ne 7.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 1,095 kB in 0s (3,506 kB/s)
Selecting previously unselected package libdrm-common.
(Reading database ... 23518 files and directories currently installed.)
Preparing to unpack .../0-libdrm-common_2.4.101-2~18.04.1_all.deb ...
Unpacking libdrm-common (2.4.101-2~18.04.1) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../1-libdrm2_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../2-libpciaccess0_0.14-1_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.14-1) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../3-libdrm-intel1_2.4.101-2~18.04.1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.101-2~18.04.1) ...
Selecting previously unselected package libva2:amd64.
Preparing to unpack .../4-libva2_2.1.0-3_amd64.deb ...
Unpacking libva2:amd64 (2.1.0-3) ...
Selecting previously unselected package libva-drm2:amd64.
Preparing to unpack .../5-libva-drm2_2.1.0-3_amd64.deb ...
Unpacking libva-drm2:amd64 (2.1.0-3) ...
Selecting previously unselected package i965-va-driver:amd64.
Preparing to unpack .../6-i965-va-driver_2.1.0-0ubuntu1_amd64.deb ...
Unpacking i965-va-driver:amd64 (2.1.0-0ubuntu1) ...
Setting up libva2:amd64 (2.1.0-3) ...
Setting up libdrm-common (2.4.101-2~18.04.1) ...
Setting up libpciaccess0:amd64 (0.14-1) ...
Setting up libdrm2:amd64 (2.4.101-2~18.04.1) ...
Setting up libdrm-intel1:amd64 (2.4.101-2~18.04.1) ...
Setting up libva-drm2:amd64 (2.1.0-3) ...
Setting up i965-va-driver:amd64 (2.1.0-0ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Removing intermediate container 076d1d2940f4
 ---> 0c5e89168610
Step 12/16 : EXPOSE 8989
 ---> Running in c3e62239aa05
Removing intermediate container c3e62239aa05
 ---> feb0f0209bd6
Step 13/16 : VOLUME /config
 ---> Running in ed674478c188
Removing intermediate container ed674478c188
 ---> e928ed7dab44
Step 14/16 : VOLUME /usr/local/sma/config
 ---> Running in a1fd0ecbe616
Removing intermediate container a1fd0ecbe616
 ---> 35005672df1b
Step 15/16 : COPY extras/ ${SMA_PATH}/
 ---> 8912d3ffccbb
Step 16/16 : COPY root/ /
 ---> c9b65fe2402a
Successfully built c9b65fe2402a

I tried to fix it by reinstalling mono, but then noticed that when I run apt-get update in my locally build image, I get:

root@eikowagenknecht-sonarr-sma-vaapi:/# apt update
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:2 https://mediaarea.net/repo/deb/ubuntu bionic InRelease
  Temporary failure resolving 'mediaarea.net'
Err:3 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease
  Temporary failure resolving 'download.mono-project.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch https://mediaarea.net/repo/deb/ubuntu/dists/bionic/InRelease  Temporary failure resolving 'mediaarea.net'
W: Failed to fetch http://download.mono-project.com/repo/ubuntu/dists/bionic/snapshots/5.20/InRelease  Temporary failure resolving 'download.mono-project.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

When I use your image instead it works fine:

root@mdhiggins-sonarr-sma:/# apt-get update
Get:1 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease [5,156 B]
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Ign:3 https://mediaarea.net/repo/deb/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 https://mediaarea.net/repo/deb/ubuntu bionic Release [5,051 B]
Get:7 http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20/main amd64 Packages [48.7 kB]
Get:8 https://mediaarea.net/repo/deb/ubuntu bionic Release.gpg [836 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main Sources [1,063 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [216 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5,823 B]
Get:13 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:16 https://mediaarea.net/repo/deb/ubuntu bionic/main amd64 Packages [12.3 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [6,200 B]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [419 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [10.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [376 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1,322 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,409 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [13.6 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [111 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic-security/restricted Sources [8,064 B]
Get:27 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Sources [3,234 B]
Get:28 http://archive.ubuntu.com/ubuntu bionic-security/universe Sources [218 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic-security/main Sources [206 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [870 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1,022 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [9,279 B]
Get:33 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [97.8 kB]
Fetched 32.3 MB in 4s (7,646 kB/s)
Reading package lists... Done
W: Conflicting distribution: http://download.mono-project.com/repo/ubuntu bionic/snapshots/5.20 InRelease (expected bionic/snapshots/5.20 but got bionic)

Any help would be appreciated.

eikowagenknecht commented 4 years ago

Building on a windows machine and then transferring the image to the diskstation seems to have fixed this. Sonarr at least starts up fine now and also transcoding now works at ~72FPS for the sample command ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input.mp4 -c:v h264_vaapi -b:v 2M -maxrate 2M output.mp4

Running this on a Synology DS920+

eikowagenknecht commented 4 years ago

If anyone else has problems figuring out how to get a Synology Diskstation running with ffmpeg hardware accelleration, you can just use my Docker image now: https://hub.docker.com/r/eikowagenknecht/sonarr-sma-vaapi