Do you have an X display running? If so, you might wanna point your 'DISPLAY' 
environment variable at it (MandrakeUpdate wants to display a GUI)...
For urpmi... well, I'm not surprised you don't have it, Mandrake 6.1 is kinda, 
um, old... consider upgrading? :)

Cheers,
Gareth


On Tuesday 25 February 2003 23:14, Johnno wrote:
> this is what I get from mandrake 6.1
>
> [EMAIL PROTECTED] /root]# MandrakeUpdate
>
> Gtk-WARNING **: cannot open display:
> [EMAIL PROTECTED] /root]# urpmi
> bash: urpmi: command not found
>
> Johnno
>
>
>
> ----- Original Message -----
> From: "Chad" <[EMAIL PROTECTED]>
> To: "Johnno" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 25, 2003 9:03 AM
> Subject: Re: Distro Updates
>
>
> urpmi has to be run as root (normal users can not see or access it). You'll
> have to log in as root or uses su. Once your loged in as root it should be
> avliable to you. You are runing Mandrake linux aren't you? It should have
> been installed as part of the default system if you have Mandrakeupdate
> installed you will have urpmi installed.
>
> that help?
>
> On Tuesday 25 Feb 2003 12:44 am, you wrote:
> > Many thanks..
> >
> > where about can i get urpmi ??
> >
> > the system do not have it installed :)
> >
> > Johnno
> >
> > ----- Original Message -----
> > From: "Chad" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; "Johnno" <[EMAIL PROTECTED]>
> > Sent: Tuesday, February 25, 2003 12:23 AM
> > Subject: Re: Distro Updates
> >
> > 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