Automatic updates on 5.10

Alexander Kuznetsov shlaptop at mail.ru
Thu May 11 05:05:17 UTC 2006


Hello! 

The situation:

I have on machine running 5.10 and it is connected to Internet (serves
as gateway from our local network). Also I have few machines running
5.10 too. 

I was wondering is it possible to make something like automatic updates
on windows. I've almost done that thing but I need good advice or great
idea how to automatize the whole process.

What I have at the moment:

On gateway machine (let it be update-server) I've made local repository
like described in Wiki (on server repository is located
in /usr/local/repo). Cron runs shell script which is gathering binary
packages from /var/cache/apt/archives and placing all the stuff in my
repository.

On all other machines execute the following command:

sudo sshfs user at update-server:/usr/local/repo /usr/local/repo -o
allow_other

And added the first line in /etc/apt/sources.list the line:

deb file:///usr/local/repo binary/

Execute "sudo apt-get update" and and my ubuntu immediately let me know
about new updates from update-server.

I need help about how to do this system work automatic without executing
sshfs manually. First I was playing with web-based repository but had no
luck.

Is there some way to create such kind of script or something:

1. Update-server receives updates
2. Cron launches on update-server script to compose repository
3. Cron on all other machines launches something what is able to check
if there are updates and if yes - notify the user.

Any ideas?

-- 


gpg-key: 0x4739E413
-----------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060511/dac23c62/attachment.sig>


More information about the ubuntu-users mailing list