On Monday 24 Feb 2003 11:25 pm, Johnno wrote:
> Is there a update program around that will run from shell??
> I tried to use MandrakeUpdate on one of the system..  but is need a graphic
> interface to work...
> Most of the work I do on the servers is remote and via SSH...
> Many Thanks,
>                         Johnno

As root the CLI command to update Mandrake linux is:
         urpmi --update --auto-select 
this command will ask a couple of questions. If you want it to run with out 
asking any questions at all use this command.
        urpmi --update --auto-select --auto
This will install all the current updates for your system. I'd suggest setting 
it as a root cron task. You'll have to add a security source to urpmi if you 
haven't already this command will do that again as root from the command 
line.
 urpmi.addmedia --update updates 
ftp://public.ftp.planetmirror.com/pub/mandrake/updates/9.0/RPMS/ with 
../base/hdlist.cz

that should all be on one line.
ur*****media --u***** up**s ftp://******** with ../****/hdlist.cz

hope that helps. By the way I'm assuming that your runing Mandrake 9.0 if not 
you'll need to use http://plf.zarb.org/~nanardon/index.php to get the correct 
command to add the updates source for what ever version your runing.

Chad

Reply via email to