Installation can't reach GitHub or DNS servers

Sounds most likely you have some bad iptables rule, you running stock iptables?