[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863859: apt: runs unattended-upgrades in debug mode



On Thu, Jun 01, 2017 at 09:02:55AM +0200, Raphaël Halimi wrote:
> Le 01/06/2017 à 08:39, Julian Andres Klode a écrit :
> > lol, it was supposed to by --dry-run, so unattended-upgrade downloads
> > packages but does not install them. But apparently that's wrong too,
> > and does not do what it says in help.
> 
> You probably mistook with apt-get's -d which stands for download-only :)

Yes.

> 
> >> It would be nice to revert this change before Stretch is released.
> > 
> > It would have helped to have this report earlier - we are getting
> > awfully close to the release.
> 
> I know, sorry, my Sid box doesn't have unattended-upgrades enabled, so I
> was hit by the bug only on May 29th (according to apt logs, the first
> run with -d) :/
> 
> Could a minor update with only this change cherry-picked still be
> possible ? It really would be a pain to have this additional daily
> e-mail on all machines where unattended-upgrades is enabled...

I now pushed a second commit that basically just checks if u-u
supports a --download-only option and uses that if available. u-u
does not support that option yet, but this way we can add it later
on (the previous dry-run commit was wrong too, it did some dpkg
debug logging...).

Anyhow, I think that's a reasonable thing to fix for the release.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.


Reply to: