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
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
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
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
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
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:
** 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