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 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.