Thank you for taking the time to file a bug report and try to make Ubuntu better.
The configuration process did hang in this part of the postinst script: # We switched over to modules-load.d logic, so we have to take # care of this in postinst now. MODULES_FILE=/lib/modules-load.d/open-iscsi.conf if [ -f /etc/modules-load.d/open-iscsi.conf ] ; then MODULES_FILE=/etc/modules-load.d/open-iscsi.conf fi grep '^[^#]' $MODULES_FILE | while read module args ; do [ "$module" ] || continue modprobe $module $args >/dev/null 2>&1 || true done This seems a mechanism to support some old version. However, none of the MODULES_FILE's paths are installed by the package which are: - /lib/modules-load.d/open-iscsi.conf - /etc/modules-load.d/open-iscsi.conf /etc/modules-load.d directory is used by systemd to configure kernel modules to load at boot time (/lib/modules-load.d seems obsoleted): https://www.freedesktop.org/software/systemd/man/modules-load.d.html I am not sure if we still need to support MODULES_FILE (it was removed from newer versions), but even if we still need it, the postinst script shouldn't rely on a file which is not installed by the package and we can't ensure it will be present in the system. I was able to reproduce the same log error after upgrading to version 2.0.874-7.1ubuntu6.2 in a clean LXD container: root@open-iscsi-test:~# sudo apt install open-iscsi Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libfreetype6 Use 'sudo apt autoremove' to remove it. The following packages will be upgraded: open-iscsi 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 283 kB of archives. After this operation, 1024 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 open-iscsi amd64 2.0.874-7.1ubuntu6.2 [283 kB] Fetched 283 kB in 2s (186 kB/s) Preconfiguring packages ... (Reading database ... 31611 files and directories currently installed.) Preparing to unpack .../open-iscsi_2.0.874-7.1ubuntu6.2_amd64.deb ... Unpacking open-iscsi (2.0.874-7.1ubuntu6.2) over (2.0.874-7.1ubuntu6.1) ... Setting up open-iscsi (2.0.874-7.1ubuntu6.2) ... grep: /lib/modules-load.d/open-iscsi.conf: No such file or directory Processing triggers for systemd (245.4-4ubuntu3.6) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for initramfs-tools (0.136ubuntu6.4) ... root@open-iscsi-test:~# However, you can see the grep error but it did not hang as you explained in the bug report, which makes me think that this is not the real problem you are facing. Maybe there is something in your config which is making it hang. To proceed with the investigation I'd ask you to provide some extra info, like the config files (if possible) and any other log you have available (not just apt output). I am marking this bug as Incomplete, when you provide more info that could help us with the investigation set it back to New and we will take a look. ** Changed in: open-iscsi (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1928000 Title: open-iscsi fails to upgrade (2.0.874-7.1ubuntu6.2) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1928000/+subscriptions -- ubuntu-bugs mailing list email@example.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs