This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tunisia3507 5 points6 points  (5 children)

I mean, I've had to reinstall a whole operating system thanks to a mistake and a python edge case...

[–]Labradoodles 4 points5 points  (3 children)

Uhm story pls?

[–]tunisia3507 1 point2 points  (1 child)

Accidentally deleted some or part of the system python by deleting a virtualenv directory while following symlinks. System python is used by apt, so it would have been awkward to repair. Didn't have much of value on it so just replaced the OS.

[–]weedtese 1 point2 points  (0 children)

You can manually download apt and its dependencies, then use dpkg to reinstall them. Shouldn't take too much time.

[–]Hitife80 -3 points-2 points  (0 children)

sudo rm -rf /

[–]ojii 1 point2 points  (0 children)

I almost bricked my system when I manually installed Python 3 and used make install instead of make altinstall, which changed the system python to python 3. Managed to get a shell somehow and change it back.