Originally Posted by
Mister_X
I would recommend using the provided virtual machine images. However, if you insist on using your own, first delete that whole directory and then find out where the 17GB is mounted to then work there. 17Gb should be plenty to build an ISO.
I started over and used kali-linux-2017.3-vbox-amd64 image.
What follows is the error and resulting failure of the creation of the ISO.
It looks like a file on the mirror is corrupted.
How can I recover from this error?
Can I get the file from a different mirror, put it in the correct location and continue the ISO creation process from where it stopped?
Code:
[2018-01-02 13:03:29] lb chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
Get:1 http://archive.kali.org/kali kali-rolling InRelease [30.5 kB]
Get:2 http://archive.kali.org/kali kali-rolling/contrib Sources [64.7 kB]
Get:3 http://archive.kali.org/kali kali-rolling/main Sources [11.7 MB]
Get:4 http://archive.kali.org/kali kali-rolling/non-free Sources [121 kB]
Get:5 http://archive.kali.org/kali kali-rolling/main amd64 Packages [15.7 MB]
Err:5 http://archive.kali.org/kali kali-rolling/main amd64 Packages
File has unexpected size (15689050 != 15689042). Mirror sync in progress?
Hashes of expected file:
- Filesize:15689042 [weak]
- SHA256:68125eb0dac5029179ce131b06213d6487bb11b0686147475886bfefec6df1aa
- SHA1:182ff26033750e7fc0349d9ae8e26df5344de5be [weak]
- MD5Sum:7bcc1d8f4c395ef397d0c8ffc4c4ed40 [weak]
Release file created at: Tue, 02 Jan 2018 12:06:51 +0000
Fetched 11.9 MB in 1min 53s (105 kB/s)
Reading package lists...
E: Failed to fetch http://archive.kali.org/kali/dists/kali-rolling/main/binary-amd64/Packages.gz File has unexpected size (15689050 != 15689042). Mirror sync in progress?
Hashes of expected file:
- Filesize:15689042 [weak]
- SHA256:68125eb0dac5029179ce131b06213d6487bb11b0686147475886bfefec6df1aa
- SHA1:182ff26033750e7fc0349d9ae8e26df5344de5be [weak]
- MD5Sum:7bcc1d8f4c395ef397d0c8ffc4c4ed40 [weak]
Release file created at: Tue, 02 Jan 2018 12:06:51 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Del libv4l-0 1.14.1-1 [89.8 kB]
Del libvorbisenc2 1.3.5-4.1 [79.1 kB]
Del termineter 1.0.1-0kali1 [45.3 kB]
Del python3-smoke-zephyr 1.2.0-0kali1 [15.1 kB]
Del libgeos-3.6.2 3.6.2-1 [698 kB]
Del git-man 1:2.15.1-3 [1514 kB]
Del wpasupplicant 2:2.6-15 [1030 kB]
Del git 1:2.15.1-3 [4555 kB]
Del libsoundtouch1 1.9.2-3 [43.1 kB]
Del libvorbis0a 1.3.5-4.1 [93.2 kB]
Del libvorbisfile3 1.3.5-4.1 [24.4 kB]
Del libv4lconvert0 1.14.1-1 [124 kB]
Del libgeos-c1v5 3.6.2-1 [271 kB]
Build of kali-rolling/default/amd64 live image failed (see build.log for details)