Re: Debmirror - 3rd Party Repo Error (Kali)

2018-01-24 Thread Curt
On 2018-01-23, Derek Murphy  wrote:
>
> 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.
>

Is it an error, as is in "Sorry, but I can proceed no further," or merely an
informative message?  Is it this bug (line 1650?--I snipped too soon to
check below)?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868675

-- 
“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut



Debmirror - 3rd Party Repo Error (Kali)

2018-01-23 Thread Derek Murphy
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.org
kali_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

debmirror log:
user@localhost:/mnt/d/Linux_Repo# ./mirrorbuild_kali.sh
Mirroring to /mnt/d/Linux_Repo/mirror/http.kali.org from
http://http.kali.org//
Arches: amd64
Dists: kali-rolling,kali-experimental
Sections: contrib,main,non-free
Pdiff mode: use
Veriftying checksums.
Will clean up after mirroring.
Attempting to get lock ...
Not able to use rsync to update remote trace files ...
Getting meta files ...
[  0%] Getting: dists/kali-rolling/Release...#** GET
http://http.kali.org//dists/kali-rolling/Release ==> 302 Found (1s)
** GET http://archive-8.kali.org/kali/dists/kali-rolling/Release ==> 200 OK
ok
[  0%] Getting: dists/kali-rolling/InRelease...  #** GET
http://http.kali.org//dists/kali-rolling/InRelease ==> 302 Found
** GET http://archive-2.kali.org/kali/dists/kali-rolling/InRelease ==> 200
OK
ok
[  0%] Getting: dists/kali-rolling/Release.gpg...#** GET
http://http.kali.org//dists/kali-rolling/Release.gpg ==> 302 Found
** GET http://archive-5.kali.org/kali/dists/kali-rolling/Release.gpg ==>
200 OK
ok
gpgv: Signature made Tue 16 Jan 2018 07:07:26 AM STD using RSA key ID
7D8D0BF6
gpgv: Good signature from "Kali Linux Repository "
gpgv: Signature made Tue 16 Jan 2018 07:07:26 AM STD using RSA key ID
7D8D0BF6
gpgv: Good signature from "Kali Linux Repository "
[  0%] Getting: dists/kali-experimental/Release...   #** GET
http://http.kali.org//dists/kali-experimental/Release ==> 302 Found (1s)
** GET http://archive-2.kali.org/kali/dists/kali-experimental/Release ==>
200 OK
ok
[  0%] Getting: dists/kali-experimental/InRelease... #** GET
http://http.kali.org//dists/kali-experimental/InRelease ==> 302 Found
** GET http://archive-6.kali.org/kali/dists/kali-experimental/InRelease ==>
200 OK
ok
[  0%] Getting: dists/kali-experimental/Release.gpg...   #** GET
http://http.kali.org//dists/kali-experimental/Release.gpg ==> 302 Found
** GET http://archive-2.kali.org/kali/dists/kali-experimental/Release.gpg
==> 200 OK
ok
gpgv: Signature made Tue 09 Jan 2018 09:38:19 AM STD using RSA key ID
7D8D0BF6
gpgv: Good signature from "Kali Linux Repository "
gpgv: Signature made Tue 09 Jan 2018 09:38:19 AM STD using RSA key ID
7D8D0BF6
gpgv: Good signature from "Kali Linux Repository "
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in sprintf at /usr/bin/debmirror line 1679.
Mismatch '.temp/dists/kali-experimental/contrib/binary-amd64/Packages.xz':
size is 32, expected 0
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in sprintf at /usr/bin/debmirror line 1679.
Mismatch '.temp/dists/kali-experimental/main/binary-amd64/Packages.xz':
size is 1264, expected 0
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in sprintf at /usr/bin/debmirror line 1679.
Mismatch '.temp/dists/kali-experimental/non-free/binary-amd64/Packages.xz':
size is 32, expected 0
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in sprintf at /usr/bin/debmirror line 1679.
Mismatch '.temp/dists/kali-rolling/contrib/binary-amd64/Packages.xz': size
is 91412, expected 0
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in numeric eq (==) at /usr/bin/debmirror
line 1645.
Use of uninitialized value $size in sprintf at /usr/bin/debmirror line 1679.
Mismatch '.temp/dists/kali-rolling/main/binary-amd64/Packages.xz': size is
1474560, expected 0