The correct form of the last command that you ran in the terminal ( apt-get install lubuntu-desktop && apt-get remove xubuntu-desktop
) is as follows:
sudo apt-get remove xubuntu-desktop && sudo apt-get install lubuntu-desktop
The first part of the command removes xubuntu-desktop and the second part of the command installs lubuntu-desktop if the first part of the command, removing xubuntu-desktop, was successful. Another way to do the same thing is to give yourself root privileges using sudo su
and then use the following command instead:
apt-get remove xubuntu-desktop && apt-get install lubuntu-desktop
Your main memu is showing you that you have the Lubuntu desktop installed.
It's not possible to know if the error message that you got was important without seeing the error message, however if you got a vital error message because of the wrong order of the two commands, then you could fix it by running this command:
sudo apt-get install lubuntu-desktop
...which checks if lubuntu-desktop is completely installed and completes the installation of lubuntu-desktop if it is not completely installed, otherwise it does nothing and returns the following message:
lubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
history 20
will display the last 20 commands that you ran in the terminal. – karel Jul 15 '14 at 08:37apt-get remove
in it followed by the name of the package to be removed or by a list of package names, each name in the list separated by a blank space. – karel Jul 15 '14 at 09:01