Package: unattended-upgrades
Version: 0.42debian1
Severity: minor

This script seems not to honor origins with spaces
(e.g. Unofficial Multimedia Packages). I tried to fix it but I'm not sure if
this will break other configs.

This lines have been added to the script:
def split_allowed_origins(origin):
    i = string.split(origin)
    if len(i) > 2:
        return [string.join(i[:-1]), i[-1]]
    else:
        return i

And this line
allowed_origins = map(string.split, 
apt_pkg.Config.ValueList("Unattended-Upgrade::Allowed-Origins"))
was replaced by
allowed_origins = map(split_allowed_origins, 
apt_pkg.Config.ValueList("Unattended-Upgrade::Allowed-Origins"))

regards
  Joerg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages unattended-upgrades depends on:
ii  apt                           0.7.21     Advanced front-end for dpkg
ii  apt-utils                     0.7.21     APT utility programs
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-apt                    0.7.10.4   Python interface to libapt-pkg
ii  ucf                           3.0018     Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20081101cvs-2 A simple mail user agent
ii  mailx              1:20081101-2          Transitional package for mailx ren

-- 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

Reply via email to