The script that's being run (https://git.launchpad.net/ubuntu/+source/calamares-settings- ubuntu/tree/common/modules/before_bootloader_context.conf) seems to do the following:
1. Add the live media as an apt source. grub-efi-*, shim-signed, and mokutil are all included. 2. What appears to be removing the http sources 3. Update the apt cache 4. Install the right grub-efi-* package 5. Install shim-signed The failure is on the last one, it seems. I'm a little confused as to why the failure doesn't happen with the step above. In other words, I would expect all package installations to fail here. Still, my running theory is that #2 isn't appropriate for deb822 sources. I'll explain my thinking below. Normally lines in /etc/apt/sources.list would start with: deb http The script does the following in step #2: sed -i '/deb http/d' /etc/apt/sources.list Effectively, that deletes all lines that start the way I have shown. So this is kind of a quick and easy way to disable sources that we don't want to use. That, in turn, forces the packages to be installed from the live media. That's all fine and dandy but it has one problem: deb822 sources don't start that way. To make matters worse, they're not even in /etc/apt/sources.list. Another possible solution might be: mv /etc/apt/sources.list.d/ubuntu-sources /etc/apt/sources.list.d/ignore-me That will cause it to be disabled because it doesn't have an extension to be interpreted. Replacing the sed command with the mv command I gave in /etc/calamares/modules/before_bootloader_context.conf before running the installer should be the fix here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2100735 Title: lubuntu calamares install is failing (mokutils dep) on uEFI box To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/2100735/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs