0

I uninstalled Python2.7 first which ended up deleting many dependencies as well. Then trying to fins that problem I ended up deleting more packages. But even from the begining of my installation package manager didnt work. Thats why i wanted to uninstall Python to fix it.

now when I do

sudo apt-get install -f 
......
0 upgraded, 0 installed....

sudo apt-get update
Reading package lists...Done

Any way wayI can fix this apt-get install and install all the necessary packagers. Now I can oly log into terminal. Windo login fails.

dinesh707
  • 185
  • 1
  • 6
  • Backup your data and reinstall. Manually recovering the system at this point will be 1) very time consuming, 2) difficult and 3) error prone. – Elliott Frisch Apr 04 '14 at 19:49
  • possible duplicate of [I run \`sudo apt-get remove python2.7\`, can I restore my Ubuntu now?](http://askubuntu.com/questions/187227/i-run-sudo-apt-get-remove-python2-7-can-i-restore-my-ubuntu-now) – Sylvain Pineau Apr 04 '14 at 20:28
  • could you try sudo apt-get check sudo apt-get update sudo apt-get upgrade --fix-missing the last one, with the '--fix-missing' option may help resolve your problem. it saved me big trouble before. if it doesn't work, then reinstall may be the better option. – water stone Apr 04 '14 at 20:50
  • everything just says done without much info.. im downloading new version to install , thank you – dinesh707 Apr 04 '14 at 21:08
  • OK. since you'll reinstall finally, could you maybe try one more step, just for learning (for me also): what are in your /etc/apt/sources.list file, did you accidentally modify it? could you download a default sources.list for your current version and do a 'diff' to see the difference? – water stone Apr 04 '14 at 21:17

1 Answers1

1

If you were running Ubuntu desktop, try to install the following package:

sudo apt-get install ubuntu-desktop
Sylvain Pineau
  • 61,564
  • 18
  • 149
  • 183