LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Updating Kali Linux after a Fresh Install (https://www.linuxquestions.org/questions/linux-newbie-8/updating-kali-linux-after-a-fresh-install-4175670767/)

kalix0413 03-05-2020 03:21 AM

Updating Kali Linux after a Fresh Install
 
Hi Guys,

I have just installed a fresh copy of Kali linux and keep getting an error when I try updating the packages.

In the terminal when I do sudo apt-get update and type my password for super user access, I get the error below:

"Err:1 http://http.kali.org/kali kali-rolling InRelease
Connection failed [IP: 192.99.200.113 80]
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Connection failed [IP: 192.99.200.113 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."


Can anyone kindly help me out on how to fix this?



Regards,

yancek 03-05-2020 06:48 AM

The Kali documentation at their site discusses this problem in detail at the link below. I'm not sure how much you know about Kali or Linux, but Kali is a specific use OS and is therefore, very well documented so the Kali documentation is the best source for help. Did you modify your sources.list file? The output you posted does not look right to me. Posting the contents of that file might give information for someone to help you. The documentation at the Kali site at the link below explains frequent problems and explains how to update.

https://www.kali.org/docs//general-u...-repositories/

kalix0413 03-05-2020 10:28 PM

Quote:

Originally Posted by yancek (Post 6097346)
The Kali documentation at their site discusses this problem in detail at the link below. I'm not sure how much you know about Kali or Linux, but Kali is a specific use OS and is therefore, very well documented so the Kali documentation is the best source for help. Did you modify your sources.list file? The output you posted does not look right to me. Posting the contents of that file might give information for someone to help you. The documentation at the Kali site at the link below explains frequent problems and explains how to update.

https://www.kali.org/docs//general-u...-repositories/

Thanks a lot for the advise yancek; I will have a look at the domcumentation. Also, it is good that you mentioned the source.list file; I had troubles editing it. I read an article that said I must change the url from http to https as below:

root@kali:~# cat /etc/apt/sources.list
deb https://http.kali.org/kali kali-rolling main non-free contrib
# deb-src https://http.kali.org/kali kali-rolling main non-free contrib

The result fails as below:

cabdoul@kali--linux-abdoul:~$ sudo apt-get update
Err:1 http://http.kali.org/kali kali-rolling InRelease
Connection failed [IP: 192.99.200.113 80]
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Connection failed [IP: 192.99.200.113 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
cabdoul@kali--linux-abdoul:~$

I will have to carefully go through the documentation.

Your help is truly appreciated; open to learning more from you guys.



Regards,
Abdoul


All times are GMT -5. The time now is 07:31 PM.