Hi, I maintain a few machines and a server in my office and I periodically update them manually ( -Syu ). Is there a way to push package updates to them ? Any project out there which does this ? Thanks. Sujith -- http://sujith-m.blogspot.com
Not exactly a push, but I have my servers "remind" me daily when there are updates available. I have a script called 00pacman-update in my /etc/cron.daily ----< start clip >---- #!/bin/sh /usr/bin/pacman -Sy --noprogressbar /usr/bin/pacman -Qu ----< end clip >---- That way I get a daily reminder via email of what updates are available. Looking at the pacman options again though I think I'm going to change the first pacman options, from: "-Sy --noprogressbar" to "-Syuw --noconfirm --noprogressbar" # sync and download, but don't do the actual update I know that is not a push, but it does save you some time and you get reminded where there are waiting packages. You could script a push via ssh. On Tue, Nov 4, 2008 at 7:54 PM, Sujith <m.sujith@gmail.com> wrote:
Hi,
I maintain a few machines and a server in my office and I periodically update them manually ( -Syu ).
Is there a way to push package updates to them ? Any project out there which does this ?
Thanks.
Sujith -- http://sujith-m.blogspot.com
You can also easily run your own repo on your lan, cache the updates there and change the pacman.conf on your slave machines to pull from that master. Also, you can mount your pacman cache over NFS or sshfs (read the wiki) and then also only have to download once.
On Wed, Nov 5, 2008 at 2:54 AM, Sujith <m.sujith@gmail.com> wrote:
I maintain a few machines and a server in my office and I periodically update them manually ( -Syu ).
Is there a way to push package updates to them ? Any project out there which does this ?
The tech side of the question has already been covered. I'd just want to point out that, with arch, automatic updates are *bad*. You should always check in real time the package manager messages: pac{save,new} files can be a real problem, especially if you're running a server. Update notification is fine for me. You could take a look at alunn/alunnd... I don't think it's network-enabled, but it's a good starting point to hack up a solution. Corrado
bardo wrote:
On Wed, Nov 5, 2008 at 2:54 AM, Sujith <m.sujith@gmail.com> wrote:
I maintain a few machines and a server in my office and I periodically update them manually ( -Syu ).
Is there a way to push package updates to them ? Any project out there which does this ?
The tech side of the question has already been covered. I'd just want to point out that, with arch, automatic updates are *bad*. You should always check in real time the package manager messages: pac{save,new} files can be a real problem, especially if you're running a server. Update notification is fine for me. You could take a look at alunn/alunnd... I don't think it's network-enabled, but it's a good starting point to hack up a solution.
Well, I update the server manually, usually on new kernel releases. But the other machines are just basic clients and automatic package updating would be useful. Thanks anyway, I will probably write some simple scripts which do the job. Sujith -- http://sujith-m.blogspot.com
participants (4)
-
bardo
-
Daenyth Blank
-
Dwight Schauer
-
Sujith