Lập Trình Linux

FIX : apt-get not working in Kali Linux 2018.1




In fresh installed Kali Linux 2018.1, apt-get update and apt-get upgrade commands will do nothing. So, we must modify our sources.list file. Here, I will show how to solve this issue.

Follow article version of this solution here :

My PC setup :
ARESZE Gaming Casing, check out below :

G10 Gaming Headphone, check out below :

T9 Gaming Mouse, check out below :

G700 Gaming Keyboard, check out below :

480 GB Sata SSD Sandisk, check out below :

GPU: GeForce GTX 1050 Ti
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Memory: 16 GB RAM (15.94 GB RAM usable)

Screen recorder used for video is : DU RECORDER

Nguồn:https://ftlinuxcourse.com/

Xem Thêm Bài Viết Khác:https://ftlinuxcourse.com/lap-trinh-linux

Tin HOT
[GOT7 – POISON] Comeback Stage | M COUNTDOWN 200423 EP.662
Máy Tính
Nguyên Lý Hoạt Động Main PC
Phim
Phim chiếu rạp|| Phim viễn tưởng hay nhất 2020|| Phim chiếu rạp 2020 mới nhất
  • StanStan

    Author Reply

    Hello BJ.. Would be great if you could help…

    My source list is:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib

    The error I am getting is as below:

    root@kali:~# apt-get update
    Ign http://http.kali.org kali-rolling InRelease
    Err http://http.kali.org kali-rolling Release.gpg
    Something wicked happened resolving 'http.kali.org:http' (-5 – No address associated with hostname)
    Ign http://http.kali.org kali-rolling Release
    Ign http://http.kali.org kali-rolling/main Sources/DiffIndex
    Ign http://http.kali.org kali-rolling/non-free Sources/DiffIndex
    Ign http://http.kali.org kali-rolling/contrib Sources/DiffIndex
    Ign http://http.kali.org kali-rolling/main i386 Packages/DiffIndex
    Ign http://http.kali.org kali-rolling/non-free i386 Packages/DiffIndex
    Ign http://http.kali.org kali-rolling/contrib i386 Packages/DiffIndex
    Err http://http.kali.org kali-rolling/contrib Translation-en_US
    Something wicked happened resolving 'http.kali.org:http' (-5 – No address associated with hostname)
    Err http://http.kali.org kali-rolling/contrib Translation-en
    Something wicked happened resolving 'http.kali.org:http' (-5 – No address associated with hostname)


  • Thank you!!!!!!!! Solved my issue after over an hour of troubleshooting!


  • this cannot go unnoticed, thanks a lot man


  • Thanks


  • Working in 2019.2 thanks sir!


  • thanks bro


  • Thank you Bro


  • It is working JULY1/2019


  • hey can you help me out after apt-get upgrade my kali linux in virtual box is in black screen now


  • Working in 2019.2!!! You saved me from a login loop, thaaaaaanx!


  • It is working. 01MAY2019 / Tested


  • Thanks ^_^


  • thank you it worked


  • I install kali in my laptop today but it's not working properly my laptop is connected to internet but Firefox is not working apt-get update is not working what should I do please help me…


  • it's not worked for me sir
    i had command after type"apt-get update"in below

    E: Malformed line 2 in source list /etc/apt/sources.list (type)
    E: The list of sources could not be read.
    root@kali:~# apt-get upgradew
    E: Invalid operation upgradew
    root@kali:~# apt-get upgrade
    E: Malformed line 2 in source list /etc/apt/sources.list (type)
    E: The list of sources could not be read.
    E: Malformed line 2 in source list /etc/apt/sources.list (type)
    E: The list of sources could not be read.
    root@kali:~#


  • After I input “apt-get update” I always receive an Error message. For example what originally brought me to this video was when I input “apt-get install tor” it would say that Tor didn’t have an installation candidate. Do you know what I can do to fix this? Thanks!


  • It only comes written

    Reading package lists ……done

    Not the three lines before and does not fetch sources please help


  • Thx bro
    My prblm is solved:-)


  • Hello friends…. my apt is not working… thats y i'm not able to update my kali. Please help me with the right solution or commands


  • after putting that command leafpad is opening but nothing is there….. my problem is not solving plzz help


  • problem solved thanks pal


  • My problem is unsolved after using this comd


  • thank you SO mutch man