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

If I try sudo apt-get install mc or sudo apt-get install fortune, I get E: Unable to locate package mc or E: Unable to locate package fortune.

Also in Ubuntu Software Center: Use this source is disabled.

Internet works and wget gets from Internet.

share|improve this question
up vote 8 down vote accepted

mc and fortune are both in the universe repository. Make sure you have the option to download and install packages from universe enabled.

Open software-center. Go to Edit menu --> Open software sources and check Universe option.


After checking the option, run the following commands to install mc and fortune.

sudo apt-get update
sudo apt-get install mc fortune
share|improve this answer
I tried sudo apt-get update and it worked. – Eduard Florinescu Aug 24 '12 at 12:30

Try this

sudo apt-get install ubuntu-restricted-extras

and then this

sudo apt-get update && sudo apt-get upgrade

and then try your commands

share|improve this answer
It would be helpful to explain why this sequence of commands should be executed. – Marve Aug 24 '12 at 16:37

After you install Ubuntu, run:

sudo apt-get update && sudo apt-get upgrade

This will update the package lists and upgrade your system.

However, if you've already done so, you can follow the instructions given by jokerdino.

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.