Packages are not available for installation

Posted by Alex Farber on Ask Ubuntu See other posts from Ask Ubuntu or by Alex Farber
Published on 2012-12-07T06:48:23Z Indexed on 2012/12/07 11:19 UTC
Read the original article Hit count: 501

Changing some Software Update settings I possibly corrupted something, and now I don't see many packages in the list. For example:

alex@u120464:~$ sudo apt-get install codeblocks
[sudo] password for alex: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package codeblocks

I checked all options in the Software Sources dialog, but packages are still not available. How can I fix this?

OS: Ubuntu 12.04, 64 bit.

Additional information.

alex@u120464:~$ sudo apt-get update
[sudo] password for alex: 
Ign http://extras.ubuntu.com precise InRelease
Ign http://security.ubuntu.com precise-security InRelease           
Ign http://archive.canonical.com precise InRelease                  
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
...

It looks like most Ubuntu repositories are not searched, how can I restore default update behaviour?

© Ask Ubuntu or respective owner

Related posts about updates

Related posts about packages