Emby Install Error

I had emby server on my dietpi for a few months.
Yesterday after a reboot I couldn’t access Emby server.
I ran htop and saw none of the emby services running.
I tried reinstalling with dietpi-software reinstall 41 but got an error
I then uninstalled Emby and tried to install it again through dietpi-software
but got the following error.


I tried searching online but got no results
What should I do?

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.

Solved as of the other thread.