← Back to team overview

enterprise-support team mailing list archive

[Bug 1891760] Re: Apache2 2.4.18-2ubuntu3.17 not working with apt autoupdate

 

Thanks for filing this bug and try to help to make Ubuntu better.

What you described does not seem a bug. Passing '-y' to apt-get does not
imply it will handle conffiles in the way you expect. dpkg handles
conffiles and if you want to make it work properly in a non-interactive
way you need to tell it what you want. For instance, if you want to
always keep the local config file instead of the one provided by the
package you can use the --force-confold (force old conffile), you can
also combine this option with --force-confdef which will make dpkg
install new conffiles if you didn't change it locally.

To pass those options through apt-get CLI you can use something like
this:

apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options
::="--force-confold" -o quiet=1 upgrade -y -o APT::Get::Show-
Upgraded=true

For more information about those options you can take a look at:

http://manpages.ubuntu.com/manpages/xenial/en/man1/dpkg.1.html

(I am assuming you are using Xenial based on the version of the
packages)

Since this is not a bug I am marking this as Invalid. If my explanation
was not enough and you do not agree with it, please add more information
here and change the status to New again, and we will revisit this bug.


** Changed in: apache2 (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1891760

Title:
  Apache2 2.4.18-2ubuntu3.17 not working with apt autoupdate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1891760/+subscriptions