When executed with '--dry-run' no action is executed thus no log file should
root@r2:~# unattended-upgrade --debug --dry-run
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Debian,a=unstable']
Checking: gnome-utils (["<Origin component:'main' archive:'unstable' origin:'Debian' label:'Debian' site:'ftp.ro.debian.org' isTrusted:True>", "<Origin component:'main' archive:'unstable' origin:'Debian' label:'Debian' site:'ftp.de.debian.org' isTrusted:True>"])
pkg 'capplets-data' now marked delete
sanity check failed
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
Packages that are auto removed: ''
InstCount=0 DelCount=0 BrokenCout=0
Option --dry-run given, *not* performing real actions
Packages that are upgraded:
Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2011-09-04_14:11:31.601024.log'
Even if just '--dry-run' is executed without '--debug' a log file should not
be created. I expect to have in the logs only executions that lead to packages
upgrades and the system has changed. When executed with '--dry-run' the results
should be displayed on console (stdout,stderr file descriptors).
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages unattended-upgrades depends on:
ii apt 0.8.15.6
ii apt-utils 0.8.15.6
ii debconf [debconf-2.0] 1.5.41
ii lsb-release 3.2-28
ii python 2.6.7-3
ii python-apt 0.8.0
ii ucf 3.0025+nmu2
unattended-upgrades recommends no packages.
Versions of packages unattended-upgrades suggests:
pn bsd-mailx <none>