How to disable avahi-daemon
in Ubuntu 16.04 LTS? I have tried
sudo sh -c "echo 'manual'>/etc/init/avahi-daemon.override"
but seems it does not work.
And how to disable cups-browsed
? I have tried
sudo sh -c "echo 'manual'>/etc/init/cups-browsed.override"
but seems it does not work.
Since 16.04 is a systemd system, you need to do
Also, the cups-browsed.service "Wants" avahi to start, so you'll either have to disable that, too, or comment out the line in
/lib/systemd/system/cups-browsed.service
:Then you don't need to uninstall anything.
This won't take effect until reboot, but you can do
If you want to stop it right away.
After trying a couple of things, the one wich worked for me was
I have tried
but still avahi-daemon came up after reboot.
So I ended up with
apt-get purge avahi-daemon
which finally solved the problem for me.