I've recreated this and submitted it to the Ubuntu Error Tracker and
apparently I'm the only one who has.

https://errors.ubuntu.com/bucket/?id=/usr/bin/unattended-
upgrade%3AValueError%3A/usr/bin/unattended-
upgrade%401558%3Amain%3Aget_allowed_origins%3Aget_allowed_origins_legacy

Regardless, I'll get it fixed in the development release of Ubuntu.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1680599

Title:
  unattended-upgrades crashes without writing to the log on invalid
  config file entries

Status in unattended-upgrades package in Ubuntu:
  Triaged

Bug description:
  If Unattended-Upgrade::Allowed-Origins in 50unattended-upgrades
  contains an invalid entry, such as "invalid", unattended-upgrades
  crashes without writing to /var/log/unattended-upgrades/unattended-
  upgrades.log.

  # unattended-upgrades --debug
  Traceback (most recent call last):
    File "/usr/bin/unattended-upgrades", line 1536, in <module>
      main(options)
    File "/usr/bin/unattended-upgrades", line 1202, in main
      allowed_origins = get_allowed_origins()
    File "/usr/bin/unattended-upgrades", line 343, in get_allowed_origins
      allowed_origins = get_allowed_origins_legacy()
    File "/usr/bin/unattended-upgrades", line 328, in get_allowed_origins_legacy
      (distro_id, distro_codename) = s.split()
  ValueError: not enough values to unpack (expected 2, got 1)

  0.92ubuntu1.2 on 16.10

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to