• Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
  • Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
No Result
View All Result
Home Uncategorized

How to Fix Kali Linux Repositories File | (/etc/apt/sources.list)

techdhee by techdhee
February 6, 2023
0 0
0
How to Fix Kali Linux Repositories sources list File

In this article, we are going to learn about how to fix Kali Linux repository file. How to fix Kali Linux repositories file after installing the Kali Linux. If you are getting the error Command not fount you have to update your repository file in Kali.

Contents hide
1 Default Network Repository Value
2 Default Off-line Install Values
3 Fix Kali Linux sources list
4 Kali Linux Update & Upgrade Command
5 Video
6 Conclusion

Default Network Repository Value

When you install your fresh or clean Kali Linux then your repository file /etc/apt/sources.list looks like this:

sudo nano /etc/apt/sources.list

Fix Kali Linux Repositories File

This is a default repo file and here you have to get all updates and software but some time network issue or miss configuration repo gives you the error you have to update your /etc/apt/sources.list file using the official repository. It is not the same repo files according to the new update it might be changed or not.

Default Off-line Install Values

If you have no internet and you are installing Kali Linux offline mode so you have got this error. In the offline installation, we have no repo link in /etc/apt/sources.list file so we have to update manually following default repo file while we install in offline mode:

Default Off-line Install Values

Now here we can not get any update and new package so we have to update the repo file in Kali Linux.

Fix Kali Linux sources list

So, first of all, you have to your repo link you can get from the official website as well as copy from the following:

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

Fix Kali Linux sources list

Now after updating your repo (/etc/apt/sources.list) file you can update or upgrade your Kali Linux using the following command.

Or you can also add the following if you have to problem with above reposiroty file.

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

Fix Kali Linux Repositories File

Kali Linux Update & Upgrade Command

sudo apt update && sudo apt -y full-upgrade -y

Kali Linux Update & Upgrade Command

Now your Kali Linux updates will start and it’s depended on your internet speed and how much time it takes.

Video

How to Fix Kali Linux Repositories File | (/etc/apt/sources.list)

Conclusion

In this tutorial, you learned how to create a new file in Linux from the command line using various commands and a text editor.

If the command line is not your thing you can easily create a blank text file using the right-click menu in the File Manager.

If you have questions, feel free to leave a comment below.

Related Posts:

  • How to Create a File in Linux
  • Su Command in Linux
  • Nala – An Alternative To APT Package Manager
  • Install Nano Text Editor on Linux
  • Linux File Hierarchy Structure
ShareTweetSendShareSend
Previous Post

How to Install Ngrok on Kali Linux 2022.4

Next Post

How to Install Tor Browser on Ubuntu 22.04

techdhee

techdhee

Related Posts

How to Install Tor Browser in Kali Linux 2023.1
Uncategorized

How to Install Tor Browser in Kali Linux 2023.1

April 2, 2023
Uncategorized

How To Install kaboxer on Kali Linux 2022.4

February 12, 2023
Uncategorized

How to Install Zenmap on Kali Linux 2022.4

February 11, 2023
How to Install Ngrok on Kali Linux 2023
Uncategorized

How to Install Ngrok on Kali Linux 2022.4

February 5, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You might also like

How-to-Check-Windows-10-is-Genuine-or-Not-Genuine

How to Check Windows 10 is Genuine or Not Genuine

August 6, 2023
How to Install Arch Linux

How to Install Arch Linux [Step by Step Guide]

August 6, 2023
Terminal Emulators for Linux

Top 6 Terminal Emulators for Linux

August 5, 2023
How to Install Tor Browser in Kali Linux 2023.1

How to Install Tor Browser in Kali Linux 2023.1

April 2, 2023

How to install Tweak Tool on Ubuntu 22.04 LTS

March 3, 2023
Install Ngrok on Ubuntu 22.04 LTS

How to Install Ngrok on Ubuntu 22.04 LTS

March 2, 2023

© 2024 tecdhee.com - Tech Tips, Tricks and Tutorials.

  • Home
  • About Us
  • Contact
  • Disclaimer
  • Privacy Policy
No Result
View All Result
  • About Us
  • Contact
  • Disclaimer
  • Home
  • Privacy Policy

© 2024 tecdhee.com - Linux Tips, Tricks and Tutorials.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In