0

I recently installed ubuntu 12.04 in virtual box. I dont know what the problem is but I dont get the button to instal in ubuntu software centre. It only shows "Use this source" button. Using sudo apt-get install results in "unable to locate package error. What to do?

  • Can you add the full apt-get output? Also did you try sudo apt-get update before install? And what output does it show? Please edit your question to include this information. – Danatela Apr 11 '14 at 2:54
0

First update all the repositories by running,

sudo apt-get update

Then try to install any packages via apt-get or sc. In a newly installed system, you have to update the repositories before trying to install packages or otherwise it shows the error unable to locate package. And also check for the package name is being correct.

  • Post the reason for downvote, please. – Avinash Raj Apr 11 '14 at 1:58

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.