Score:1

Upgrade from 21.04 to 21.10 is stuck at "setting up redis-server"

in flag

I am trying to upgrade from Ubuntu 21.04 to 21.10. The upgrade has been stuck for more than 2 hours at "Setting up redis-server".

I am worried about cancelling the upgrade because it might break something.

Here is a screenshot of where the upgrade is stuck:

screenshot of "Distribution Upgrade" window with terminal

uz flag
Jos
Are you sure there isn't another window that asks you for information?
Nmath avatar
ng flag
Release upgrades are not always successful. If the process has been stuck for more than two hours, you will probably need to cancel it. If that happens you have a few options: If nothing is "broken" you can try again. If there are problems, you can provide details about those problems and we can try to collaborate to fix them. But the best path might end up being a clean installation of 21.10 -- that should take significantly less than 2 hours, which you've already spent
aayush stha avatar
in flag
Yes there are no other terminals open @Jos
aayush stha avatar
in flag
Will do that. Thanks @Nmath
aayush stha avatar
in flag
I canceled the update and after I rebooted it, the dual boot options came. I booted to windows and it worked fine but when I tried to boot to ubuntu. It freezes on the lenovo screen. After some research i came to know that I can boot from another versions in advanced ubuntu options. I booted from ubuntu with linux 5.11.0-41 generic and everything works normally. How can I set this version to default?
Score:0
es flag

I was stuck as well, for me just manually stopping the service by running

sudo service redis-server stop

allowed to continue with upgrade instantly.

Joël avatar
pk flag
Saved my day, when upgrading to Ubuntu 23.04. Sad there is no message requesting the service to be stopped.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.