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.


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
  • I tried sudo apt-get update and it worked. 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

  • It would be helpful to explain why this sequence of commands should be executed.
    – dcharles
    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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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