Score:0

Can't upgrade from ubuntu 20.04 to 22.04

de flag

Im trying to upgrade from Ubuntu 20.04 to 22.04, but the upgrade process stopped at the 'Installing the upgrades' step. 1

Score:2
st flag

This is usually a bug with a display manager (ly, sddm, lightdm, or w/e) not setting the XDG environment variables before they boot up the window manager. I know for a fact that this problem exists in i3 / sway in some configurations with ly. But, without knowing what you're using there I can only guess. :)

You can work around the problem though by typing:

echo $XDG_RUNTIME_DIR
# if not blank, this is not the problem!
XDG_RUNTIME_DIR="/run/user/$(id -u)"

in the terminal, before you run the command. That of course, is providing you have something in that folder and provided you're not missing anything else.

jloria avatar
de flag
Thank you, trying the upgrade from the terminal (which had the variable properly assigned) solved the issue.
I sit in a Tesla and translated this thread with Ai:

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.