PDA

View Full Version : issues while installing packages



kunal_171183
2019-12-14, 05:41
Message:

apt-get update
Err:1 http://ftp.harukasan.org/kali kali-rolling InRelease
Could not connect to ftp.harukasan.org:80 (127.42.0.8). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:80 (::127.42.0.12). - connect (101: Network is unreachable) Could not connect to ftp.harukasan.org:80 (127.42.0.9). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:80 (::127.42.0.13). - connect (101: Network is unreachable) Could not connect to ftp.harukasan.org:80 (127.42.0.10). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:80 (::127.42.0.14). - connect (101: Network is unreachable) Could not connect to ftp.harukasan.org:80 (127.42.0.11). - connect (111: Connection refused) Cannot initiate the connection to ftp.harukasan.org:80 (::127.42.0.15). - connect (101: Network is unreachable)

This is what I keep getting while trying to install new packages or even while running the apt-get update. I have been told that ftp.harukasan.org is not an official kali repo, hence I might want to consider downloading the latest Kali package. The one I downloaded and installed on my VM is a very new one and hardly a couple of days back I made sure I had upgraded the distro as well.

root@kali:/etc/apt# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2019.4
Codename: kali-rolling

Whatever packages I try downloading, whether its BeEF or openvas or others, I encounter the same issue. I cross checked the source.list from /etc/apt as well which should be fine.

deb cdrom:[Debian GNU/Linux 2019.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free


#deb cdrom:[Debian GNU/Linux 2019.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free


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

Have followed several forums, but there is nothing clearly mentioned on ftp.harukasan.org or the workarounds for the same. I am out of ideas, kind of new to pen testing and red teaming tactics, but have been struggling to get the pre-requisites ready. Any help would be appreciated.

Mister_X
2020-01-14, 22:08
There are a few mirrors, and you'll be redirected to the fastest mirror (with the entry in sources.list). You can override this and select a mirror: http://http.kali.org/README.mirrorlist