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

I am an ubuntu novice. I cannot download preload from the terminal. When I input:

sudo apt-get install preload

It gives me this message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package preload

Any ideas why this might be happening?

share|improve this question
Run sudo apt-get update and try again :) – jackweirdy Nov 21 '12 at 19:24
Thanks for your reply. I what you said, it updated a few packages fine, but still gives me the same error after trying to get preload again. – sheedy Nov 21 '12 at 20:16
up vote 0 down vote accepted

Which version of Ubuntu are you running? I'm going to assume 12.04 for this answer.

If you're on a VPS, it may be that your hosting provider has different repositories than the standard Ubuntu ones.

Check /etc/apt/sources.list to ensure you have a Universe repository configured, e.g., you have the following lines uncommented:

  deb precise universe
  deb-src precise universe
  deb precise-updates universe
  deb-src precise-updates universe

It could also be you hit a bad mirror, transient network or DNS issue, though those would most likely go away with a sudo apt-get update.

And after any changes, you'll need to update again.

share|improve this answer
I found out what the problem was, thanks to your answer. In the sources.list folder the lines beginning with 'deb' were present, but the lines with deb-src were not. I put them in and then I updated, and all is well. Thanks. – sheedy Nov 22 '12 at 14:43

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.