On Sat, 2008-12-06 at 11:34 -0800, Michael Vogt wrote: > On Sat, Dec 06, 2008 at 11:43:08AM +0000, Sam Morris wrote: > > Package: unattended-upgrades > > Version: 0.2 > > Severity: important > > > > For some reason, unattended-upgrade simply would not upgrade awstats. It > > did not say why in its log files. Finally I looked at the code and saw > > it had a --debug option. This made it log the following: > [..] > > This is fixed in the current version in sid. It will now show in the > logs that the package is held back because of a conffile prompt.
Great, thanks! :)
> > Ah, so there is a conffile prompt, fair enough. It would be nice to log
> > that without having to enable debug mode though. Anyway, then I upgraded
> > the awstats package expecting a conffile prompt, but...
> >
> > $ sudo apt-get upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > The following packages will be upgraded:
> > awstats
> > 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 0B/837kB of archives.
> > After this operation, 131kB disk space will be freed.
> > Do you want to continue [Y/n]?
> > Reading changelogs...
> > apt-listchanges: Mailing root: apt-listchanges: changelogs for crypt
> > (Reading database ... 60662 files and directories currently installed.)
> > Preparing to replace awstats 6.5+dfsg-1 (using
> > .../awstats_6.5+dfsg-1+etch1_all.deb) ...
> > Unpacking replacement awstats ...
> > Setting up awstats (6.5+dfsg-1+etch1) ...
> > $
> >
> > No conffile prompts to be seen! :)
>
> Hm, that is interessting. Could you please run:
> $ md5sum /etc/cron.d/awstats
>
> and attach the package record from /var/lib/dpkg/status that contians
> the awstats record?
It does indeed differ:
$ md5sum /etc/cron.d/awstats
d51d41b8173fe8ac4aaf798bd7554344 /etc/cron.d/awstats
$ dpkg --status awstats | grep cron
/etc/cron.d/awstats 7b9a4d5a815fb1a569935d02b06c8209
I guess unattended-upgrades is doing the right thing here, and it's dpkg
that is at fault by not prompting me for the conffile change. Weird...
>
> Thanks,
> Michael
--
Sam Morris
http://robots.org.uk/
PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B C869 B219 7FDB 5EA0 1078
signature.asc
Description: This is a digitally signed message part

