how can I solve "package build-essential has no installation candidate problem?

Asked by Craig Jenkins

I am trying to install the g++ compiler on a fresh installation of ubuntu 9.10 linux. I know that I need to install the "build-essential" package first. I used the command "sudo apt-get install build-essential" but I get the following result:

craig@craig-workstation:~$sudo apt-get install build-essential
Reading package lists...Done
Building dependency tree
Reading state information...Done
Package build-essential is not available, but is referred to by another package.
This may mean that the package is missing, has been obsolete, or is only available from another source.
E:Package build-essential has no installation candidate
craig@craig-workstation:~$

Any information about how to resolve this issue will be greatly appreciated!!!

I like to say "Thank you to François Tissandier!!!! Your response, "open the "Software Sources" item in the System>Admin menu, and check what you have there ? Make sure all the internet source options are activated in the first tab." was the solution to my issue!!! Problem solved!!! Thanks again!!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu build-essential Edit question
Assignee:
No assignee Edit question
Solved by:
Craig Jenkins
Solved:
Last query:
Last reply:
Revision history for this message
François Tissandier (baloo) said :
#1

Weird... Can you open the "Software Sources" item in the System>Admin menu, and check what you have there ?
Make sure all the internet source options are activated in the first tab.

Revision history for this message
Craig Jenkins (teched12000) said :
#2

Thank you to François Tissandier!! Your answer, "Weird... Can you open the "Software Sources" item in the System>Admin menu, and check what you have there ? Make sure all the internet source options are activated in the first tab." was the solution to my problem! Thanks again, very much appreciated!!!!!!!!!!!

Revision history for this message
François Tissandier (baloo) said :
#3

Great if it worked ! :)