Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4421

Reinstalling/fixing Ubuntu (with disk encryption) after failed release upgrade

$
0
0

I was doing a release upgrade of my system. I accidentally got locked out of the lock screen, but I checked top/pgrep and it looked like the upgrade was done. So I just decided to shut down the system, which was a huge mistake.

It hangs on "cryptsetup waiting for encrypted device" and it has a bunch of "failed to verify module" "BTF -22" errors, and it won't boot past that. I tried googling those errors but didn't find anyone else with a similar problem.

Following the general guide doesn't work because it doesn't detect any operating system. It only offers me the option to erase and install, or "something else" (which goes to a partition editor). Is this because I'm using an encrypted root? It still does this even if I unlock the encrypted partition on my boot drive.

If it's unrecoverable, I do have my important data backed up, but not really anything else. Is there a way to finish the release upgrade? I think the problem is just with fixing the packages.

Update: Tried chrooting and fixing the packages while in a live iso. apt was basically completely broken and telling me to dpkg --configure -a, and running that also doesn't work (a bunch of the configures fail and it exits due to too many errors)


Viewing all articles
Browse latest Browse all 4421

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>