Ubuntu 16.04 apache conf file issue

Today I found that my existing apache.conf file rename to apache.conf.dpkg-old and generate a new apache.conf file in /etc/apache folder. what is the reason?

screenshot

1 Answer

When the apache package (or any other package) is updated/upgraded by apt (e.g. sudo apt-get dist-upgrade or the unattended updates) and the update/upgrade contains changes to the configuration file, dpkg creates a backup of the old configuration file.

When the upgrade/update is executed manually (e.g. with sudo apt-get dist-upgrade), dpkg asks, if the changes should be applied to configuration file. In your case, it look like the unattended security updates have performed the update and applied the changes automatically.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like