Monday, 2 May 2016

Converting Ubuntu Core server to GUI - Error: E: Unable to locate package update

Today, I installed a Ubuntu server 16.04 LTS on my test lab. I installed it as a virtual machine on my Hyper-V host. When installation finished, I was presented with the server Core edition. As I am fairly new to Linux OS, I wanted to have Graphical User Interface (GUI).

I went on Internet to find a way to convert my Core server to GUI. I learnt that I need to install ubuntu-desktop package to have GUI.

sudo apt-get install ubuntu-desktop

When I ran this command, I got a following error message:

E: Unable to locate package update

After doing a bit of a research, I found out that I will have to run some more commands to upgrade current package list before trying to install desktop version. I used following command to have GUI version of Ubuntu server.

Use following command to upgrade packages installed on your PC or update your all system. When Prompted, type Y and press Enter key.

Sudo apt-get upgrade

Once you've upgraded your system, run this command to install desktop version, When Prompted, type Y and press Enter key.

Sudo apt-get install ubuntu-desktop

It will install required packages. You can use same command to install other packages. Replace ubuntu-desktop with the name of package you would like to install.

I hope you find this post informative. The more I will learn about Ubuntu server and its administration, I will share further information on it.

Disclaimer: www.TechieTalks.co.uk does not conceal the possibility of error and shortcomings due to human or technical factors. www.TechieTalks.co.uk does not bear responsibility upon any loss or damage arising from conduct or activities related to the use of data and information contained in this blog.

10 comments:

  1. I tried to sudo the sudo but my root wasn't root, did I not root the root of the linux root properly?

    Pls help friend.

    ReplyDelete
    Replies
    1. Hi,

      Can you please tell us the command you're trying and any error message that came up?

      Regards,
      TechieTalks Team

      Delete
    2. Hi friend.

      I use this one sudo su @root sudo root root sudo.

      There error I get is: "root success".

      Then it wont go away when I try.

      Pls help, is this to do with wsus that I did last week probably?

      Root.

      Delete
    3. Hi,

      I will look in to this and try to provide an answer.

      Regards,
      TechieTalks team

      Delete
  2. How can i download mspaint using the repository on ubuntu?

    ReplyDelete
    Replies
    1. Hi Jimmy,

      I am working on this. I will post an answer of your query once I have tested it on my Ubuntu server.

      Regards,
      TechieTalks Team

      Delete
  3. Or you could do the simple thing and just install the desktop version of Ubuntu - which is EXACTLY the same thing as installing the server version and running the above command.

    n00b!!!

    ReplyDelete
    Replies
    1. Get off my lawn!

      Delete
    2. I still cant download Microsoft Paint.

      Are you going to help me friend or do you not have the technical skills to asssit a fellow IT support personnel.

      Delete
    3. Hi Jimmy,

      I am looking in to this and working on my test lab. I should have an answer asap.

      Regards,
      TechieTalks Team

      Delete