Apt-get :: apt-get install failed??????????



I tried apt-get install apache gcc g++ and so on... nothing works!!  I get the following:

Reading Package Lists... Done
Building Dependency Tree... Done
Package (synaptic or whatever i'm trying to install) has not available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list
E: Package (synaptic or whatever i'm trying to install) has no installation candidate

Any help will be appreciated.  Thanks.

Check /etc/apt/sources.list If it's set to 'testing' change it to 'stable', or vice-versa. Look for the only uncommented line (commented lines start with #), and change the word testing or stable. Then save it, and run 'apt get update'. Then try installing synaptic again.
Did that, but still don't work
Did you do an "dpkg-restore" command before using apt-get?

Cappy


original here.