-1

As you may guess, Ubuntu desktop Interface namely menu bar is not shown and Terminal is not reachable.

However, there is still hope. Via Ctrl-Alt-F1, I can type commands.

Problem is, Python3.6.3 and related programs i.e. Unity are severely broken and when I try to (re)install the unmet dependencies, it is almost an endless chain.

I followed the chain until it reaches to a point where no other dependencies exist, yet installation is not successful for some reason.

I suspect that I need to manually direct files to a correct directories.

Before I do something, I thought a proper guidance would be helpful.

P.S. I am aware that in the worse case scenario, I need to install fresh Ubuntu.

P.S.2. I have gone through many sources, yet I could not find any proper walk through.

1 Answers1

0

If you removed Python files by hand (like with rm -rf), you can try to fix your installation with this set of commands. (It finds all installed python-related packages and then reinstalls them):

sudo apt-get update
sudo apt-get install --reinstall \
$(dpkg -l | grep ^ii | grep -i python | awk '{print $2}')
sudo apt-get install -f
sudo apt-get dist-upgrade
wjandrea
  • 14,504
N0rbert
  • 103,263