On Tue, Aug 14, 2012 at 11:27:18AM +0200, Tomas Pospisek wrote:
> Package: unattended-upgrades
> Version: 0.79.3
> Severity: minor
> Tags: patch
> 
> When adapting /etc/apt/apt.conf.d/50unattended-upgrades just after
> installation to my needs, I just uncomment a few of the given example
> configuration lines.
> 
> Unfortunately that doesn't work for the following line:
> 
>   //Unattended-Upgrade::Mail "root"
> 
> because it is missing a semicolon at the end of the line, which will
> make apt* based commands complain about a syntax errot in the respective
> config line.
> 
> Please add the missing semicolon. Patch attached.

Thanks, added and it will be part of the next upload.

Cheers,
 Michael
 
> Thanks,
> *t
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers lucid-updates
>   APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.0.0-22-generic (SMP w/1 CPU core)
> Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages unattended-upgrades depends on:
> ii  apt                   0.7.25.3ubuntu9.13 Advanced front-end for dpkg
> ii  apt-utils             0.7.25.3ubuntu9.13 APT utility programs
> ii  debconf [debconf-2.0] 1.5.28ubuntu4      Debian configuration management 
> sy
> ii  python                2.6.5-0ubuntu1     An interactive high-level 
> object-o
> ii  python-apt            0.7.94.2ubuntu6.4  Python interface to libapt-pkg
> ii  ucf                   3.0025             Update Configuration File: 
> preserv
> 
> unattended-upgrades recommends no packages.
> 
> Versions of packages unattended-upgrades suggests:
> ii  bsd-mailx   8.1.2-0.20090911cvs-2ubuntu1 simple mail user agent
> 
> -- debconf information excluded

> --- 50unattended-upgrades.old 2012-08-14 11:21:07.000000000 +0200
> +++ 50unattended-upgrades     2012-08-14 11:21:19.000000000 +0200
> @@ -47,7 +47,7 @@
>  // If empty or unset then no email is sent, make sure that you
>  // have a working mail setup on your system. A package that provides
>  // 'mailx' must be installed. E.g. "[email protected]"
> -//Unattended-Upgrade::Mail "root"
> +//Unattended-Upgrade::Mail "root";
>  
>  // Set this value to "true" to get emails only on errors. Default
>  // is to always send a mail if Unattended-Upgrade::Mail is set


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to