You are not logged in.

#1 2007-07-31 20:20:06

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Automatic update on startup

Is it possible make automatic update on Archlinux (like ubuntu, SuSe...).


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#2 2007-07-31 20:44:50

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Automatic update on startup

Is it possible make automatic update on Archlinux (like ubuntu, SuSe...).

You can do it by yourself with anacron and using pacman with "--noconfirm" ... instead of thinking that it is not a good idea to do it automatic. At work my sysadmin have done automatic updates with suse until the moment as a "bad" update ruins all the time what he have saved.

I prefer to use a line in anacron for syncing and sending an email so i can see if there is a update:

1 10 pacman.daily (/usr/bin/pacman -Sy > /dev/null && /usr/bin/pacman -Sup 2>&1 | /usr/bin/mail -s "Arch Updates" MY_USER) > /dev/null

Perhaps not all '>' be necessary but it works.:)

Offline

Board footer

Powered by FluxBB