On Mon, May 05, 2008 at 02:42:49AM +0900, Osamu Aoki wrote: > Hi, Hi, > unattended-upgrades: > + apt package already comes with cron script using this. > - uses perl and looks slow and heavy > - use /etc/apt/apt-conf.d/*. > - does not use apt-config
unattended-upgrades uses python. I'm not sure if it is slow and heavy, it does more checking so it takes longer. It will check before installing if the package installed will issue a conffile prompt. If this is the case the upgrade will be held back and a note is written to the log about it. It does indeed use apt-config, it just does not call the binary but uses the python-apt interface to the apt configuration system. > cron-apt: > + shell script > - does not use normal /etc/apt/apt-conf.d/*. > - does not use apt-config > - code is long for simple thing > > I am wondering if we can just replace unattended-upgrades functionality > using shell script. (Maybe simpler variant. If it sees some blacklisted > package touched, it does nothing.) Using -s and grep, it may be OK. to > do so ... Feel free to redo unattended-upgrades in shell. It shouldn't be hard, it will will just be work for little gain (IMHO). What is the reason for the dislike of python? Cheers, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]