Activity log for bug #1824341

Date Who What changed Old value New value Message
2019-04-11 11:49:11 Anderson Luiz Alves bug added bug
2019-04-11 12:17:50 Anderson Luiz Alves attachment added fix clear cache on exception https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1824341/+attachment/5254915/+files/uu_origin.patch
2019-04-11 12:22:58 Anderson Luiz Alves description unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log of dry-run with the problem: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=True, delete=False Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 259, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 775, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking ibverbs-providers for removal Keeping auto-removable ibverbs-providers package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap samba-common marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap samba-common marking samba-vfs-modules for removal marking python-crypto for removal Keeping auto-removable python-crypto package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking attr for removal marking smbclient for removal Keeping auto-removable smbclient package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking python-ldb for removal Keeping auto-removable python-ldb package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking python-tdb for removal Keeping auto-removable python-tdb package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking samba-dsdb-modules for removal marking librados2 for removal marking libibverbs1 for removal marking samba for removal Keeping auto-removable samba package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking python-samba for removal Keeping auto-removable python-samba package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap marking libcephfs2 for removal marking tdb-tools for removal Keeping auto-removable tdb-tools package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap samba-common marking python-dnspython for removal Keeping auto-removable python-dnspython package(s) because it would also remove the following packages which should be kept in this step: cliente-ldap Packages that were successfully auto-removed: Packages that are kept back: ibverbs-providers python-crypto python-dnspython python-ldb python-samba python-tdb samba samba-common-bin smbclient tdb-tools InstCount=0 DelCount=0 BrokenCount=0 Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=True, delete=False Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 259, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 775, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0 unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log of dry-run with the problem: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 259, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 777, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking tdb-tools for removal Keeping auto-removable tdb-tools package(s) because it would also remove the following packages which should be kept in this step: samba-common marking ibverbs-providers for removal marking python-dnspython for removal marking librados2 for removal marking ldap-auth-client for removal marking ldap-auth-config for removal marking python-tdb for removal marking libhx28 for removal marking libcephfs2 for removal marking nscd for removal marking smbclient for removal marking cliente-ldap for removal marking libnss-db for removal marking samba-vfs-modules for removal marking samba-dsdb-modules for removal marking libpam-mount for removal marking libpam-ldap for removal marking nss-updatedb for removal marking python-samba for removal marking auth-client-config for removal marking python-ldb for removal marking libnss-ldap for removal marking python-crypto for removal marking samba for removal marking libibverbs1 for removal marking attr for removal marking libpam-ccreds for removal Packages that were successfully auto-removed: Packages that are kept back: samba-common-bin tdb-tools InstCount=0 DelCount=0 BrokenCount=0 Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=True, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 259, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 775, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0
2019-04-11 12:27:20 Ubuntu Foundations Team Bug Bot tags patch
2019-04-11 12:27:26 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2019-04-11 12:30:41 Anderson Luiz Alves description unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log of dry-run with the problem: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 259, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 777, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking tdb-tools for removal Keeping auto-removable tdb-tools package(s) because it would also remove the following packages which should be kept in this step: samba-common marking ibverbs-providers for removal marking python-dnspython for removal marking librados2 for removal marking ldap-auth-client for removal marking ldap-auth-config for removal marking python-tdb for removal marking libhx28 for removal marking libcephfs2 for removal marking nscd for removal marking smbclient for removal marking cliente-ldap for removal marking libnss-db for removal marking samba-vfs-modules for removal marking samba-dsdb-modules for removal marking libpam-mount for removal marking libpam-ldap for removal marking nss-updatedb for removal marking python-samba for removal marking auth-client-config for removal marking python-ldb for removal marking libnss-ldap for removal marking python-crypto for removal marking samba for removal marking libibverbs1 for removal marking attr for removal marking libpam-ccreds for removal Packages that were successfully auto-removed: Packages that are kept back: samba-common-bin tdb-tools InstCount=0 DelCount=0 BrokenCount=0 Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=True, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 259, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 775, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0 unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log of dry-run with the problem: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking tdb-tools for removal Keeping auto-removable tdb-tools package(s) because it would also remove the following packages which should be kept in this step: samba-common marking ibverbs-providers for removal marking python-dnspython for removal marking librados2 for removal marking ldap-auth-client for removal marking ldap-auth-config for removal marking python-tdb for removal marking libhx28 for removal marking libcephfs2 for removal marking nscd for removal marking smbclient for removal marking cliente-ldap for removal marking libnss-db for removal marking samba-vfs-modules for removal marking samba-dsdb-modules for removal marking libpam-mount for removal marking libpam-ldap for removal marking nss-updatedb for removal marking python-samba for removal marking auth-client-config for removal marking python-ldb for removal marking libnss-ldap for removal marking python-crypto for removal marking samba for removal marking libibverbs1 for removal marking attr for removal marking libpam-ccreds for removal Packages that were successfully auto-removed: Packages that are kept back: samba-common-bin tdb-tools InstCount=0 DelCount=0 BrokenCount=0 Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0
2019-04-11 12:38:47 Anderson Luiz Alves description unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log of dry-run with the problem: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking tdb-tools for removal Keeping auto-removable tdb-tools package(s) because it would also remove the following packages which should be kept in this step: samba-common marking ibverbs-providers for removal marking python-dnspython for removal marking librados2 for removal marking ldap-auth-client for removal marking ldap-auth-config for removal marking python-tdb for removal marking libhx28 for removal marking libcephfs2 for removal marking nscd for removal marking smbclient for removal marking cliente-ldap for removal marking libnss-db for removal marking samba-vfs-modules for removal marking samba-dsdb-modules for removal marking libpam-mount for removal marking libpam-ldap for removal marking nss-updatedb for removal marking python-samba for removal marking auth-client-config for removal marking python-ldb for removal marking libnss-ldap for removal marking python-crypto for removal marking samba for removal marking libibverbs1 for removal marking attr for removal marking libpam-ccreds for removal Packages that were successfully auto-removed: Packages that are kept back: samba-common-bin tdb-tools InstCount=0 DelCount=0 BrokenCount=0 Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0 unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log that happens package removal: $ sudo unattended-upgrade -d [...] Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 257, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking cliente-ldap for removal (Reading database ... 213413 files and directories currently installed.) Removing cliente-ldap (1:2.17.15) ... marking libcephfs2 for removal (Reading database ... 213392 files and directories currently installed.) Removing libcephfs2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking ldap-auth-config for removal (Reading database ... 213386 files and directories currently installed.) Removing libpam-ldap:amd64 (186-4ubuntu1) ... Removing ldap-auth-config (0.5.3) ... Removing ldap-auth-client (0.5.3) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-samba for removal (Reading database ... 213332 files and directories currently installed.) Removing samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nss-updatedb for removal (Reading database ... 212865 files and directories currently installed.) Removing nss-updatedb (10-3build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-vfs-modules for removal (Reading database ... 212859 files and directories currently installed.) Removing samba-vfs-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking librados2 for removal (Reading database ... 212770 files and directories currently installed.) Removing librados2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libibverbs1 for removal (Reading database ... 212761 files and directories currently installed.) Removing ibverbs-providers:amd64 (17.1-1ubuntu0.1) ... Removing libibverbs1:amd64 (17.1-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-mount for removal (Reading database ... 212731 files and directories currently installed.) Removing libpam-mount (2.16-3ubuntu0.1) ... Processing triggers for sgml-base (1.29) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking ibverbs-providers for removal marking tdb-tools for removal (Reading database ... 212691 files and directories currently installed.) Removing tdb-tools (1.3.15-2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-dsdb-modules for removal (Reading database ... 212680 files and directories currently installed.) Removing samba-dsdb-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... marking libnss-ldap for removal (Reading database ... 212630 files and directories currently installed.) Removing libnss-ldap:amd64 (265-5ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking smbclient for removal (Reading database ... 212609 files and directories currently installed.) Removing smbclient (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-crypto for removal (Reading database ... 212581 files and directories currently installed.) Removing python-crypto (2.6.1-8ubuntu2) ... marking libnss-db for removal (Reading database ... 212416 files and directories currently installed.) Removing libnss-db (2.2.3pre1-6build2) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nscd for removal (Reading database ... 212406 files and directories currently installed.) Removing nscd (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-ldb for removal (Reading database ... 212398 files and directories currently installed.) Removing python-ldb:amd64 (2:1.2.3-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-ccreds for removal (Reading database ... 212390 files and directories currently installed.) Removing libpam-ccreds (10-6ubuntu1) ... marking samba for removal marking python-tdb for removal (Reading database ... 212375 files and directories currently installed.) Removing python-tdb (1.3.15-2) ... marking python-dnspython for removal (Reading database ... 212370 files and directories currently installed.) Removing python-dnspython (1.15.0-1) ... marking attr for removal (Reading database ... 212257 files and directories currently installed.) Removing attr (1:2.4.47-2build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking auth-client-config for removal (Reading database ... 212244 files and directories currently installed.) Removing auth-client-config (0.9ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking libpam-ldap for removal marking ldap-auth-client for removal marking libhx28 for removal (Reading database ... 212238 files and directories currently installed.) Removing libhx28:amd64 (3.22-1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Packages that were successfully auto-removed: attr auth-client-config cliente-ldap ibverbs-providers ldap-auth-client ldap-auth-config libcephfs2 libhx28 libibverbs1 libnss-db libnss-ldap libpam-ccreds libpam-ldap libpam-mount librados2 nscd nss-updatedb python-crypto python-dnspython python-ldb python-samba python-tdb samba samba-common-bin samba-dsdb-modules samba-vfs-modules smbclient tdb-tools Packages that are kept back: samba-common-bin InstCount=0 DelCount=0 BrokenCount=0 Extracting content from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2019-04-11 09:34:02 . Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0
2019-04-11 12:41:29 Anderson Luiz Alves attachment added uu_removed.txt https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1824341/+attachment/5254923/+files/uu_removed.txt
2019-04-15 20:37:27 Brian Murray tags patch bionic disco patch rls-dd-incoming
2019-04-15 22:05:22 Balint Reczey unattended-upgrades (Ubuntu): status New In Progress
2019-04-15 22:47:28 Steve Langasek unattended-upgrades (Ubuntu Disco): status In Progress Fix Committed
2019-04-15 22:47:30 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2019-04-15 22:47:32 Steve Langasek bug added subscriber SRU Verification
2019-04-15 22:47:38 Steve Langasek tags bionic disco patch rls-dd-incoming bionic disco patch rls-dd-incoming verification-needed verification-needed-disco
2019-04-16 00:26:45 Launchpad Janitor unattended-upgrades (Ubuntu Disco): status Fix Committed Fix Released
2019-04-16 11:06:22 Anderson Luiz Alves tags bionic disco patch rls-dd-incoming verification-needed verification-needed-disco bionic disco patch rls-dd-incoming verification-done verification-done-disco
2019-04-29 19:04:01 Balint Reczey description unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log that happens package removal: $ sudo unattended-upgrade -d [...] Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 257, in call_adjusted self.allowed_origins) File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking cliente-ldap for removal (Reading database ... 213413 files and directories currently installed.) Removing cliente-ldap (1:2.17.15) ... marking libcephfs2 for removal (Reading database ... 213392 files and directories currently installed.) Removing libcephfs2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking ldap-auth-config for removal (Reading database ... 213386 files and directories currently installed.) Removing libpam-ldap:amd64 (186-4ubuntu1) ... Removing ldap-auth-config (0.5.3) ... Removing ldap-auth-client (0.5.3) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-samba for removal (Reading database ... 213332 files and directories currently installed.) Removing samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nss-updatedb for removal (Reading database ... 212865 files and directories currently installed.) Removing nss-updatedb (10-3build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-vfs-modules for removal (Reading database ... 212859 files and directories currently installed.) Removing samba-vfs-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking librados2 for removal (Reading database ... 212770 files and directories currently installed.) Removing librados2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libibverbs1 for removal (Reading database ... 212761 files and directories currently installed.) Removing ibverbs-providers:amd64 (17.1-1ubuntu0.1) ... Removing libibverbs1:amd64 (17.1-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-mount for removal (Reading database ... 212731 files and directories currently installed.) Removing libpam-mount (2.16-3ubuntu0.1) ... Processing triggers for sgml-base (1.29) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking ibverbs-providers for removal marking tdb-tools for removal (Reading database ... 212691 files and directories currently installed.) Removing tdb-tools (1.3.15-2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-dsdb-modules for removal (Reading database ... 212680 files and directories currently installed.) Removing samba-dsdb-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... marking libnss-ldap for removal (Reading database ... 212630 files and directories currently installed.) Removing libnss-ldap:amd64 (265-5ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking smbclient for removal (Reading database ... 212609 files and directories currently installed.) Removing smbclient (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-crypto for removal (Reading database ... 212581 files and directories currently installed.) Removing python-crypto (2.6.1-8ubuntu2) ... marking libnss-db for removal (Reading database ... 212416 files and directories currently installed.) Removing libnss-db (2.2.3pre1-6build2) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nscd for removal (Reading database ... 212406 files and directories currently installed.) Removing nscd (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-ldb for removal (Reading database ... 212398 files and directories currently installed.) Removing python-ldb:amd64 (2:1.2.3-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-ccreds for removal (Reading database ... 212390 files and directories currently installed.) Removing libpam-ccreds (10-6ubuntu1) ... marking samba for removal marking python-tdb for removal (Reading database ... 212375 files and directories currently installed.) Removing python-tdb (1.3.15-2) ... marking python-dnspython for removal (Reading database ... 212370 files and directories currently installed.) Removing python-dnspython (1.15.0-1) ... marking attr for removal (Reading database ... 212257 files and directories currently installed.) Removing attr (1:2.4.47-2build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking auth-client-config for removal (Reading database ... 212244 files and directories currently installed.) Removing auth-client-config (0.9ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking libpam-ldap for removal marking ldap-auth-client for removal marking libhx28 for removal (Reading database ... 212238 files and directories currently installed.) Removing libhx28:amd64 (3.22-1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Packages that were successfully auto-removed: attr auth-client-config cliente-ldap ibverbs-providers ldap-auth-client ldap-auth-config libcephfs2 libhx28 libibverbs1 libnss-db libnss-ldap libpam-ccreds libpam-ldap libpam-mount librados2 nscd nss-updatedb python-crypto python-dnspython python-ldb python-samba python-tdb samba samba-common-bin samba-dsdb-modules samba-vfs-modules smbclient tdb-tools Packages that are kept back: samba-common-bin InstCount=0 DelCount=0 BrokenCount=0 Extracting content from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2019-04-11 09:34:02 . Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0 [Impact] * When applying a minimal upgrade set fails raising an exception unattended-upgrades stops trying to install further sets and may remove packages left marked to remove in the dirty set. [Test Case] * Set up unattended-upgrades to always remove autoremovable packages: $ echo 'Unattended-Upgrade::Remove-Unused-Dependencies "false";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-remove * Install a package and mark it as autoremovable $ sudo apt install hello $ sudo apt-mark auto hello * Set up the custom package to trigger the failure with the exception when applying the minimal sets in a way that leaves packages to remove in the dirty cache. If the reporter can reproduce the issue on all releases then that's great, otherwise I provide an example with equivs. * Check if u-u still crashes $ sudo unattended-upgrades -d [Regression Potential] * The fix is catching the raised exceptions and trying to apply next minimal sets. In special circumstances this could fail again for all sets or could make systems's state worse if the installation is already broken. I can't come up with an example where it would make the system's state worse because when packages can't be safely installed Cache.commit() is expected to fail earlier, thust making the system's state worse seems unlikely. * OTOH when upgrading a set fails this would not block the installation of bigger sets anymore which is a big advantage of having this fix in u-u. [Original Bug Text] unattended-upgrades remove packages that shouldn't when there is a NoAllowedOrigin exception. Version: unattended-upgrades=1.1ubuntu1.18.04.10 Ubuntu 18.04.2 LTS Description of problem: We have a internal package cliente-ldap that depends on samba, when u-u check for upgrade samba-common it raise a NoAllowedOrigin exception, then it doesn't clear apt.cache and it removes packages that shouldn't. Log that happens package removal: $ sudo unattended-upgrade -d [...] Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=True Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True Exception: marking samba-common-bin for removal Keeping auto-removable samba-common-bin package(s) because it would also remove the following packages which should be kept in this step: samba-common marking cliente-ldap for removal (Reading database ... 213413 files and directories currently installed.) Removing cliente-ldap (1:2.17.15) ... marking libcephfs2 for removal (Reading database ... 213392 files and directories currently installed.) Removing libcephfs2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking ldap-auth-config for removal (Reading database ... 213386 files and directories currently installed.) Removing libpam-ldap:amd64 (186-4ubuntu1) ... Removing ldap-auth-config (0.5.3) ... Removing ldap-auth-client (0.5.3) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-samba for removal (Reading database ... 213332 files and directories currently installed.) Removing samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing samba-common-bin (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Removing python-samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nss-updatedb for removal (Reading database ... 212865 files and directories currently installed.) Removing nss-updatedb (10-3build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-vfs-modules for removal (Reading database ... 212859 files and directories currently installed.) Removing samba-vfs-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking librados2 for removal (Reading database ... 212770 files and directories currently installed.) Removing librados2 (12.2.11-0ubuntu0.18.04.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libibverbs1 for removal (Reading database ... 212761 files and directories currently installed.) Removing ibverbs-providers:amd64 (17.1-1ubuntu0.1) ... Removing libibverbs1:amd64 (17.1-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-mount for removal (Reading database ... 212731 files and directories currently installed.) Removing libpam-mount (2.16-3ubuntu0.1) ... Processing triggers for sgml-base (1.29) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking ibverbs-providers for removal marking tdb-tools for removal (Reading database ... 212691 files and directories currently installed.) Removing tdb-tools (1.3.15-2) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking samba-dsdb-modules for removal (Reading database ... 212680 files and directories currently installed.) Removing samba-dsdb-modules (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... marking libnss-ldap for removal (Reading database ... 212630 files and directories currently installed.) Removing libnss-ldap:amd64 (265-5ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking smbclient for removal (Reading database ... 212609 files and directories currently installed.) Removing smbclient (2:4.7.6+dfsg~ubuntu-0ubuntu2.7) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-crypto for removal (Reading database ... 212581 files and directories currently installed.) Removing python-crypto (2.6.1-8ubuntu2) ... marking libnss-db for removal (Reading database ... 212416 files and directories currently installed.) Removing libnss-db (2.2.3pre1-6build2) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking nscd for removal (Reading database ... 212406 files and directories currently installed.) Removing nscd (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking python-ldb for removal (Reading database ... 212398 files and directories currently installed.) Removing python-ldb:amd64 (2:1.2.3-1ubuntu0.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... marking libpam-ccreds for removal (Reading database ... 212390 files and directories currently installed.) Removing libpam-ccreds (10-6ubuntu1) ... marking samba for removal marking python-tdb for removal (Reading database ... 212375 files and directories currently installed.) Removing python-tdb (1.3.15-2) ... marking python-dnspython for removal (Reading database ... 212370 files and directories currently installed.) Removing python-dnspython (1.15.0-1) ... marking attr for removal (Reading database ... 212257 files and directories currently installed.) Removing attr (1:2.4.47-2build1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking auth-client-config for removal (Reading database ... 212244 files and directories currently installed.) Removing auth-client-config (0.9ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... marking libpam-ldap for removal marking ldap-auth-client for removal marking libhx28 for removal (Reading database ... 212238 files and directories currently installed.) Removing libhx28:amd64 (3.22-1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Packages that were successfully auto-removed: attr auth-client-config cliente-ldap ibverbs-providers ldap-auth-client ldap-auth-config libcephfs2 libhx28 libibverbs1 libnss-db libnss-ldap libpam-ccreds libpam-ldap libpam-mount librados2 nscd nss-updatedb python-crypto python-dnspython python-ldb python-samba python-tdb samba samba-common-bin samba-dsdb-modules samba-vfs-modules smbclient tdb-tools Packages that are kept back: samba-common-bin InstCount=0 DelCount=0 BrokenCount=0 Extracting content from /var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2019-04-11 09:34:02 . Log of what should happen: $ sudo unattended-upgrade -d --dry-run [...] Option --dry-run given, *not* performing real actions Packages that will be upgraded: libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log debug: call_adjusted samba-common debug: marked_pkg: samba: install=False, upgrade=False, delete=True debug: marked_pkg: cliente-ldap: install=False, upgrade=False, delete=False Traceback (most recent call last):   File "/usr/bin/unattended-upgrade", line 257, in call_adjusted     self.allowed_origins)   File "/usr/bin/unattended-upgrade", line 764, in ver_in_allowed_origin     raise NoAllowedOriginError() NoAllowedOriginError debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=False, delete=True debug: marked_pkg: samba-common-bin: install=False, upgrade=False, delete=True debug: call_adjusted libsmbclient debug: marked_pkg: python-samba: install=False, upgrade=True, delete=False debug: marked_pkg: libwbclient0: install=False, upgrade=True, delete=False debug: marked_pkg: samba: install=False, upgrade=True, delete=False debug: marked_pkg: samba-dsdb-modules: install=False, upgrade=True, delete=False debug: marked_pkg: samba-libs: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common: install=False, upgrade=True, delete=False debug: marked_pkg: samba-vfs-modules: install=False, upgrade=True, delete=False debug: marked_pkg: libsmbclient: install=False, upgrade=True, delete=False debug: marked_pkg: smbclient: install=False, upgrade=True, delete=False debug: marked_pkg: samba-common-bin: install=False, upgrade=True, delete=False applying set ['python-samba', 'libwbclient0', 'samba', 'samba-dsdb-modules', 'samba-libs', 'samba-common', 'samba-vfs-modules', 'libsmbclient', 'smbclient', 'samba-common-bin'] Preconfiguring packages ... /usr/bin/dpkg --status-fd 9 --no-triggers --unpack --auto-deconfigure --recursive /tmp/apt-dpkg-install-ZHXRWe /usr/bin/dpkg --status-fd 9 --configure --pending left to upgrade set() All upgrades installed InstCount=0 DelCount=0 BrokenCount=0
2019-04-30 08:42:48 Łukasz Zemczak unattended-upgrades (Ubuntu Cosmic): status New Fix Committed
2019-04-30 08:42:52 Łukasz Zemczak tags bionic disco patch rls-dd-incoming verification-done verification-done-disco bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-cosmic
2019-04-30 09:11:06 Łukasz Zemczak unattended-upgrades (Ubuntu Bionic): status New Fix Committed
2019-04-30 09:11:10 Łukasz Zemczak tags bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-cosmic bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-bionic verification-needed-cosmic
2019-04-30 10:01:29 Łukasz Zemczak unattended-upgrades (Ubuntu Xenial): status New Fix Committed
2019-04-30 10:01:34 Łukasz Zemczak tags bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-bionic verification-needed-cosmic bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial
2019-05-02 11:31:07 Anderson Luiz Alves tags bionic disco patch rls-dd-incoming verification-done-disco verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial bionic disco patch rls-dd-incoming verification-done-bionic verification-done-disco verification-needed verification-needed-cosmic verification-needed-xenial
2019-05-02 13:35:58 Anderson Luiz Alves tags bionic disco patch rls-dd-incoming verification-done-bionic verification-done-disco verification-needed verification-needed-cosmic verification-needed-xenial bionic disco patch rls-dd-incoming verification-done-bionic verification-done-disco verification-done-xenial verification-needed verification-needed-cosmic
2019-05-02 18:22:22 Anderson Luiz Alves tags bionic disco patch rls-dd-incoming verification-done-bionic verification-done-disco verification-done-xenial verification-needed verification-needed-cosmic bionic disco patch rls-dd-incoming verification-done verification-done-bionic verification-done-cosmic verification-done-disco verification-done-xenial
2019-05-07 09:52:17 Launchpad Janitor unattended-upgrades (Ubuntu Cosmic): status Fix Committed Fix Released
2019-05-07 09:52:33 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-05-07 09:53:44 Launchpad Janitor unattended-upgrades (Ubuntu Bionic): status Fix Committed Fix Released
2019-05-07 09:58:10 Launchpad Janitor unattended-upgrades (Ubuntu Xenial): status Fix Committed Fix Released