On Thu, Jan 13, 2011 at 04:26:35AM +0000, Brendan Byrd wrote: > Package: unattended-upgrades > Version: 0.62.2 > Severity: important
Thanks for your bugreport. > The default values included in Unattended-Upgrade::Allowed-Origins do not > work, > especially for security upgrades, and is broken in several places: > > Unattended-Upgrade::Allowed-Origins { > "${distro_id} stable"; > "${distro_id} $(distro_codename)-security"; > > 1. The $(distro_codename) returns "n/a", which breaks any other origins > that use it. It uses lsb_relase -c (well, the python equivalent) - that gives me "squeeze" on my box. > 2. There is no such thing as stable-security or testing-security. The archive > name does not exist. Indeed, this was added with the intend to provide a config that works out of the box on both debian and ubuntu. I changed that now (in trunk) so that each distro gets its own config. > 3. There does not appear to be a way to auto-update only Debian security > updates without auto-updating everything. The only Origin that works for > security.debian.org would be "Debian testing-updates" (if using testing). The > apt.list could only include the security site, but that would break aptitude, > preventing you from using it to upgrade the other stuff manually. Indeed, that is a problem. I could add a (optional) matcher for "Label: Debian-Security". Cheers, Michael > -- System Information: > Debian Release: 6.0 > APT prefers testing > APT policy: (500, 'testing') > Architecture: i386 (i686) > > Kernel: Linux 2.6.18-128.7.1.el5xen (SMP w/1 CPU core) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/dash > > Versions of packages unattended-upgrades depends on: > ii apt 0.8.10 Advanced front-end for dpkg > ii apt-utils 0.8.10 APT utility programs > ii debconf [debconf-2.0] 1.5.36 Debian configuration management > sy > ii lsb-release 3.2-23.1 Linux Standard Base version > report > ii python 2.6.6-3+squeeze4 interactive high-level > object-orie > ii python-apt 0.7.100.1 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 > > -- Configuration Files: > /etc/apt/apt.conf.d/50unattended-upgrades changed [not included] > > -- debconf information: > unattended-upgrades/enable_auto_updates: false > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org