[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
** Changed in: debmirror (Debian) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
Added a link to the upstream bug for watching. ** Bug watch added: Debian Bug tracker #625696 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625696 ** Also affects: debmirror (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625696 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
** Changed in: debmirror (Debian) Status: Unknown = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
Thanks, --rsync-extra=none works for me! It was rather strange change in interface ( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
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 29078 execve(/bin/sh, [sh, -c, patch --version 2/dev/null /de...], [/* 83 vars */]) = 0 29079 execve(/usr/bin/patch, [patch, --version], [/* 81 vars */]) = 0 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(/bin/hostname, [hostname, -f], [/* 81 vars */]) = 0 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(/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 29077 --- SIGCHLD (Child exited) @ 0 (0) --- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: debmirror (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 882941] Re: Debmirror ignores '--method' option (always uses rsync)
This looks like it's an upstream change. From the man-page: --rsync-extra=foo[,bar,..] Allows to also mirror files from a number of directories that are not part of the package archive itself. Debmirror will always use rsync for the transfer of these files, irrespective of what transfer method is specified in the --method option. This will therefore not work if your remote mirror does not support rsync, or if the mirror needs a different --root option for rsync than for the main transfer method specified with --method. However specifying --rsync-extra=none still fails on my setup with: Download of dists/repo/Release failed: 500 Can't connect to sloy:80 (Connection refused) Although looking at apache's logs I can see it never actually tried to fetch the file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/882941 Title: Debmirror ignores '--method' option (always uses rsync) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debmirror/+bug/882941/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs