Forum Thread: Can't Get Packages on Kali VMware

I'm using kali linux on vmware workstation 14.
I've installed vmware tools.
I also can use a metasploit listener for a meterpreter payload ove WAN sucsesfully so my connection has no problem.
buy I can not get lib files and updates using the apt commands. for example the hostapd for wifiphisher.

here is the message i get

root@kali:~/wifiphisher-1.1# python wifiphisher.py
* hostapd not found in /usr/sbin/hostapd, install now? y/n y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package hostapd

  • Unable to install the 'hostapd' package!

This process requires a persistent internet connection!
Please follow the link below to configure your sources.list
http://docs.kali.org/general-use/kali-linux-sources-list-repositories

  • Run apt-get update for changes to take effect.
  • Rerun the script again to install hostapd.

! Closing

and here is the text from my sources.list

deb http://http.kali.org/kali kali-rolling main contrib non-free
#

# deb cdrom:Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08/ kali-rolling contrib main non-free

#deb cdrom:Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08/ kali-rolling contrib main non-free

if anyone could help me I would appreciate it

1 Response

Share Your Thoughts

  • Hot
  • Active