9

I made the mistake of installing Katoolin package https://github.com/LionSec/katoolin. The problem is it botched up my Ubuntu, many packages don't work anymore. System update doesn't work anymore.

The question: is there a way to somehow uninstall this from my Ubuntu without re-installing the OS??

PS: Piece of advice to people who want to study computer security: stay away from this Katoolin tool! Think at least ten times before installing it.

  • If, as you've said, "many packages don't work anymore", then uninstalling will not solve the problems. You might need to backup and then do a clean install. – mikewhatever Dec 12 '15 at 16:18
  • Start with steps in my answer. In point (4), add the output of sudo apt-get install -f here: paste.ubuntu.com and give me the link. – A.B. Dec 12 '15 at 16:42
5

Answer in progress

  1. Run the Python script in /usr/bin/katoolin again

    sudo /usr/bin/katoolin
    
  2. Select 1) Add Kali repositories & Update

  3. Select 3) Remove all kali linux repositories

  4. Run

    sudo apt-get update
    sudo apt-get install -f
    sudo apt-get autoremove
    
  5. Remove the katoolin script

    sudo rm /usr/bin/katoolin
    
  6. Run

    gksu gedit /etc/*release  
    

    Change the file like this (depending on your release):

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

    Save and close the file.

  7. Run

    gksu gedit /etc/*issue  
    

    Change the file like this (depending on your release):

    Ubuntu 16.04 \n \l  
    

    Save and close the file.

  8. sudo apt-get install --reinstall software-center

  • 2
    Thank you! That seems to have solved some problems with removing packages. Some apps still don't work but this should be solved by uninstalling/installing them individually. I'm pretty sure some other people might find this thread useful. Cheers. – rinSer Dec 12 '15 at 19:13

protected by Community Feb 28 '18 at 4:52

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.