5

I've installed kubuntu desktop on ubuntu 18.04 with tasksel. How can I uninstall it?

Yeti
  • 212
  • 5
  • 14
AFS
  • 205
  • 1
  • 3
  • 7
  • 2
    **Do not use `tasksel` for uninstalling things!!!** [It will break your system!](https://askubuntu.com/a/1051440/66509). Use `aptitude` or Synaptic instead. – N0rbert Aug 24 '18 at 18:16
  • @N0rbert can you provide some info on how you solved this using aptitude or synaptic as answer? – Cybercop Feb 08 '20 at 13:56

2 Answers2

8

If you installed it via sudo apt-get install kubuntu-desktop you can uninstall it by

sudo apt-get remove kubuntu-desktop --autoremove

To be safe, run the reconfigure on your login manager.

sudo dpkg-reconfigure gdm3

After that, you might need to reboot your machine.

Bernard Wei
  • 2,125
  • 1
  • 12
  • 21
  • I've installed kubuntu desktop with tasksel `sudo tasksel install kubuntu-desktop` – AFS Aug 24 '18 at 18:37
  • @AFS could you find any solution without breaking the whole system? – ggnoredo Apr 09 '19 at 00:38
  • @AFS I'm running `sudo tasksel remove kubuntu-desktop` now. I'll update this comment if it worked. If not, it means my laptop exploded – Jules Colle Nov 09 '19 at 13:17
  • No wonder @JulesColle didn't came back, I tried the same and I barely got my system back to semi working state - can't install newer kernels as they don't boot :/ – Leszek Zalewski Nov 20 '19 at 10:42
  • 3
    DO NOT RUN THIS! `sudo tasksel remove kubuntu-desktop`. It uninstalls EVERYTHING. The only way I found to fix this was to reinstall Ubuntu. – Jules Colle Jan 25 '20 at 19:13
1

Synaptic as mentioned by @N0rbert, (with completely remove option) was the only way to fully remove all traces of Kubuntu. Everything worked perfectly.

surfealokesea
  • 265
  • 1
  • 3
  • 11