Modules with unavailable keys after attempted upgrade to Noble

After an ill-advised attempt to upgrade from Ubuntu 22.04 to 24.04, described in more detail here, I thought I’d managed to complete the upgrade, but my system couldn’t boot. The

Loading of module with unavailable key is rejected

messages described at the link above make me wonder whether secure boot could be part of the problem.

I’m cross-posting here in case people have Framework-specific advice related to secure boot. I understand now that I can’t expect much help, since the Jammy to Numbat upgrade path is currently unsupported (and shouldn’t even have started without the -d switch, although somehow it did), but I figure it’s worth asking.

  • OS: Ubuntu 24.04 (failed upgrade from 22.04)
  • Kernel: 6.8.0-40
  • Hardware: Framework 13 with AMD Ryzen 7 7840U mainboard

Epilogue

After looking at my Timeshift OS state backups, I decided to restore my system files from last week’s snapshot right away, rather than trying any fix that could’ve interfered with restoration later. I ran Timeshift from Ubuntu 22.04 Live USB, and it worked like a charm! As far as I can tell (knock on wood), it set my system files back to just the way they were last Thursday, leaving my home directory untouched.

Anyone who wants to hear about running a Timeshift restoration from live USB is welcome to comment here to get my attention. The online documentation is pretty scant, especially for live USB mode, so I kept a pretty thorough log of how it worked for me.

Diagnosing and fixing broken updates is possible but super complex. Easiest would be to make sure you have your data backed up and reinstall 24.04 from scratch.

I’m open to trying to restore my system from a Timeshift snapshot, but I want to explore any less invasive options first—especially if it turns out that I don’t have those snapshots after all.

I only want to wipe my disk and do a fresh Ubuntu install as a last resort. If it gets to that point, I might try to set up a dual-boot system with a separate home partition and transfer my home directory straight from the defunct original partition, rather than trying to restore my documents from my pre-upgrade backup.

Update: I decided to restore my OS state from a Timeshift snapshot right away, rather than trying any fix that could’ve interfered with restoration later. See the new epilogue to the original post for details.