perhaps you are running it as root in a user's X display. try (as user) xhost + and then (as root) MandrakeUpdate
On Tue, 25 Feb 2003 23:14:35+1300 Johnno<[EMAIL PROTECTED]> 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 > > -- > I've spent almost all of my life with highly intelligent men. They're > not like other men. Their spirit is great and stimulating. They hate > strife; indeed they reject it. Their inventive gifts are boundless. > They demand devotion and obedience. And a sense of humor. I happily > gave all of this. I was lucky to be chosen and clever enough to > understand them.-- Marlene Dietrich, on her friendship with Ernest > Hemingway > > > -- Nick Rout [EMAIL PROTECTED]
