Auto update not Auto updating

Asked by stuart221

Auto update does not seam to work. I am using Jaunty. I can leave it for over two to three weeks and not get an Auto update but when I Click on update manager I get all the update the OS needs. I am using all the recommend settings.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I can recommend creating a script:

#!/bin/bash
sudo apt-get update
sudo apt-get -y --force-yes dist-upgrade
sudo apt-get clean

Then cron it (as root) to run every day at say 4am (assuming you leave your computer on 24/7). This is how I do mine. Its not especially graceful or neat but it works. If you get no other replies I suggest you use this but I am sure there is a cleaner way to do it. I simply dont use gui stuff enough to be familiar with ubuntu's autoupdate regime.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2
Revision history for this message
Nandan Vaidya (gotunandan) said :
#3

Maybe you can try this as mentioned in the Release Notes:
http://www.ubuntu.com/getubuntu/releasenotes/904

#############################
Change in notifications of available updates

Ubuntu 9.04 introduces a change to the handling of package updates, launching update-manager directly instead of displaying a notification icon in the GNOME panel. Users will still be notified of security updates on a daily basis, but for updates that are not security-related, users will only be prompted once a week.

Users who wish to continue receiving update notifications in the previous manner can restore the earlier behavior using the following command:

gconftool -s --type bool /apps/update-notifier/auto_launch false

######################################

Revision history for this message
stuart221 (stuart221) said :
#4

I have try the above about 2 weeks ago and still having the update problem.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

The cron job will work 100%. I'd hold out. See if anyone else can input.

Can you help with this problem?

Provide an answer of your own, or ask stuart221 for more information if necessary.

To post a message you must log in.