LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2020, 03:21 AM   #1
kalix0413
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Rep: Reputation: Disabled
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,
 
Old 03-05-2020, 06:48 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,527

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
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/
 
4 members found this post helpful.
Old 03-05-2020, 10:28 PM   #3
kalix0413
LQ Newbie
 
Registered: Mar 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help on kali linux on vmware after update kali sugar dady Linux - Laptop and Netbook 7 11-27-2017 12:44 AM
How to make Kali Linux look like Parrot OS (Configuring how Kali Linux looks) John1243 Linux - Distributions 1 03-21-2016 02:48 AM
LXer: Migrating from Kali Linux 2 to Kali Linux 2016.1 LXer Syndicated Linux News 0 02-01-2016 07:50 AM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM
Updating redhat after fresh install of shrike? spfdz Linux - Newbie 2 09-18-2005 11:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration