I tried the following.
But still get dpkg error. In dietpi-software it shows that Emby is installed but I checked with htop, it is not running.