unattended-upgrades not working on 9.10?

Josef Wolf jw at raven.inka.de
Fri Apr 2 14:15:05 UTC 2010


On Fri, Apr 02, 2010 at 02:30:16PM +0100, Steve wrote:
> On Fri, 02 Apr 2010 14:15:30 +0100, Josef Wolf <jw at raven.inka.de> wrote:
> 
> > Hello,
> >
> > I have installed the unattended-upgrades packages and configured apt to  
> > do
> > automatic upgrades:
> >
> >    jw at raven:~ $ cat /etc/apt/apt.conf
> >    APT::Periodic::Enable 1;
> >    APT::Periodic::Update-Package-Lists 1;
> >    APT::Periodic::Download-Upgradeable-Packages 1;
> >    APT::Periodic::AutocleanInterval 1;
> >    APT::Periodic::Unattended-Upgrade 1;
> >    APT::Periodic::MaxAge 365;
> >    APT::Periodic::MaxSize 256;
> >    APT::Periodic::MinAge 60;
> >    DPkg::Pre-Invoke {"/bin/mount -o remount,exec /tmp; /bin/mount  
> > /boot";};
> >    DPkg::Post-Invoke {"/bin/mount -o remount /tmp; /bin/umount /boot";};
> >
> <snip>
> >
> > Any ideas?
> >
> Wouldn’t these two lines be better this way round.
> APT::Periodic::Unattended-Upgrade 1;
> APT::Periodic::AutocleanInterval 1;

AFAIK, the order of the lines should not matter for different stanzas. If
the same stanza appears multiple times, then the order does not seem to be
specified. At least I can't find in the documentation what order is used.




More information about the ubuntu-users mailing list