Score:0

Problems due to uninstalling system python version. ubuntu-desktop uninstalled

sm flag

I was trying to install lutris and got a mismatched dependencies error. It said my version of python (3.10) was the problem as it depended on 3.9.

I installed python 3.9 and uninstalled python 3.10 thinking it might work. Now my PC will only boot up in tty.

When I try to reinstall ubuntu-desktop, every single one of the Ubuntu desktop dependencies is mismatched.

Do I try to fix it or just find a pendrive to reinstall the OS?

guiverc avatar
cn flag
Ubuntu Desktop is *dependent* on python3 for many functions, and the default needs to remain the version the tools were coded/tested for, otherwise Ubuntu Desktop will either get removed, or won't reliably work. You can use Ubuntu Server or terminal mode with fewer default python3 (and forget about GUI/desktop) if that helps, but you should not change the *default* version of python3 (*unless happy to live without the features that use it*) You can re-install Ubuntu Desktop without loosing data or your configs, but your question is without specific Ubuntu product/release details.
us flag
Reinstall Ubuntu. It will be the simplest way to fix the issue. Changing the version of Python will most likely destroy Ubuntu, as many components of the OS heavily depend on it (It is like replacing the vital organs of an organism - unless you really are an expert, it will not go well). However, you can safely install additional versions of Python without replacing the default version. See this answer to know how to install a different version of python without destroying Ubuntu. https://askubuntu.com/a/1438713/124466
Nmath avatar
ng flag
I agree it's probably most prudent to reinstall the system and not make the same mistake in the future. However if you really want to try to rescue this installation, please edit your question with specific/exact details. Tell us the commands you are using and provide the output of those commands and all error messages verbatim. Avoid summarizing in your own words because we are unlikely to recognize things that way. Use [code fences](https://meta.askubuntu.com/a/20164) when pasting from your terminal.
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.