PDA

View Full Version : why i cannot update even after fixing repository



Mr.7
2016-12-03, 12:51
i just install kali linux 2016.2 on my dell latitute E5420 intel core i5 with 6gb ram... i already fix the repository and try to update
but just come out with this

root@ontoros:~# apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Get:2 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages [14.5 MB]
Err:2 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages
Hash Sum mismatch
Hashes of expected file:
- Checksum-FileSize:14450909 [weak]
- SHA256:c83b9b4afce5e024c7d4f5a194d28f4de1d5ea30357 79fdc0c484de49a17d537
- SHA1:7269ff1c26683890edb0ed2c968b847cbf2dfc26 [weak]
- MD5Sum:aba1c8e0c346169186cea9789a9a1c06 [weak]
Hashes of received file:
- SHA256:bc0b54ec83a175d964f5d4ab82326138f81f79f41c3 3a9546c2f368a3f7d7edb
- SHA1:3a44eece8b5ef535709d9d7a977ca4669293fc2a [weak]
- MD5Sum:182792a90838048f8f11af321f06a261 [weak]
- Checksum-FileSize:14441975 [weak]
Last modification reported: Fri, 02 Dec 2016 00:04:43 +0000
Release file created at: Sat, 03 Dec 2016 00:06:07 +0000
Get:3 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/contrib amd64 Packages [104 kB]
Get:4 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/non-free amd64 Packages [163 kB]
Fetched 14.7 MB in 1min 46s (139 kB/s)
Reading package lists... Done
E: Failed to fetch http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali/dists/kali-rolling/main/binary-amd64/Packages.gz Hash Sum mismatch
Hashes of expected file:
- Checksum-FileSize:14450909 [weak]
- SHA256:c83b9b4afce5e024c7d4f5a194d28f4de1d5ea30357 79fdc0c484de49a17d537
- SHA1:7269ff1c26683890edb0ed2c968b847cbf2dfc26 [weak]
- MD5Sum:aba1c8e0c346169186cea9789a9a1c06 [weak]
Hashes of received file:
- SHA256:bc0b54ec83a175d964f5d4ab82326138f81f79f41c3 3a9546c2f368a3f7d7edb
- SHA1:3a44eece8b5ef535709d9d7a977ca4669293fc2a [weak]
- MD5Sum:182792a90838048f8f11af321f06a261 [weak]
- Checksum-FileSize:14441975 [weak]
Last modification reported: Fri, 02 Dec 2016 00:04:43 +0000
Release file created at: Sat, 03 Dec 2016 00:06:07 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.


here's my source.list

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free


pls help me... i had try for thousand method from hundred forum..none of them worked yet...
pls

muts
2016-12-03, 14:49
Not sure why you had to "fix your repository" in the first place.... but it looks like the mirror you are using is out of sync. Wait for 20 minutes and then try again. If the problem persists, try hardcoding your repo lists to another mirror, like so: http://offs.ec/hardcode

Mr.7
2016-12-04, 02:13
Not sure why you had to "fix your repository" in the first place.... but it looks like the mirror you are using is out of sync. Wait for 20 minutes and then try again. If the problem persists, try hardcoding your repo lists to another mirror, like so: http://offs.ec/hardcode

tqvm bro...