This is getting more interesting. One can add
"set -x" near the top of /usr/share/initramfs-tools/hooks/mdadm but based on your previous messages it's probably going to hang at mkconf. E.g. I am suspecting below will also hung $ sudo bash -x /usr/share/mdadm/mkconf Which ultimately calls into: $ /sbin/mdadm --examine --scan --config=partitions How is this system setup? Does it have raid devices configured? Or has it had raid devices configured before, which are not properly wiped or not fully activated? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662187 Title: apt-get upgrade hung when it comes to update initramfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-z-systems/+bug/1662187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs