[Bug 617328] Re: space is a bad choice for seperator for Unattended-Upgrade::Allowed-Origins
Alex Owen
617328 at bugs.launchpad.net
Thu Jul 14 09:38:03 UTC 2011
For a "fix" for 10.04 try the lenny patch from the debian bug report.
Specifically:
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=27;filename=u-u-lenny.patch;att=1;bug=536754
>From debian bug:
http://bugs.debian.org/536754
Alex Owen
On 13 July 2011 19:54, Petar Maric <617328 at bugs.launchpad.net> wrote:
> Any chance of backporting this fix to 10.04?
>
> Thanks
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/617328
>
> Title:
> space is a bad choice for seperator for Unattended-Upgrade::Allowed-
> Origins
>
> Status in “unattended-upgrades” package in Ubuntu:
> Fix Released
>
> Bug description:
> Binary package hint: unattended-upgrades
>
> http://bugs.debian.org/536754
>
> I know ubuntu is not debian but for unattended-upgrades it appears
> that ubuntu is upstream.
>
> Some well known and well used repos have spaces in either of both of their "origin" and "archive"
> debian-multimedisa has the string "Unofficial Multimedia Packages"
> backports.org also has a space in it's origin.
>
> Perhaps the simplest solution is to change to using a ":" as the separator. The origin strings come from Releases files which by inspection have the format:
> <key>: <value>
> And so presumably ":" cannot be in the <value>.
>
> Would you accept patches to do this?
>
> I guess you will want a patch that falls back to using a space
> separator (for backwards compatibility) if there is no ":" seperator.
>
>
> I am about to send a similar bug update to the debian bug #536754, I will then work on a backwards compatible debian patch then a backwards compatible ubuntu patch.
>
> Please comment if you think this is a bad plan?
>
> Alex Owen
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/617328/+subscriptions
>
** Bug watch added: Debian Bug tracker #536754
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536754
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/617328
Title:
space is a bad choice for seperator for Unattended-Upgrade::Allowed-
Origins
Status in “unattended-upgrades” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: unattended-upgrades
http://bugs.debian.org/536754
I know ubuntu is not debian but for unattended-upgrades it appears
that ubuntu is upstream.
Some well known and well used repos have spaces in either of both of their "origin" and "archive"
debian-multimedisa has the string "Unofficial Multimedia Packages"
backports.org also has a space in it's origin.
Perhaps the simplest solution is to change to using a ":" as the separator. The origin strings come from Releases files which by inspection have the format:
<key>: <value>
And so presumably ":" cannot be in the <value>.
Would you accept patches to do this?
I guess you will want a patch that falls back to using a space
separator (for backwards compatibility) if there is no ":" seperator.
I am about to send a similar bug update to the debian bug #536754, I will then work on a backwards compatible debian patch then a backwards compatible ubuntu patch.
Please comment if you think this is a bad plan?
Alex Owen
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/617328/+subscriptions
More information about the foundations-bugs
mailing list