Ok, that's a strange behavior. As long as there are no pending updates,
it's fine.

When there is an update available it errors:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrades", line 1473, in <module>
    main(options)
  File "/usr/bin/unattended-upgrades", line 1198, in main
    allowed_origins=allowed_origins)
  File "/usr/bin/unattended-upgrades", line 105, in __init__
    self.adjust_candidate_versions()
  File "/usr/bin/unattended-upgrades", line 126, in adjust_candidate_versions
    if is_allowed_origin(pkg.candidate, self.allowed_origins):
  File "/usr/bin/unattended-upgrades", line 512, in is_allowed_origin
    if match_whitelist_string(allowed, origin):
  File "/usr/bin/unattended-upgrades", line 363, in match_whitelist_string
    for s in token.split("=")]
ValueError: not enough values to unpack (expected 2, got 1)

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to