0

I think that I accidentally broke Python3 and was unable to do anything. I read somewhere that the solution was to remove python3 and reinstall it, but I got yet another problem: I was able to remove it, but not to bring it back. I tried the following:

sudo apt-get install python3

and

sudo apt-get install --reinstall python3

but I keep getting the following message:

E: The package python3 needs to be reinstalled, but I can't find an archive for it.

Which seems to be redundant given that the problem is not having python3 on the first place. Every time I try to use apt-get install I get the same error.

I have Ubuntu 14.04 on my Toshiba Satellite P75-A7200, and it was working perfectly fine for almost 2 years until I accidentally (dumbly) broke python3.

Thanks!

KoSBA
  • 21

1 Answers1

0

OP: Apparently deleting python3 was one of the dumbest mistakes I could have made. I couldn't reinstall it because it seems that a lot of basic functions (including installing packages) depend on python3. It even broke my GUI when I restarted my computer. Luckily I was still able to backup my data and make an almost pain-free re installation of Ubuntu 14.04 (without messing up my other partitions). I guess I got lucky.

Short answer for other unexperienced Linux users like me: Do NOT uninstall python3 or any other pre-installed programs unless you absolutely know what you're doing. Ever. Unless you're willing to waste half of your day backing up your files and re installing your Ubuntu.

KoSBA
  • 21