In your case the main problem is that you're using Fedora 16 which is no longer supported. That means you can't install new software as the main mirrors have been purged of Fedora 16 packages. Check the Fedora Release Schedule.
You should have upgraded years ago.
Fedora is evolving quite rapidly and by design releases have short life cycles and are not intended for long term deployment. If you want long term stability deploy CentOS or the LTS Ubuntu releases instead.
The edit on your question removed the "Couldn't resolve host" error which normally indicates a problem with your network settings, either the name server configuration in
/etc/resolv.conf or the complete network configuration.
You can test that with for instance
ping www.google.com ; if that generates a similar error but
ping 18.104.22.168 does work you need to reconfigure your name servers.