Update-notifier problem

zer0halo zerohalo at gmail.com
Fri Jun 10 21:25:27 UTC 2005


> Make sure you have anacron installed (it is installed on a default hoary
> install with (k)ubuntu-desktop installed)

I have anacron but I'm not sure that it's running. To be honest, I'm a
little confused as to the relationship between cron and anacron ($ps
ax reveals that cron is running). Here's my /etc/crontab in case you
might be able to help me make sense of this:

<code>
# m h dom mon dow user	command
17 *	* * *	root    run-parts --report /etc/cron.hourly
00 8	* * *	root	test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily
15 8	* * 7	root	test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly
45 8	1 * *	root	test -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly
30 13	* * 1-7	francis	/home/francis/scripts/dar_backup_diff.sh
00 00	* * 1	francis	/home/francis/scripts/dar_backup_full.sh
#
</code>

$ls -l /etc/cron.daily reveals:

<blockquote>
-rwxr-xr-x  1 root root  311 2004-08-13 11:58 0anacron
-rwxr-xr-x  1 root root 4856 2005-04-06 14:38 apt
-rwxr-xr-x  1 root root  502 2004-08-31 11:10 bsdmainutils
-rwxr-xr-x  1 root root  419 2004-08-12 18:01 find.notslocate
-rwxr-xr-x  1 root root  419 2005-02-01 10:10 find.notslocate.dpkg-new
-rwxr-xr-x  1 root root   89 2004-08-12 18:14 logrotate
-rwxr-xr-x  1 root root  946 2004-08-12 18:21 man-db
-rwxr-xr-x  1 root root   86 2004-09-07 17:40 modutils
-rwxr-xr-x  1 root root  495 2004-09-03 14:38 netkit-inetd
-rwxr-xr-x  1 root root 1118 2005-03-14 05:39 ntp-server
-rwxrwxr-x  1 root root  121 2005-01-01 14:12 pluckfetch
-rwxr-xr-x  1 root root  383 2004-10-15 06:43 samba
-rwxr-xr-x  1 root root  189 2004-09-23 14:17 slocate
-rwxr-xr-x  1 root root 2571 2004-09-03 14:37 standard
-rwxr-xr-x  1 root root 1307 2004-09-17 12:33 sysklogd
</blockquote>

I don't see anything there that's calling update-notify.

By the way, when I boot up, $ps ax reveals that update-notify is running.

I also discovered that my slocate db isn't being updated daily like it
should, so I obviously have a problem with my cron but I'm not sure
how/what.

Any help would be appreciated. Thanks.



-- 
"Impossible is nothing."




More information about the ubuntu-users mailing list