Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try sudo apt-get install ubuntu-desktop I get the error message: unable to locate package ubuntu-desktop. Where do I obtain the package? Or what am I doing wrong?

share|improve this question
possible duplicate of "Unable to locate package" while trying to install packages by apt – Pandya May 11 '15 at 6:59

The most likely situation is that you need to update your sources for some reason, with

sudo apt-get update

It's also possible that your sources aren't set up correctly. You can configure them in the update manager. They are located in the file /etc/apt/sources.list - if you continue to have problems paste the source of that file here.

share|improve this answer
how do I navigate to that file? Whenever I try typing /etc/apt/...I get the message - command not found. I'm a very new beginner btw. – Tom May 5 '12 at 6:04
gedit /etc/apt/ sources.list ;if you use ubuntu gedit installed by default – Nur May 28 '13 at 14:28
  1. This may help you!!!
  2. Enter the following in terminal

    sudo su
    apt-get clean
    cd /var/lib/apt
    mv lists lists.old
    mkdir -p lists/partial
    apt-get clean
    apt-get update
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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