Kali linux sources list repositories
​ The topic of repositories is always a large one, and comes up frequently. It is an item which people often get wrong and confused with. Please take the time to read the information below and any references which is linked to before acting on anything. ​ ​ ​
Default Network Repository Value
​ On a standard, clean install of Kali Linux, with network access, you should have the following entry present in /etc/apt/sources.list : ​
​ If the output doesn’t exactly match up to the above output, you may not be able to install any new additional packages or receive updates. This may happen for any number of reasons, such as: ​ — You did an off-line install (such as missing a network connection during installation). — You have switched your branch. — Using a different (hardcoded) mirror]. ​ You will probably want to read the “switching branches” section to alter this. ​ ​ ​
Switching Branches/Regular Repositories
​ Kali has various different branches to choose from (please take the time to read which one would be the best option for your setup), and you may be able to switch or include additional repositories. ​ kali-rolling (Default & frequently updated) ​
​ kali-last-snapshot (Point release so more “stable” & the “safest”) ​
​ kali-experimental (Packages which are under testing — often used with the rolling repository) ​
Sources.list Format
​ — Archive is going to be deb (Regular Binary) or deb-src (Source), depending if you want a package or the source of the package. — Mirror should be http.kali.org/kali as this is our load balancer, which will direct you to best mirror. — Branch is what version of Kali you wish to use. — Component is what packages you wish to use, based on the Debian Free Software Guidelines (DFSG). Kali defaults to everything. ​ ​ ​
Default Off-line Install Values
​ During the Kali setup process, if you don’t have access to a network connection to reach a repository, you will perform an off-line installation of Kali. You will be limited to the packages & the version which is on the medium you installed Kali from. This will then configure Kali to continue to use this medium to install packages from, even after Kali has been installed. ​ This means you will not get any updates to packages, or any new additional tools, which can be frustrating. You can see if you the off-line media enabled if your values match up with whats below (or if you want to enable this option): ​
​ If your output matches whats above, please see the switching branch section, if you wish to receive updates. ​ However, if you do have network connection, which has access to network repositories, it will be enabled for you. You don’t need to do anything. ​ ​ ​
Non-Kali Repositories
​ If you want to install additional tools and software (such as signal) outside of what Kali has to offer, you may need to include an extra repository for this to happen. Please do not alter /etc/apt/sources.list , as this is used for the Kali Linux Operating System. Any extra tools and software needs to be placed into their own file in the directory /etc/apt/sources.list.d/ (such as /etc/apt/sources.list.d/repo-name.list , replacing repo-name with the mirror name). It is highly recommended that each mirror should be in its own file. ​ By adding Kali’s repository to a non-Kali OS (such as trying to add Kali to Ubuntu), this will highly increase the chance of your system not working. It may not happen straight away, but without any warning, it may break. We will not be able to offer support (and based on what we have seen over the years, most other OS will not help too). ​ Likewise, adding other operating system’s repositories into Kali (such as trying to put Ubuntu on Kali), will break your installation. This is the single most common reason why Kali Linux systems break. ​ If any guides are telling you to do anything else than the above, this is unofficial advice, and completely not supported by Kali Linux. More often than not, users in this case end up doing a reinstall after learning this lesson. ​ ​ ​
Mirrors
​ We have a list of official Kali Linux mirrors, as well as a guide on how to setup your own. This may be kept as a local repository which is only accessible on a LAN, or a remote private one, or if you have the ability to, you may wish to share back to the community and make it public allowing for anyone else in your geographical area to benefit from it. ​ ​ ​
Source Repositories
​ By using a deb in the repositories, it will allow for binary packages to be downloaded. However, should you require the source to a package (so you can compile the package yourself if you so wish, or look into debugging a problem with a package), you can add deb-src as a extra line in the repositories. ​
​ We used kali-rolling for the branch above, but you can select any value you wish.
Updated on: 2020-Feb-21
Author: g0tmi1k
Information Security Squad
stay tune stay secure
🐧 Как добавить официальные репозитории Kali Linux в sources.list
В терминале проверьте текущий список репозиториев apt, присутствующих в системе.
Если репозитории APT отсутствуют, вставьте приведенный ниже код, чтобы добавить их.
Обновите список ваших пакетов:
При желании вы можете сделать обновление системы
4 комментария на “ 🐧 Как добавить официальные репозитории Kali Linux в sources.list ”
Наконец-то нашёл рабочий вариант. Спасибо!
Всегда рады 🙂 оставайтесь с нами
Добавить комментарий Отменить ответ
Онлайн курсы
Рубрики
- Аудит ИБ (36)
- Вакансии (9)
- Закрытие уязвимостей (97)
- Книги (25)
- Мануал (1 722)
- Медиа (65)
- Мероприятия (33)
- Мошенники (21)
- Обзоры (641)
- Обход запретов (30)
- Опросы (3)
- Скрипты (96)
- Статьи (255)
- Философия (27)
- Юмор (14)
Метки
Наш Telegram
Социальные сети
Hack shop
Поделиться
Anything in here will be replaced on browsers that support the canvas element
pichuang / sources.list
deb http://kali.cs.nctu.edu.tw/ /kali main contrib non-free |
deb http://kali.cs.nctu.edu.tw/ /wheezy main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali kali-dev main/debian-installer |
deb-src http://kali.cs.nctu.edu.tw/kali kali-dev main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali kali main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali kali main/debian-installer |
deb-src http://kali.cs.nctu.edu.tw/kali kali main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free |
deb-src http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free |
deb http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge main |
This comment has been minimized.
Copy link Quote reply
kevnoutsawo commented Apr 30, 2016
Don’t forget to point out that kali-dev is not intended for end users , as it is likely to break often.
This comment has been minimized.
Copy link Quote reply
RobinJesba commented Dec 17, 2016
Android kali linux. 404 error while updating. Help me.
This comment has been minimized.
Copy link Quote reply
aliaktar12 commented Aug 12, 2017
I updated my sources.list file with above repo and updated my Kali after update/upgrade I get Firefox ESR and Google and YouTube stop working on it please help
This comment has been minimized.
Copy link Quote reply
tee2015 commented Dec 13, 2017
Thanks you for sharing
This comment has been minimized.
Copy link Quote reply
adilo2018 commented Mar 27, 2018
This comment has been minimized.
Copy link Quote reply
Airforce3 commented Apr 20, 2018
Please can can someone help me with a new sources.list?
This comment has been minimized.
Copy link Quote reply
ahmlm commented May 2, 2018
This comment has been minimized.
Copy link Quote reply
lozadaitm commented Jun 8, 2018
This comment has been minimized.
Copy link Quote reply
kuamit5516 commented Jun 15, 2018
This comment has been minimized.
Copy link Quote reply
offensive-security commented Jun 20, 2018
these entries will most likely not work or break your kali install. You should really just use:
deb http://http.kali.org/kali kali-rolling main non-free contrib
This comment has been minimized.
Copy link Quote reply
Voskrese commented Jul 8, 2018 •
Для Kali Linux 2016
Для Kali Linux 2017.1
deb https://repo.kali.org/kali kali-rolling main non-free contrib
wget https://archive.kali.org/archive-key.asc | apt-key add —
This comment has been minimized.
Copy link Quote reply
manexmane21 commented Jul 27, 2018
؟؟؟؟ sources.list kali-linux-2018.2-i386
This comment has been minimized.
Copy link Quote reply
manexmane21 commented Jul 27, 2018
**Possible assistant I want
This comment has been minimized.
Copy link Quote reply
manpace5 commented Sep 21, 2018
hello every one plase can some one show me haw to update sources.list 2018 i have cheked on youtube but the links are not thesome
This comment has been minimized.
Copy link Quote reply
Bujji205 commented Sep 22, 2018
404 error while updating. Doesn’t seem to be working
This comment has been minimized.
Copy link Quote reply
Rakibritchie commented May 15, 2019
this repos ain’t working properly on my pc 🙁
This comment has been minimized.
Copy link Quote reply
boldboy32 commented Jul 11, 2019
i have kali linux GNU rolling 2019.2 and i want perfect source list for it.
This comment has been minimized.
Copy link Quote reply
acxgray commented Jul 18, 2019
i have kali linux GNU rolling 2019.2 and i want perfect source list for it.
You can also try this mirror as repository for your Kali Installation
deb http://ftp.harukasan.org/kali kali-rolling main non-free contrib
deb-src http://ftp.harukasan.org/kali kali-rolling main non-free contrib
These mirrors are fast in my country.
This comment has been minimized.
Copy link Quote reply
This comment has been minimized.
Copy link Quote reply
samsam2310 commented Jul 18, 2019
This comment has been minimized.
Copy link Quote reply
david50407 commented Jul 18, 2019
Just use official mirror (which will match fastest mirror depend on your location automatically) or try this on 2019.2:
This mirror is from Department of Computer Science, National Chaio Tung University, Taiwan.
Maybe you can find some mirror from universities localed in India. 🙂
This comment has been minimized.
Copy link Quote reply
Kalinux666 commented Jan 10, 2020
They work pretty well from my experience with these repositories and I do recommend them. They will take a bit longer than usual because there are many of them, but they are pretty secure and reliable. The original repositories from the Kali Linux website have never worked for me, at all. I would use the apt-get install command and every time it gave me the same error: package not found. I recommend these repositories for anyone experiencing the same difficulties as I did. Juts type in your terminal xdg-open /etc/apt/sources.list and copy and paste these repositories. No #’s needed as far as I know.
This comment has been minimized.
Copy link Quote reply
254Anonymous commented Mar 19, 2020
They code worked for me
How does one access the root account from another user account?
This comment has been minimized.
Copy link Quote reply
djieunang4 commented Jun 27, 2020
please any one can obtain the source for 2020.2 version
This comment has been minimized.
Copy link Quote reply
Amoako-Manasseh commented Jul 16, 2020
please the repositories for 2020.2 version
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.