Observing unattended-upgrades/1.1ubuntu1.18.04.4 maintainer scripts show that the invoke-rc.d calls are indeed removed:
/var/lib/dpkg/info/unattended-upgrades.prerm: ... # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. exit 0 ... /var/lib/dpkg/info/unattended-upgrades.postinst: ... # Automatically added by dh_installinit/11.1.6ubuntu2 if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove " ] ; then if [ -x "/etc/init.d/unattended-upgrades" ]; then update-rc.d unattended-upgrades defaults >/dev/null || exit 1 fi fi # End automatically added section ... ** Tags removed: verification-needed verification-needed-bionic ** Tags added: verification-done verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1778800 Title: package unattended-upgrades 1.1ubuntu1.18.04.1 failed to install/upgrade: installed unattended-upgrades package post- installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1778800/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs