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

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...

Hướng dẫn reset máy in brother 2701dw

Mở nắp cửa tháo hộp mực máy in ra, cụm cartridge gồm 2 phần : cụm trống và cụm mực. Dùng tuốc-nơ-vít 4 cạnh vặn 2 con ốc tháo cụm bánh răng reset ra ( 2 con ốc nằm ở bên phía bánh răng ), bên phía bánh răng có 3 con ốc thì văn 2 con ra. Tháo cụm cartridge ra chúng ta để ý vị trí của  nẫy nhựa màu trắng  ở vị trí bên trái của cung tròn. Tháo được cụm bánh răng reset ra ( hình ảnh ) Bánh răng reset là bánh răng có gắn lò xo ở phía trên. Tháo rời các bánh răng ra Nắp nhựa màu đen ( khoanh đỏ ) bạn dùng tua-vít 2 cạnh bẩy cái nắp ra để đổ mực vào trong sau đó nắp lại như cũ ( để ý không làm gãy hoặc méo trục nhựa màu đen để ráp bánh răng vào ). Để ý khi máy in báo : “ tonner empty ”  trên màn hình   nghĩa là máy đã hết mực.   Đổ mực xong chúng ra lắp bánh răng như hình dưới để reset : Bánh răng bên cạnh cũng phải đúng vị trí. vấu nhựa ...

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...