This error will be reported when using apt command
The solutions are as follows: https://askubuntu.com/questions/829370/n-ignoring-file-50unattended-upgrades-ucf-dist-in-directory-etc-apt-apt-con/829585
In short: just delete the error file….
sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist