712吧 关注:145贴子:1,277
  • 0回复贴,共1
Kali Update and Upgrade Error Fixed

Most of kali User face Update and Upgrade problem, This is so frustrating, I researched on that and try to fix it. What all steps I used to fix kali update and upgrade error, i am going to share with you.
kali-update-and-upgrade-error-fixed
Step 1: Modify your sources.list to latest repositories Provide by kali.
Open terminal and type “apt-get install gedit” without quotes # if gedit editor is not installed
“gedit /etc/apt/sources.list” now copy everything from below paragraph, paste it on sources.list and save it.
Note: Always check for latest Respositories, it may change over time , Click here for latest one

#Regular
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
#Source
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
#Bleeding Edge
deb http://repo.kali.org/kali kali-bleeding-edge main

Step 2: apt-get clean && apt-get autoremove
Step 3: check your Architecture:

dpkg --print-architecture

result might be amd64 for 64 bit machine or i386 for 32 bit machine.
Step 4: gedit /var/lib/dpkg/arch
if you see any other architecture other than the output of step 3 just remove it and save it.
Step 5: Now apt-get update && apt-get upgrade
It will work like Charm and save your Day.


回复
1楼2016-07-12 20:29