On Sun, Sep 04, 2011 at 02:20:09PM +0300, Teodor wrote: > Package: unattended-upgrades > Version: 0.72.3 > Severity: wishlist
Thanks for your bugreport. > Dear Maintainer, > > When executed with '--dry-run' no action is executed thus no log file should > be created. > > 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) > > blacklist: [] > 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). I think this is a valid request. I wonder however if there might be users how rely on the exiting behavior (also I admit that I doubt it). The log contains the action that dpkg would perform. But I really can't think of a use-case for this so I changed it in trunk now. Cheers, Michael > Thanks > > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental') > Architecture: amd64 (x86_64) > > 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> > > -- Configuration Files: > /etc/apt/apt.conf.d/50unattended-upgrades changed [not included] > > -- debconf information: > * unattended-upgrades/enable_auto_updates: true > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org