Bug#632173: unattended-upgrades: Package blacklist is not respected.

June 30th, 2011 - 04:50 am ET by Imran Chaudhry | Report spam
Package: unattended-upgrades
Version: 0.62.2
Severity: important


I have blacklisted linux-image-2.6.32-5-amd64 but it is always attempted to be upgraded when ever unattended-upgrades is run. This upgrade alwats fails because I am running a Squeeze guest on a Lenny Xen host, which means I get annoying cron oputput from both this and apticron.


Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages unattended-upgrades depends on:
ii apt 0.8.10.3+squeeze1 Advanced front-end for dpkg
ii apt-utils 0.8.10.3+squeeze1 APT utility programs
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii lsb-release 3.2-23.2squeeze1 Linux Standard Base version report
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-apt 0.7.100.1+squeeze1 Python interface to libapt-pkg
ii ucf 3.0025+nmu1 Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
ii bsd-mailx 8.1.2-0.20100314cvs-1 simple mail user agent

/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id} stable";
"${distro_id} ${distro_codename}-security";
// "${distro_id} ${distro_codename}-updates";
// "${distro_id} ${distro_codename}-proposed-updates";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
// ic - added because the xen host is lenny not squeeze
// remove this line when it is upgraded to squeeze.
"linux-image-2.6.32-5-amd64";
};
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. The package 'mailx'
// must be installed or anything that provides /usr/bin/mail.
Unattended-Upgrade::Mail "sysadmin@smoothwall.net";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";


* unattended-upgrades/enable_auto_updates: true



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Similar topics

Replies

#1 Michael Vogt
July 01st, 2011 - 09:40 am ET | Report spam
On Thu, Jun 30, 2011 at 09:29:12AM +0100, Imran Chaudhry wrote:
Package: unattended-upgrades
Version: 0.62.2
Severity: important



Thanks for your bugreport.

I have blacklisted linux-image-2.6.32-5-amd64 but it is always attempted to be upgraded when ever unattended-upgrades is run. This upgrade alwats fails because I am running a Squeeze guest on a Lenny Xen host, which means I get annoying cron oputput from both this and apticron.




Could you please run "unattended-upgrades --debug --dry-run" and
attach the output to this report?

Thanks,
Michael

Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages unattended-upgrades depends on:
ii apt 0.8.10.3+squeeze1 Advanced front-end for dpkg
ii apt-utils 0.8.10.3+squeeze1 APT utility programs
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii lsb-release 3.2-23.2squeeze1 Linux Standard Base version report
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-apt 0.7.100.1+squeeze1 Python interface to libapt-pkg
ii ucf 3.0025+nmu1 Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
ii bsd-mailx 8.1.2-0.20100314cvs-1 simple mail user agent

/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
"${distro_id} stable";
"${distro_id} ${distro_codename}-security";
// "${distro_id} ${distro_codename}-updates";
// "${distro_id} ${distro_codename}-proposed-updates";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
// ic - added because the xen host is lenny not squeeze
// remove this line when it is upgraded to squeeze.
"linux-image-2.6.32-5-amd64";
};
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. The package 'mailx'
// must be installed or anything that provides /usr/bin/mail.
Unattended-Upgrade::Mail "";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";


* unattended-upgrades/enable_auto_updates: true







To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
email Follow the discussion Replies Reply to this message
Help Create a new topicReplies Make a reply
Search Make your own search