Public bug reported:

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=archive.ubuntu.com --root=ubuntu --method=ftp
--dist=oneiric --section=main --arch=i386 $repository_working_dir

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/repositories/Ubuntu.11.10.repository from 
http://archive.ubuntu.com/ubuntu/
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.

** Affects: debmirror (Ubuntu)
     Importance: Undecided
         Status: 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

Reply via email to