3

I installed Ubuntu 15.10 and after few days I installed Katoolin and now it shows Kali GNU/Linux Desktop and my Ubuntu Software Center is not working even after removing Katoolin. So how to get back to Ubuntu 15.10 without having a fresh installation?

karel
  • 110,292
  • 102
  • 269
  • 299
Shubham Jain
  • 33
  • 1
  • 4
  • 1
    try 'sudo apt-get install ubuntu-desktop' – Ashu Feb 26 '16 at 18:59
  • 2
    I recommend backup and reinstall. – xangua Feb 26 '16 at 19:01
  • 1
    From what you describe, it sounds like system files were replaced. While it's possible to recover from this, it's complicated, usually different for every situation, can break the installation further. It's probably not worth it to try. Since it sounds like you have a functioning OS (mostly), do what @xangua suggested and backup and reinstall. – TheWanderer Feb 26 '16 at 20:19
  • same problem here. no idea how to recover. waiting for 16.04 to see if katoolin remnants are removed completely – MycrofD Mar 19 '16 at 06:20
  • somebody generous, plz offer some bounty here! this is an important question. – MycrofD Mar 19 '16 at 06:23
  • @MycrofD: How did you install it? – Fabby Jul 21 '16 at 15:37
  • used the katoolin script – MycrofD Jul 21 '16 at 16:00
  • 1
    Try to reinstall the Ubuntu using a live CD, but when choosing the partition DO NOT delete the system partition or format it. Keep the `/home` folder if it's there. – dat tutbrus Jul 22 '16 at 00:07
  • 2
    Does this answer your question? [Updated Ubuntu 16.04, now I'm running Kali?](https://askubuntu.com/questions/834132/updated-ubuntu-16-04-now-im-running-kali) IMHO the linked page provides better solutions than this one. – Melebius Jan 22 '20 at 13:26

2 Answers2

5

I had the same problem after installing Kali via Katoolin on Ubuntu 16.04 and it took me some time to figure out a solution. In my case Katoolin changed the settings in the lsb_release file.

I could fix it with running:

sudo -i gedit /etc/lsb-release

There I had to change the Kali settings, which do not belong there to:

For 16.04:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus"

In case you have another distro you need to adapt the names (see Wikipedia e.g.).

In your case:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu Wily Werewolf"

For 17.04:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty 
DISTRIB_DESCRIPTION="Ubuntu 17.04"

Then, run the following command to update grub:

sudo update-grub

After doing this everything worked fine again for me.

I hope this helps. Sorry, if the explanation is not perfect; it is my first answer here.

mchid
  • 42,315
  • 7
  • 94
  • 147
Xariom
  • 66
  • 1
  • 1
3

Perhaps Katoolin change your user specific settings. I would try to create new user so that I will get a fresh Ubuntu home settings. I usually did this if I messed up with my desktop without reinstalling the distro.