Name: grub-efi/install_devices Template: grub-efi/install_devices Value: Owners: grub-common, grub-efi-amd64 Flags: seen Variables: CHOICES = RAW_CHOICES =
Name: grub-efi/install_devices_empty Template: grub-efi/install_devices_empty Value: true Owners: grub-common, grub-efi-amd64 Flags: seen question is grub-efi/install_devices db_get "$question" if [ -z "$RET" ]; then # Reset the seen flag if the current answer is false, since # otherwise we'll loop with no indication of why. db_get grub-efi/install_devices_empty if [ "$RET" = false ]; then db_fset grub-efi/install_devices_empty seen false fi if db_input critical grub-efi/install_devices_empty; then db_go db_get grub-efi/install_devices_empty if [ "$RET" = true ]; then break else db_fset "$question" seen false db_fset grub-efi/install_devices_empty seen false fi else exit 1 # noninteractive fi else break fi So, if install_devices is empty & install_devices_empty is true and seen, asking grub-efi/install_devices_empty will be skipped. and shouldn't error out. I wonder if I cause this mistake in postinst, and grub-multi-install. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896608 Title: [regression-in-stable] grub-multi-install fails with exit 1 when question grub-efi/install_devices_empty is skipped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1896608/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs