[Bug 1702059] Re: Not able to set an empty --root option

2019-11-29 Thread Benjamin
Sorry, little mistake in my previous comment, it's not: sed -i '/^$remoteroot =~.*/i $remoteroot =~ s|/?$|/| ;' /usr/bin/debmirror But: sed -i '/^$remoteroot =~.*/i $remoteroot =~ s|\/?$|\/| ;' /usr/bin/debmirror -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1702059] Re: Not able to set an empty --root option

2019-11-29 Thread Benjamin
Hello, Personally, I modified the /usr/bin/debmirror script: sed -i 's#$remoteroot/#$remoteroot#g' /usr/bin/debmirror sed -i 's#${remoteroot}/#${remoteroot}#g' /usr/bin/debmirror sed -i '/^$remoteroot =~.*/i $remoteroot =~ s|/?$|/| ;' /usr/bin/debmirror For some explanation, if you want to unde

[Bug 1702059] Re: Not able to set an empty --root option

2017-10-04 Thread Boris
Ah ok, thanks for the input. We switched to rsync for puppet. See: https://gist.github.com/KervyN/be6ee207792a08d757e939d436c5aa58 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1702059 Title: Not a

[Bug 1702059] Re: Not able to set an empty --root option

2017-10-04 Thread Joel Smith
It is possible to bypass the default root entry by creating /etc/debmirror.conf with the following entry: # Taken from /usr/share/doc/debmirror/examples/debmirror.conf $remoteroot=""; # The config file must return true or perl complains. # Always copy this. 1; However, debmirror still fails with

[Bug 1702059] Re: Not able to set an empty --root option

2017-10-04 Thread Joel Smith
It is possible to override the --root option by creating an /etc/debmirror.conf file with the appropriate entry to override the default: # Taken from /usr/share/doc/debmirror/examples/debmirror.conf $remoteroot=""; # The config file must return true or perl complains. # Always copy this. 1; Howe

[Bug 1702059] Re: Not able to set an empty --root option

2017-09-20 Thread Launchpad Bug Tracker
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/1702059 Title:

[Bug 1702059] Re: Not able to set an empty --root option

2017-07-03 Thread Hans Joachim Desserud
** Tags added: trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1702059 Title: Not able to set an empty --root option To manage notifications about this bug go to: https://bugs.launchpad.net/ub