Debmirror ignores '--method' option (always uses rsync)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debmirror (Debian) |
Confirmed
|
Unknown
|
|||
debmirror (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
1) Ubuntu 11.10
2) Debmirror 1:2.9ubuntu1
3-4) I use debmirror in my update script, but after dist upgrade (11.04 -> 11.10) debmirror ignores method option and always trying to use rsync. Thats how i launch debmirror:
debmirror --verbose --host=
I tried http method and other reps mirror, debmirror forced rsync method too.
My server has acces only to http and ftp, so debmirror just stops, thats what i see after launching:
Mirroring to /home/repositor
Arches: i386
Dists: oneiric
Sections: main
Including source.
Pdiff mode: use
Will clean up after mirroring.
Attempting to get lock ...
Updating remote trace files (using rsync) ...
If i put debmirror binary file from Ubuntu 11.04 in /usr/bin it works well. So, looks like a bug in new Ubuntu 11.10 package.
Changed in debmirror (Debian): | |
status: | Unknown → New |
Changed in debmirror (Debian): | |
status: | New → Confirmed |
I can confirm this happens. A strace very clearly shows it ignoring me:
29077 execve( "/usr/bin/ debmirror" , ["debmirror", "--host", "sloy", "--method=http", "-r", "apt", "--dist=repo", "--arch= amd64,source" , "--section=main", "VNMS_2.1.32-0"], [/* 83 vars */]) = 0 "/usr/bin/ patch", ["patch", "--version"], [/* 81 vars */]) = 0 "/bin/hostname" , ["hostname", "-f"], [/* 81 vars */]) = 0 "/usr/bin/ rsync", ["rsync", "--timeout=300", "-aL", "--partial", "--no-motd", "sloy::apt/", "--delete", "--include- from=/tmp/ hAhNFwYq2H" , "--exclude=*", "/media/ DaK/VNMS_ UPGRADES/ VNMS_2. "...], [/* 81 vars */]) = 0
29078 execve("/bin/sh", ["sh", "-c", "patch --version 2>/dev/null >/de"...], [/* 83 vars */]) = 0
29079 execve(
29078 --- SIGCHLD (Child exited) @ 0 (0) ---
29077 --- SIGCHLD (Child exited) @ 0 (0) ---
29080 execve("/bin/sh", ["sh", "-c", "ed --version 2>/dev/null >/dev/n"...], [/* 83 vars */]) = 0
29081 execve("/bin/ed", ["ed", "--version"], [/* 81 vars */]) = 0
29080 --- SIGCHLD (Child exited) @ 0 (0) ---
29077 --- SIGCHLD (Child exited) @ 0 (0) ---
29082 execve("/bin/pwd", ["/bin/pwd"], [/* 83 vars */]) = 0
29077 --- SIGCHLD (Child exited) @ 0 (0) ---
29083 execve("/bin/sh", ["sh", "-c", "hostname -f 2>/dev/null || hostn"...], [/* 83 vars */]) = 0
29084 execve(
29083 --- SIGCHLD (Child exited) @ 0 (0) ---
29077 --- SIGCHLD (Child exited) @ 0 (0) ---
29085 execve("/bin/sh", ["sh", "-c", "rsync --timeout=300 -aL --partia"...], [/* 83 vars */]) = 0
29085 execve(
29077 --- SIGCHLD (Child exited) @ 0 (0) ---