I need some help figuring out what happened and how to fixed my Ubuntu distribution upgrade. I decided to upgrade to 22.04LTS from 20.04LTS last night and ran into a problem where its hanging. Below is the process it hanged on since last night and nothing changed hours after waiting. process upgrade is hanged on
Then i tried the following to fix the upgrade package
sudo dpkg --configure -a; sudo apt dist-upgrade -f
And now im in a cache lock that wont get unlocked. Trying to cancel the command does nothing and now I cannot use the terminal. I dont want to restart the computer because I'm afraid itll mess something up. Please help. waiting for cache lock