Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to access all of the repositories but i am unable to change the settings in the software center, command line, or right from the source list. I have a hypothysis that it may be due to unistalled updates but when i run "sudo apt-get install update" it says that it is unable to locate package update. help?

share|improve this question
add comment

2 Answers

You are having some confusion about the syntax of apt-get:

To get the most updated list of all the software, you do:

sudo apt-get update

For installing packages, you have tell apt-get what to install:

sudo apt-get install package

You were mixing above commands. To modify your repositories, you could either write in dash "Software Sources" and add/modify/deactivate repositories or editing directly the sources.list file:

sudo vim /etc/apt/sources.list

Remember that each time you do sudo you are giving yourself god-like powers over your system, use the power with prudence and responsibility.

share|improve this answer
add comment

You want this command:

sudo apt-get update
share|improve this answer
add comment

Your Answer

 
discard

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.