Package: debmirror
Version: 1:2.16+deb8u1
When I run debmirror to sync the Kali repo, I get several errors regarding uninitialized value $size. I've included a copy of the script that I run to sync below. You will also notice a blank -r, this is due to Kali not using the exact folder structure there is no url/ubuntu or url/debian directory.
kali_amd64_root=kali
kali_amd64_section=contrib,main,non-free
kali_amd64_release=kali-rolling,kali-experimental
kali_amd64_server=
http.kali.orgkali_amd64_outPath=${basePath}/mirror/${kali_amd64_server}
#start the mirroring of kali
debmirror -v -a amd64 --no-source -s $kali_amd64_section -h $kali_amd64_server -d $kali_amd64_release -r "" --progress --method=http --checksums --postcleanup --debug $kali_amd64_outPath