Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1255, in <module>
    main(options)
  File "/usr/bin/unattended-upgrade", line 931, in main
    allowed_origins = get_allowed_origins()
  File "/usr/bin/unattended-upgrade", line 298, in get_allowed_origins
    allowed_origins = get_allowed_origins_legacy()
  File "/usr/bin/unattended-upgrade", line 283, in get_allowed_origins_legacy
    (distro_id, distro_codename) = s.split()
ValueError: need more than 0 values to unpack

It is failing to substitute `distro-id` and `distro-codename`, and so
the for loop just gets: `['', '', "-security'", "-updates'",
"-backports'"]`

Replacing the variable placeholders with the correct literal values
fixes it as a workaround.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177318

Title:
  Unattended Upgrades fail to parse
  "${distro_id}:${distro_codename}-security"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1177318/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to