[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A web interface for apt-get upgrade



On Fri, 2003-11-21 at 01:04, rajkumars@asianetindia.com wrote:
> Hello,
> 
> I have a few machines running woody, each running slightly different
> package sets. Now to upgrade them I have to ssh into each of them and
> do the update/upgrade cycle. I do not want to put this in cron. Now is
> their an application which can show in a neat web interface a list of
> all machines and if the machine is updated or the list of packages to
> be updated.
> 
> If such a package is not existing any tips on writing it? Does apt can
> send the list of files to be updated in an xml (?) format to another
> server? 

how about putting:
apt-get update -qq && \
apt-get upgrade -s | grep ^Inst | mail -e -s "hostname" your@email.com

in cron? It's not web-based, but seems pretty easy to me. You could, of
course run apache and instead of piping to mail output to
/var/www/updates.txt, mail seems simpler to me though.
-- 
Mark Roach



Reply to: