Description of problem:
The script /etc/cron.daily/apt.cron from the Fedora apt package (fc8) starts off
[ ! -f /var/lock/subsys/apt ] && exit 0
Meaning if the lock file does NOT exist, exit (success) without doing anything.
The lock file does not exist, so the cron job never does anything.
Isn't this backwards--i.e. shouldn't it exit if the file DOES exist (meaning apt
is already running)?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
no daily upgrades
This is very much intentional and not a bug: the lockfile existence is
controlled by apt "service", automatic upgrades should not be done unless
# chkconfig apt on
# service apt start
..and you'll get your daily upgrades.