diff -Nru unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/data/50unattended-upgrades.md5sum unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/data/50unattended-upgrades.md5sum --- unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/data/50unattended-upgrades.md5sum 1970-01-01 00:00:00.000000000 +0000 +++ unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/data/50unattended-upgrades.md5sum 2021-03-04 19:08:33.000000000 +0000 @@ -0,0 +1,2 @@ +3ad71443bccc1acc9cf4335668ef024f +404d67afd60e7b8b11f08b1360da219b diff -Nru unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/debian/changelog unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/debian/changelog --- unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/debian/changelog 2020-02-17 11:39:28.000000000 +0000 +++ unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/debian/changelog 2021-03-04 19:11:41.000000000 +0000 @@ -1,3 +1,14 @@ +unattended-upgrades (1.1ubuntu1.18.04.7~16.04.7) xenial; urgency=medium + + * data: add md5sum history file on the data folder (LP: #1915547) + - This file contains the md5sum of the current xenial and trusty + version of 50unattended-upgrades. This file will be used to avoid + prompting users about unattended-upgrade changes when upgrading + from trusty to xenial. + * debian/postint: make ucf command reference the md5sum history file + + -- Lucas Moura Wed, 10 Feb 2021 17:37:18 -0300 + unattended-upgrades (1.1ubuntu1.18.04.7~16.04.6) xenial; urgency=medium * data/50unattended-upgrades.Ubuntu: add new ESM repositories (LP: #1857051) diff -Nru unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/debian/postinst unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/debian/postinst --- unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/debian/postinst 2020-02-17 11:39:28.000000000 +0000 +++ unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/debian/postinst 2021-02-24 01:22:03.000000000 +0000 @@ -47,9 +47,10 @@ CONFIG="/etc/apt/apt.conf.d/50unattended-upgrades" NEWFILE="$CONFIG.ucftmp" + MD5SUM_FILE="/usr/share/unattended-upgrades/50unattended-upgrades.md5sum" TEMPLATE="/usr/share/unattended-upgrades/50unattended-upgrades" cp -a -f "$TEMPLATE" "$NEWFILE" - ucf --three-way --debconf-ok "$NEWFILE" "$CONFIG" + ucf --three-way --debconf-ok --sum-file "$MD5SUM_FILE" "$NEWFILE" "$CONFIG" ucfr unattended-upgrades "$CONFIG" rm -f "$NEWFILE" diff -Nru unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/setup.py unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/setup.py --- unattended-upgrades-1.1ubuntu1.18.04.7~16.04.6/setup.py 2020-02-17 11:39:28.000000000 +0000 +++ unattended-upgrades-1.1ubuntu1.18.04.7~16.04.7/setup.py 2021-02-24 01:22:03.000000000 +0000 @@ -21,6 +21,7 @@ ["data/20auto-upgrades", "data/20auto-upgrades-disabled", "data/50unattended-upgrades", + "data/50unattended-upgrades.md5sum", "unattended-upgrade-shutdown", "data/update-motd-unattended-upgrades"]), ('../usr/share/man/man8/',