Unable to disable Airplay "Videos" and "Pictures" support

There was a failure in a dist-upgrade earlier but I had solved it after performing:

umount /boot
fsck.hfsplus -f /dev/sda1
mount -o force,rw /dev/sda1 /boot

I searched for ‘partially installed kernel’ and found Failed update, now "no updates available" - #4 by DBMandrake which led to the following commands and output:

root@osmc:/home/osmc# dpkg --configure -a
root@osmc:/home/osmc# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I checked the output of:

root@osmc:/home/osmc# service avahi status
* avahi.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

However I can log into the server with ssh via

ssh osmc@osmc.local