Page 1 of 1
Posted: Thu Nov 09, 2017 9:51 am
I have run into problems with Emby crashing which their forum admin thinks is due to me running Mono v 5.4 - they only support up to v 4.8.1.
I have updated Mono with apt-get update without thinking too much about it which is no doubt why I have ended up with this version.
Just tried to install Emby on a spare device and I see it uses Mono 4.8.1 - how can I prevent apt-get update from offering updates to this version?
Posted: Thu Nov 09, 2017 5:49 pm
If you remove the mono repo from system, should prevent it overwriting during apt-get upgrades
Code: Select all
Another option is to hold the packages:
Posted: Thu Nov 09, 2017 6:00 pm
Fourdee wrote:Another option is to hold the packages:
Code: Select all
echo "<package-name> hold" | dpkg --set-selections
Posted: Thu Nov 09, 2017 6:05 pm
Posted: Fri Nov 10, 2017 9:55 am
Big problems here. I have uninstalled Emby and removed Mono using these instructions:
https://askubuntu.com/questions/644938/ ... emove-mono
Mono appears to have gone as mono -V produces no response.
Reinstalling Emby pulls in Mono v 5.4 not the 4.8.1 version I need and Emby keeps crashing.
Any ideas how to fix this - preferably just by removing/replacing Mono and keeping Emby to avoid having to rebuild its database?
Posted: Fri Nov 10, 2017 8:05 pm
Finally seem to have fixed this but it was a pig of a job.
Remove all traces of mono 5.4 https://askubuntu.com/questions/644938/ ... emove-mono
In /etc/apt/sources.list.d changed mono.xamarin.list to contain this line:
Therefore locking in this version of mono.
In /etc/apt/sources.list.d in emby-server.list have this line:
deb http://download.opensuse.org/repositori ... ntu_14.04/
apt-get install mono-devel=220.127.116.11-0xamarin1 (possibly an unnecessary step)
Installed two missing components of Emby https://emby.media/community/index.php? ... it-sticky/
apt-get install emby-server (had to do this manually as the dietpi-software way didn't work, possibly due to undetected mono 5.4 files left over?).
All good! Spent hours on this and a couple of sleepless nights.
All because I somehow updated mono - no fault of dietpi here.