0

I tried to install lubuntu onto a xubuntu installation via the command line, using a sudo, as per an instruction I found somewhere on these forums by googling.

All went well for a while and then ended with failure because apparently I wasn't 'root'.

It asked the question 'are you root?' I wasn't there to answer at the time. It seems to have timed out and finished the install process with a fail.

How to get this to install?

2 Answers2

1

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.
karel
  • 122,292
  • 133
  • 301
  • 332
0

Try using root login in terminal using,

sudo su
Then enter your user password when prompted,
nothing should show thats OK

Then run your command without sudo.

Hope this helps.