Update to the latest version of Mono [from the project's own site](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
If you are on Ubuntu 18.04 or earlier, you'll need to update mono to the latest using [the official repository](https://www.mono-project.com/download/stable/#download-lin-ubuntu).
apt update && apt install curl mediainfo
If you are on Ubuntu 16.04 or earlier, you should also update your mediainfo to the latest using [the official releases](https://mediaarea.net/en/MediaInfo/Download/Ubuntu).