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

Activate unattended-upgrades by default?



In Lenny, there is a package unattended-upgrades that will make sure
apt upgrade packages automatically every night.  Should we enable it
by default for Squeeze?

This is done by running these commands on an existing installation

  aptitude install unattended-upgrades
  cat <<EOF > /etc/apt/apt.conf.d/50unattended-upgrades-activate
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
EOF

It will only upgrade packages from the Debian stable APT source by
default, and avoid packages that might ask questions during the
upgrade.

We could provide a file in /etc/apt/apt.conf.d/ as part of the
debian-edu-config package to enable it, and pull in the package using
the common task.

We could at least add it to the documentation for Lenny and Squeeze,
to let admins know how to set it up on their own.

Happy hacking,
--
Petter Reinholdtsen


Reply to: