I am trying to update Kali Linux via the official source_lists
while when i do sudo apt-get update
it fails saying W: Failed to fetch
The source list is as follows :-
in /etc/apt/sources.list:
#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
#sources respositories
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
The output after installing some packagesapt-get update
is :-
W: Failed to fetch http://http.kali.org/kali/dists/sana/InRelease
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/InRelease Unable to find expected entry 'non-fre/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/main/source/Sources Unable to connect to security.kali.org:http:
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/contrib/source/Sources Unable to connect to security.kali.org:http:
W: Failed to fetch http://http.kali.org/kali/dists/sana/Release.gpg Unable to connect to http.kali.org:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Please post feedback if anything else is to be updated