apt-get -y install hostapd fails to resolve any of the apt sources. The last apt-get based install that works before the break is the install of python-pip.
I believe that this is caused by the change in hostname done in the avahi setup By setting the hostname and not restarting or otherwise cleaning up the localhost to point to the new hostname all sorts of havok can happen.
I suggest swapping out kali for copilot in /etc/hosts and then restarting networking.
sed -i 's/127.0.0.1\s*kali/127.0.0.1\tcopilot/' /etc/hosts
service networking restart
apt-get -y install hostapd
fails to resolve any of the apt sources. The last apt-get based install that works before the break is the install of python-pip.I believe that this is caused by the change in hostname done in the avahi setup By setting the hostname and not restarting or otherwise cleaning up the localhost to point to the new hostname all sorts of havok can happen.
I suggest swapping out kali for copilot in /etc/hosts and then restarting networking.