Your message dated Mon, 12 Jan 2009 09:32:38 +0100
with message-id <20090112083238.gs23...@tas>
and subject line Applied
has caused the Debian Bug report #475610,
regarding unattended-upgrades: Package installability check is very slow
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
475610: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475610
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 0.25.1debian1
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If there are many upgradable packages, unattended-upgrades takes a
long time to consider them.  This is because it regenerates the
installation plan after considering each package.  This should only be
necessary if the "sanity check" fails and the package is rejected.

Ben.

- --- unattended-upgrade~       2007-04-24 22:32:11.000000000 +0100
+++ unattended-upgrade  2008-04-12 00:26:32.000000000 +0100
@@ -142,13 +142,13 @@
                 if check_changes_for_sanity(cache, allowed_origins,
                                             blacklisted_pkgs):
                     pkgs_to_upgrade.append(pkg)
+                else:
+                    cache.clear()
+                    for pkg2 in pkgs_to_upgrade:
+                        pkg2.markUpgrade()
             except SystemError:
                 # can't upgrade
                 pass
- -            else:
- -                cache.clear()
- -                for pkg2 in pkgs_to_upgrade:
- -                    pkg2.markUpgrade()
 
     pkgs = "\n".join([pkg.name for pkg in pkgs_to_upgrade])
     logging.debug("pkgs that look like they should be upgraded: %s" % pkgs)
- --- END ---

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages unattended-upgrades depends on:
ii  apt-utils                     0.7.11     APT utility programs
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-apt                    0.7.5      Python interface to libapt-pkg

unattended-upgrades recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH//S979ZNCRIGYgcRAkVXAKDM1xQCtg3p4K9KbY3/Agl8/t7EMACbBwrp
QKLZFZafh2JgSEp1SVKbDp8=
=9PrN
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Thanks for your bugreport and your patch.

This is part of the latest version in sid now.


--- End Message ---

Reply via email to