Managing MySQL setting on Ubuntu Lunix 16.4 when automatic unattended upgrade happens

I just had MySQL 5.7.25 upgraded automatically in unattended mode and the settings I had set for ExecStart disappeared. How do I preserve the ExecStart setting so I am not blind side on the next automatic unattended upgrade. The ExecStart settings were in the file:


MySQL systemd service file

[Unit] Description=MySQL Community Server


[Service] User=mysql Group=mysql PermissionsStartOnly=true ExecStartPre=/usr/share/mysql/mysql-systemd-start pre

Normally, we’d simply use:


ExecStart=/usr/sbin/mysqld –sql-mode=ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION ExecStartPost=/usr/share/mysql/mysql-systemd-start post TimeoutSec=600 Restart=on-failure RuntimeDirectory=mysqld RuntimeDirectoryMode=755

Deactivate weather server ( Mate 16.4

Since I’ve set a location in Ubuntu Mate, it’s getting weather forecasts every few seconds. How can I disable it? I’ve already removed the location again, but Ubuntu still keeps getting information from Would be glad for any tip for disabling it, because it’s waking up my device all the time.

Cannot print from LTS 16.4 to newly installed Brother MFC-L2700DW network or USB

I installed an existing MFC-L2700DW printer on my Ubuntu. I used deb package at I connected the printer via WPS and see it in router control panel. Installation finished, however I did get this error:

lpinfo: cups-deviced failed to execute. lpadmin -p MFCL2700DW -E -v usb://dev/usb/lp0 -P /usr/share/cups/model/brother-MFCL2700DW-cups-en.ppd lpadmin: Bad device-uri scheme "usb". 

But the installation continues. After it completes and I look at printer properties, I see location = ~empty~ device uri = file:///dev/null make and model = Local Raw Printer.

I can send something to the printer with Libre Office, but nothing ever prints.

I have tried over my network and with the USB connection.