51

"I think I need to reinstall my python on ubuntu"

* proceeds to remove python
* ubuntu breaks
* tries to fix ubuntu
* ubuntu no longer goes to desktop
* cries
* tries not to cry
* cries a lot

Yeah moral of the story is never uninstall python (at least for ubuntu, idk other linux distros)

Comments
  • 6
    .... so THATS why my ubuntu broke
  • 5
    @A-C-E yeah i just learned that almost half of ubuntu is dependent on python 😭
  • 6
    If it ain't broke, don't fix it.

    Why would anybody want to reinstall anything that comes via default package repo?

    Update, sure. Uninstall if not needed, maybe. But reinstall?

    And why didn't you listen to the masses of dependency errors, the package manager gave you?
  • 1
    python 2 has reached its EOL and so much code depends on it.
  • 3
    And that is why you use virtual environment for python
  • 2
    Docker, boi
    This is what containers are for.
  • 1
    When compiling LUA on Ubuntu some error showed (about locker file) looked up on stack-overflow how to fix it, ended up with black screen after login.
  • 4
    If you are asking how to fix, then:

    Alt+Ctrl+F1
    sudo apt-get install ubuntu-desktop
    apt-get install python

    ^Might work
  • 5
    Such strong coupling of os with any application, even python is sign of bad os for me. Os should be resilient so anyone can use it. Especially when this os is supposedly desktop version. On top of that, if os needs python to run os then have separate python bundles and not in user space. This will allow to have proper expected version to run os!

    ffs, really Ubuntu!
  • 1
    @yendenikhil Indeed, I like how Blender does it, for example, it comes with its own local copy of Python, doesn't use the system python
  • 0
    After some similar experience, I learned to do virtual environments (badly named imho) and don't install any libs to Ubuntu. https://bit.ly/2MbG91I
  • 1
    Just uninstalled python on my raspberry pi, about to get 3.6 on it and I think it is fine so far. Then again it is not like Ubuntu
  • 0
    I removed Python a couple of times from Ubuntu. Maybe not all libs or someting. Weird that it just breaks the OS
  • 1
    @Charmesal
    I doesn't break os, it just breaks GUI. It happened to me during my beginners day with Linux. But I learn important lesson that not to use force untill it is absolutely necessary and not to use at first try. Though I use it at first go sometimes 😅.

    But that similar difference between purge and remove. Though not exact difference.
  • 0
    Been there, done that.
  • 1
    and no one in Canonical cares about Ruby 😭 #RubyMatters
Add Comment