Chuyển đến nội dung chính

How to add official Kali Linux Repositories? – Kali Linux 2.x Sana repositories

Edit your sources.list

The easiest way is to edit the /etc/apt/sources.list
root@kali:~# vi /etc/apt/sources.list
(or)
root@kali:~# leafpad /etc/apt/sources.list

Add official repo’s only:

Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:
# Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
Save and close the file.

Clean your apt-get

apt-get clean

Do an apt-get update

apt-get update

Do an upgrade

apt-get upgrade

Finally do a distribution upgrade

apt-get dist-upgrade
That’s it, you’re set.

Conclusion

A bit of caution for  Kali Linux 2.0 Kali Sana users, pointing to repo.kali.org or such will NOT work and might cause issues.
Don’t add extra repositories to your Kali 2.0 install
Despite what many unofficial guides instruct you to do, avoid adding extra repositories to your sources.list files. Don’t add kali-dev, kali-rolling or any other Kali repositories unless you have a specific reason to – which usually, you won’t. If you must add additional repositories, drop a new sources file in /etc/apt/sources.list.d/ instead. [Source: Offensive Security Blog]
If you must, (despite warning many users will be tempted), do try it in a VirtualBox/VMWare first and take snapshots so that you can roll back.
Thanks for reading. If I have made a mistake, please correct me.

Nhận xét

Bài đăng phổ biến từ blog này

How to Fix Windows Error 0x00000709

add a share printer error 0x00000709. Follow this step by step guide to learn how to fix this error: In this tutorial, we will teach you how to fix the Blue Screen of Death Stop Error 0x00000709. The error "0x00000709" occurs when you try to connect a shared printer over the network. The printer exists but you are unable to connect and you will get this error. Step 1 -- Open RUN type: \\192.168.1.111  Enter Step 2 -- Open the shared printer When the network path window opens up, double click on the printer. A pop-up window will appear and will show you the error: "Operation could not be completed error 0x00000709". Click on the Ok button and close all the windows. Step 3 -- Go to Devices & Printers Now let's resolve the error and properly add the shared printer. First of all, open the start menu and click on Devices and Printers. Step 4 -- Add a printer In the Devices and Printers window, click on the Add a Printer tab. Choose to add a lo...

Reset hộp mực máy in brother

Đổ mực máy in   Brother rất đơn giản ! Nhưng khi đổ mực xong phải biết cách reset thì máy mới hoạt động bình thường, nếu không máy sẽ vẫn thông báo đèn toner, toner low, toner empty....Hôm nay mực in Tây Hồ xin hướng dẫn các bạn cách   Reset máy in brother 2140   và các loại máy in cùng dòng : 2130,2250, 2250dn, 2240, 2240dn... CÁC DÒNG MÁY IN BROTHER KHÁC Bother HL : 2130 /2140/2240/2250/2240d/2250dn/1111 Brother J100/140/140w/125/125w Brother J200/220/220w Brother J315/315w/3520/3520dw Brother J410/430/415w/415dw Brother J725/725dw Brother J825/825dw RESET MÁY IN BROTHER 2140/2130/2240/2250DN Có rất nhiều cách  Reset máy in brother 2140 , 2130,2240, 2250. Nhưng có 2 cách reset miễn phí không mất tiền Mực in Tây Hồ giới thiệu sau đây sẽ giúp các bạn có thể tự làm tại nhà. Có 2 loại Reset máy in brother :  Reset mực :  Bằng tay  hoặc bằng bộ  Kit reset Reset Trống Tại sao pha...

Cấm chạy ứng dụng – file exe trong Windows

Đôi khi vì 1 lý do nào đó, chúng ta muốn ngăn chặn người khác mở 1 chương trình hoặc chặn không cho virus thực thi file .exe, có thể lên danh sách các ứng dụng được pháp chạy hoặc không thông qua chế độ quản lý quyền hạn Group Policy (Có trên các phiên bản Windows Pro, Enterprise, Ultimate) Hoặc đơn giản hơn là can thiệp vào các khóa Registry, cách này đòi hỏi bạn phải truy cập vào Registry và tạo các khóa cần thiết.     Chú ý:  TIP này áp dụng cho hệ điều hành Windows. Các thao tác này thực hiện có tác động đến Registry, vì vậy hãy thật cẩn thận! 1. Tạo rule cấm. Mở hộp thoại Run từ Start Menu hoặc nhấn tổ hợp phím  Windows + R  (Cần phải chạy trên quyền Administrator) Gõ vào  regedit.exe  và Enter để khởi chạy chương trình  Registry Editor . Truy cập vào đường dẫn: 1 HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer Tạo 1 khóa  DWORD 32-bit  tên là  Disallo...