Thanks for your bugreport.
Could you please try the following patch:
diff -Nru /tmp/0TUREhBy6R/unattended-upgrades-0.22ubuntu0/unattended-upgrade /tm
p/DO3mJdrQ21/unattended-upgrades-0.22ubuntu1/unattended-upgrade
--- /tmp/0TUREhBy6R/unattended-upgrades-0.22ubuntu0/unattended-upgrade 2006-12-
08 21:28:13.000000000 +0100
+++ /tmp/DO3mJdrQ21/unattended-upgrades-0.22ubuntu1/unattended-upgrade 2007-01-
23 11:46:26.000000000 +0100
@@ -27,6 +27,8 @@
def is_allowed_origin(pkg, allowed_origins):
+ if not pkg.candidateOrigin:
+ return False
for origin in pkg.candidateOrigin:
for allowed in allowed_origins:
if origin.origin == allowed[0] and origin.archive == allowed[1]:
and let me know if it works for you? This is what I used in feisty to
fix this problem.
Thanks,
Michael
** Changed in: unattended-upgrades (Ubuntu)
Assignee: (unassigned) => Michael Vogt
Status: Unconfirmed => Fix Committed
--
TypeError: iteration over non-sequence
https://launchpad.net/bugs/81055
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs