Unable to install GUI in Ubuntu Server


Recommended Posts

So I just started industrial training yesterday, and one task I was given was to install Ubuntu Server 12.04 in VirtualBox. I have to admit that my prior knowledge in Linux was basically restricted to home use, and I'm kind of unused to using a command line interface for the majority of the time, and I looked around and tried to install a GUI.

So far, whenever I try to install it using apt-get, I would usually get this error:

KB1MDEy.jpg

I've tried other GUIs such as Unity and Gnome core but the problem remains. Does anyone have any suggestions on how to fix this?

Link to comment
Share on other sites

Edit your /etc/apt/sources.list file using nano, vim, or other cli text editor and make sure the Universe and Multiverse repos are enabled (uncommented). Then run sudo apt-get update and try installing a gui again. Also remember to install xorg and video drivers as well.

Link to comment
Share on other sites

So I just started industrial training yesterday, and one task I was given was to install Ubuntu Server 12.04 in VirtualBox. I have to admit that my prior knowledge in Linux was basically restricted to home use, and I'm kind of unused to using a command line interface for the majority of the time, and I looked around and tried to install a GUI.

So far, whenever I try to install it using apt-get, I would usually get this error:

KB1MDEy.jpg

I've tried other GUIs such as Unity and Gnome core but the problem remains. Does anyone have any suggestions on how to fix this?

Ubuntu server isn't meant to have a GUI so what "I was here" said is true. You need to uncomment the sources so you can download the packages.

After uncommenting the sources he listed run apt-get update and then apt-get install lubuntu-desktop. If you are looking for a lightweight gui I recommend xfce / xububtu-desktop. Clean and lightweight.

Very helpful doc/page

https://help.ubuntu.com/community/ServerGUI

Link to comment
Share on other sites

Edit your /etc/apt/sources.list file using nano, vim, or other cli text editor and make sure the Universe and Multiverse repos are enabled (uncommented). Then run sudo apt-get update and try installing a gui again. Also remember to install xorg and video drivers as well.

Okay, so I saw that the Universe and Multiverse repos were enabled, and I even enabled these:

 

u80fz9z.jpg

 

After saving it, I ran apt-get update again, and tried re-installing it a GUI, but I got this:

 

MzHzWUL.jpg

Link to comment
Share on other sites

Are there more repos at the top of that file? Could you post the entire contents?

Here's the whole thing, in three parts:

 

JOeOzXc.jpg

Z6jgAuK.jpg

pXfeRWX.jpg

 

(Sorry for posting it in three parts but I couldn't resize VirtualBox's screen size)

EDIT:

 

I also noticed this error message when I tried to install xorg:

 

gFECQ8X.jpg

Link to comment
Share on other sites

12.04 seems terribly old already... i had the same problem in desktop 12.04 i could not install anything that's most likely because the ppas are not maintained anymore.

 

would go with 14.04

Link to comment
Share on other sites

but don't pull 12.04 desktop and sever from the same ppas?

the OP might give a try to manually download a file from the ppa via webbrowser, maybe something is blocked.

 

other than this? maybe a setting in virtualbox, are you on the latest virtualbox @Suburban Errorist

 

tried to install stuff via synaptic?

Link to comment
Share on other sites

but don't pull 12.04 desktop and sever from the same ppas?

the OP might give a try to manually download a file from the ppa via webbrowser, maybe something is blocked.

 

other than this? maybe a setting in virtualbox, are you on the latest virtualbox @Suburban Errorist

 

tried to install stuff via synaptic?

My task was to install the 12.04 version, as requested. And I'm using version 4.3.12, version 4.3.14 couldn't even boot at all. And I'm trying my best to work from the console for the time being, until I can figure out how to fix this.

Link to comment
Share on other sites

any chance you can type the errors as text?

 

I cant see the images at work

 

if not i will have a look when i get home :)

  • Like 1
Link to comment
Share on other sites

you should be able just t do

sudo apt-get install lxde

lubuntu is just ubuntu with LXDE installed as the desktop environment

 

If i am missing something let me know as its early and i have just worked a 65 hour week lol

Link to comment
Share on other sites

you should be able just t do

sudo apt-get install lxde

lubuntu is just ubuntu with LXDE installed as the desktop environment

 

If i am missing something let me know as its early and i have just worked a 65 hour week lol.

 

Sorry, I've been away for a bit, and my laptop was in the store for repairs, but I've tried that, and also used aptitude, but I'm unable to install anything.I think the OS install itself might be faulty.

Link to comment
Share on other sites

Unless synaptic has a cli interface I don't think he'll be able to use it if he doesn't have any GUI environment installed.

 

Yeah, I think synaptic is GUI only.

 

OP, I'd just reinstall. Be rid of this issue.

Link to comment
Share on other sites

Well, even after a reinstall the problem still remains.

 

this is really wired. anyone else trying ubuntu server 12.04 in virtualbox?

i might give it a go today just to see if i have the same issue or not...maybe i find out something.

maybe it is a setting in virtualbox internet settings but as you say you can ping other things i fail to see how.

Link to comment
Share on other sites

Well, even after a reinstall the problem still remains.

Are you even getting an internet connection in the VM?

Link to comment
Share on other sites

Are you even getting an internet connection in the VM?

i think he told us he can ping other websites afaik

Link to comment
Share on other sites

umm where is it stated? I just went threw the entire thread....

 

Edit: I'm also installing 12.04.5 in a virtual box vm on my mac to see if I can replicate this issue.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.