@Zanna You mod closed this question
Ubuntu 22.04 download failure stuck on log out page yesterday as not reproducible, however I had a similar problem in Ubuntu 22.04 and I independently found that the OP's self-answer also worked in my case. I don't like the downvoting of this question by skeptics. Please reopen this question.