Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Can't fully un-install extra DE's

  1. #1
    Join Date
    May 2014
    Beans
    12

    Angry Can't fully un-install extra DE's

    A few months ago I downloaded a few extra DE's to test such as KDE and XFCE (with the sudo apt-get install kubuntu-desktop and xubuntu-desktop). When I removed them them with sudo apt-get remove whatever-desktop, It did remove KDE and most of its dependencies and programs, but the kubuntu splashscreen which had replaced the ubuntu one stayed and XFCE didn't get removed at all. Does anyone know what I'm doing wrong? And ever since I've downloaded the Xubuntu desktop specifically, I cannot download updates from the update centre. I'm using Ubuntu 14.04

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Can't fully un-install extra DE's

    I had a similar experience the other year when I tried out alternative desktops. I ended up re-installing. Now, if I want to see how the other flavours are doing I install the flavour in another partition. I have a few 10 GB to 20 GB partitions just for messing around like this.

    As far as I can tell the problem is caused when the installation of the alternative desktop overwrites certain configuration files relating to splash screens and the sort. These configurations files do not get replace when the alternative desktop is un-installed. There is no mechanism for doing that.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Jun 2010
    Location
    Northern Michigan
    Beans
    83
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Can't fully un-install extra DE's

    Quote Originally Posted by kmdude344 View Post
    A few months ago I downloaded a few extra DE's to test such as KDE and XFCE (with the sudo apt-get install kubuntu-desktop and xubuntu-desktop). When I removed them them with sudo apt-get remove whatever-desktop, It did remove KDE and most of its dependencies and programs, but the kubuntu splashscreen which had replaced the ubuntu one stayed and XFCE didn't get removed at all. Does anyone know what I'm doing wrong? And ever since I've downloaded the Xubuntu desktop specifically, I cannot download updates from the update centre. I'm using Ubuntu 14.04

    I had a similar issue: I installed XFCE and KDE. When using apt-get to do the install/uninstall, things were left behind that would show up under other DEs. I installed Synaptic and did a search within Synaptic for Xubuntu and XFCE and removed the majority of packages that came up with that search (KDE is the DE I decided to stick with).

    Synaptic makes it very easy to remove anything, or to install anything. IMHO

    Kevin

  4. #4
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Can't fully un-install extra DE's

    After the horse has bolted ... but better to install just the desktop environment, NOT the whole desktop of the flavour. For xfce, for instance, install xfce4, NOT xubuntu-desktop. That is like having Ubuntu and Xubuntu crammed onto one partition.

    I think you might want:

    Code:
    sudo apt-get purge kubuntu-desktop
    ... and the same replacing 'kubuntu' with 'xubuntu' and then:

    Code:
    sudo apt-get  autoremove
    May improve things, but don't think you'll ever get rid of everything.

  5. #5
    Join Date
    May 2014
    Beans
    12

    Re: Can't fully un-install extra DE's

    Quote Originally Posted by grahammechanical View Post
    I had a similar experience the other year when I tried out alternative desktops. I ended up re-installing. Now, if I want to see how the other flavours are doing I install the flavour in another partition. I have a few 10 GB to 20 GB partitions just for messing around like this.

    As far as I can tell the problem is caused when the installation of the alternative desktop overwrites certain configuration files relating to splash screens and the sort. These configurations files do not get replace when the alternative desktop is un-installed. There is no mechanism for doing that.

    Regards.
    I could do that but I'd rather not as I have nearly 150 gb of files I'd like to keep (games and data for the most part) and is very in likely I'll find a thumb drive that can hold that much.

  6. #6
    Join Date
    May 2014
    Beans
    12

    Re: Can't fully un-install extra DE's

    Quote Originally Posted by Bucky Ball View Post
    After the horse has bolted ... but better to install just the desktop environment, NOT the whole desktop of the flavour. For xfce, for instance, install xfce4, NOT xubuntu-desktop. That is like having Ubuntu and Xubuntu crammed onto one partition.

    I think you might want:

    Code:
    sudo apt-get purge kubuntu-desktop
    ... and the same replacing 'kubuntu' with 'xubuntu' and then:

    Code:
    sudo apt-get  autoremove
    May improve things, but don't think you'll ever get rid of everything.
    I don't think that'll work as I've already tried the simple apt-get remove and the system would reconize It as being all gone even if I used those commands.

  7. #7
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: Can't fully un-install extra DE's

    For what its worth, as an example of the problems of reversing the installation of a desktop package, installation of xubuntu-desktop on my Lubuntu 14.04 system would result in the installation of 307 new packages.

    Then, trying to remove them later with apt-get remove xubuntu-desktop would remove only 1 of those 307 packages - xubuntu-desktop. The other 306 are still installed.

    (This is because xubuntu-desktop is an example of a metapackage, the installation of which causes other packages to be installed. That is it's purpose. But it doesn't work in reverse.)

    Installing the desktop environment xfce instead (as mentioned in post #4) would result in the installation of only 33 new packages. It is also a metapackage.
    Last edited by Dennis N; July 6th, 2014 at 05:14 AM.

  8. #8
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Can't fully un-install extra DE's

    Once you're there, pretty hard to go back ...

  9. #9
    Join Date
    Apr 2007
    Beans
    3,114
    Distro
    Ubuntu

    Re: Can't fully un-install extra DE's

    Installing a metapackage indeed pulls in all dependencies. Removing the metapackage just removes the metapackage: you need to remove the other packages (applications, desktop environment) yourself. Psychocats used to post command one liners to do this, but it has not been done for 13.10 and above. Do not try a line for a version different than that of your own. It might break your installation.

    To revert to the default Ubuntu login manager, you may find some inspiration here: http://askubuntu.com/questions/37174...ubuntu-install

    There can be a good reason to mix desktop environments, notably if different users want different DE's (and you as a sysadmin want to to provide them that freedom). It has its side effect, and fully reverting the installation of another flavour of Ubuntu within your current DE involves manual work.

  10. #10
    Join Date
    Apr 2012
    Location
    Oz
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Can't fully un-install extra DE's

    There is an old blog post from PsychoCat here that may help.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •