PDA

View Full Version : [ubuntu] no auto update in lts server default config



doru001
March 3rd, 2010, 12:22 PM
There is no auto update in lts server text mode, default configuration since I installed it 6 months ago! Please pay attention to this important issue, and answer here:

http://ubuntuforums.org/showthread.php?t=1415700

doru001
August 7th, 2010, 02:26 PM
I have installed unattended-upgrades and anacron, but still my Ubuntu 8.04 lts server is not automatically upgraded.

What else should I do?

dino99
August 7th, 2010, 05:38 PM
see the synaptic settings

doru001
August 8th, 2010, 07:06 AM
see the synaptic settings
I don't have synaptic installed, I don't have GUI installed, I use apt-get & comp. What settings should I change and what apt-* conf file should I use to set them?

dino99
August 8th, 2010, 08:58 AM
you might find the good settings there:

http://linux.die.net/man/5/apt.conf

doru001
August 9th, 2010, 09:55 AM
you might find the good settings there:

http://linux.die.net/man/5/apt.conf

The apt suite of tools does not provide auto update, this is a cron job. Why doesn't unattended-upgrades do its job? What is /etc/cron.daily/apt doing in this world?

doru001
August 31st, 2010, 07:35 AM
you might find the good settings there:

http://linux.die.net/man/5/apt.conf

APT::Periodic:: options are not described in the apt.conf manual, they are offered by unattended-upgrades:

The solution to automatic upgrades in Ubuntu 8.04 lts server:
I installed the unattended-upgrades and anacron packages (anacron because my server is not always up).
Following /usr/share/doc/unattended-upgrades/README, I put in /etc/apt/apt.conf:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";I created apt.conf with permissions: -rw-r--r-- 1 root root

According to the default settings in:

/etc/apt/apt.conf.d/50unattended-upgradeswhich is also mentioned in:

/usr/share/doc/unattended-upgrades/READMEonly the security updates are performed automatically. For the others, you should uncomment the ...-updates line.
unattended-upgrades keeps a log in:

/var/log/unattended-upgrades/See also:
https://help.ubuntu.com/community/AutomaticSecurityUpdates

https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo