On Tue, 2007-01-23 at 10:49 +0000, Michael Vogt wrote: > Thanks for your bugreport.
NP. > 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? Well, it allowed unattended-update to do it's work without error. The log reported: 2007-01-23 09:26:42,838 INFO Initial blacklisted packages: 2007-01-23 09:26:42,839 INFO Starting unattended upgrades script 2007-01-23 09:26:42,839 INFO Allowed origins are: ["['Ubuntu', 'edgy-security']"] 2007-01-23 09:26:46,903 INFO No packages found that can be upgraded unattended Yet: # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: amanda-client amanda-common The following packages will be upgraded: libc6 libc6-dev libc6-i686 3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 7105kB of archives. After unpacking, 0B of additional disk space will be used. Do you want to continue [Y/n]? Maybe I am missing the point of unattended-upgrade? b. -- My other computer is your Microsoft Windows server. Brian J. Murrell -- TypeError: iteration over non-sequence https://launchpad.net/bugs/81055 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
