Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I have not been able to update my packages for a while now. After I run the sudo apt-get install update command, the server tells me:

Reading package list... Done
Building dependency tree
Reading state information... Done
E: unable to locate package update`,

And I am also not able to install a GUI probably because of the same problem.

I am using Ubuntu server 14.04 LTS connected to the internet.

share|improve this question

marked as duplicate by Braiam, Avinash Raj, Takkat, Richard, karel Apr 25 at 15:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

This is because you are using the wrong commands to update packages.
Use these command to update your system packages to latest version.

sudo apt-get update
sudo apt-get upgrade

Update will synchronizes your list of available packages with the servers in source repositories.
Upgrade will downloads and installs any newer versions of your installed programs.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.