Thank you for reporting a bug and helping to make Ubuntu better. Based on https://launchpadlibrarian.net/473334677/DpkgTerminalLog.txt:
Preparing to unpack .../archives/ufw_0.36-6_all.deb ... Unpacking ufw (0.36-6) over (0.36-5) ... Setting up ufw (0.36-6) ... Configuration file '/etc/default/ufw' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** ufw (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package ufw (--configure): end of file on stdin at conffile prompt Looking at https://launchpadlibrarian.net/473334680/modified.conffile..etc.default.ufw.txt I can see that the file (/etc/default/ufw) is missing the trailing newline from 0.36-5 (this file is not manipulated by the ufw command). I can't say why the file on your system was missing the trailing newline, but since it was, unattended-upgrades (seen in https://launchpadlibrarian.net/473334676/DpkgHistoryLog.txt) wasn't in a position to answer the conffile question. This is not a bug in ufw. To remedy the situation, you should be able to perform: sudo apt-get -f install. I also see that the system is running the current development release of Ubuntu. Unlike stable releases of Ubuntu, it is sometimes easier to disable unattended-upgrades when using the development release and instead run apt manually. If you disable it, feel free to re-enable it once Ubuntu 20.04 is released. Thanks again! ** Changed in: ufw (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871261 Title: package ufw 0.36-6 failed to install/upgrade: end of file on stdin at conffile prompt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1871261/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs