PDA

View Full Version : Segmentation fault when updating kali linux 2.0



baygon
2015-11-26, 07:15
good day Admin!
Permission to post.

i got a newly installed Kali linux 2.0 64bit but, when i run apt-get update it shows that segmentation fault.
please check the details below.

Err http://http.kali.org sana InRelease

Err http://http.kali.org sana Release.gpg
Unable to connect to http.kali.org:http:
Err http://security.kali.org sana/updates InRelease

Err http://security.kali.org sana/updates Release.gpg
Unable to connect to security.kali.org:http:
Segmentation fault
Reading package lists... Done
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/InRelease

W: Failed to fetch http://http.kali.org/kali/dists/sana/InRelease

W: Failed to fetch http://http.kali.org/kali/dists/sana/Release.gpg Unable to connect to http.kali.org:http:

W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/Release.gpg Unable to connect to security.kali.org:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.



here are the details on my sourceslist.list:

#

# deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

#deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib


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




i never experience this error on the previous version of kali linux.
please help me to fix this problem..
thanks in advance!

g0tmi1k
2015-11-26, 08:15
By the looks of it, your Kali doesn't have Internet access.
Fix that first before trying again.

baygon
2015-11-28, 00:28
its working now...
i just folow the kali docs tutorial and all works fine...

http://docs.kali.org/community/kali-linux-mirrors

baygon
2015-12-03, 00:12
its working now...
i just folow the kali docs tutorial and all works fine...

http://docs.kali.org/community/kali-linux-mirrors

after 3 days on vacation, it happens again.... i can't update repositories...

baygon
2015-12-21, 08:35
after 3 days on vacation, it happens again.... i can't update repositories...

@g0tmilk,
sir, after few weeks of not using this machine i got a problem on updating respiratories again... please help me to fix this.. thanks

duxim
2015-12-21, 10:29
check source list and if it is not like this one replace it. Use this command to open soucre list
leafpad /etc/apt/sources.list
or instead lefapad use nano,gedit,kwrite......

#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

baygon
2015-12-21, 11:17
check source list and if it is not like this one replace it. Use this command to open soucre list
leafpad /etc/apt/sources.list
or instead lefapad use nano,gedit,kwrite......

#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

@duxim,
i have the same respiratories in my source list... i've been using that perfectly but, after 2 or 3 weeks of not updating it brings back the segmentation fault error.

duxim
2015-12-21, 14:30
then probably problem is that g0tm1k mention in first post.
check your network first and if you have those problems again I recommended to reinstall Kali Linux once again.