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----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]