SOrry, you need to update by:

urpmi.update sourcename

where sourcename is the name of the updates source.

On Wed, 5 Sep 2001, bascule wrote:

> hi,
> if i read you correctly then i think urpmi will do what you want from a
> command line and thus is suitable for a cron job,
>
> if you have used mandrakeupdate and have only added a security updates source
> then i think the following:
> #urpmi --auto-select
> will automatically check for updates in your defined source, however i don't
> know if it asks for confirmation before doing the update, if you have defined
> a cooker source then such a command is likely to prompt you to upgrade nearly
> your whole system and will ask you if you want to install new packages to
> satisfy changed dependencies,
> i recommend reading the docs for urpmi and seeing if it will do the trick for
> you,
> to define a new source for urpmi from the command line you need to use
> #urpmi.addmedia type --help after this command to see the syntax
>
> HTH
> bascule
>
>
>
> On Wednesday 05 September 2001 10:08 pm, you wrote:
> > the problem is that not allways i will have the xserver and if i do could i
> > run it from crontab?? i guess not.
> >
> > i could use wget to take it all, but only need tha packages i have
> > installed.  any other ideas?
> >
> > thanks.
> >
> > At 17:30 05/09/01 -0300, you wrote:
> > >Content-Type: text/plain; charset=iso-8859-1
> > >X-MIME-Autoconverted: from 8bit to quoted-printable by
> > >mandrakesoft.mandrakesoft.com id PAA03133
> > >
> > >Clovis Sena wrote:
> > > > hi people,
> > > >
> > > >88 i am making some crontab script to try automatize some updates.  I
> > >
> > > wish to
> > >
> > > > check at some intervals  if there is some updates for the packages i
> > > > have
> > >
> > >2> installed, so i try
> > >
> > > > path$>for a in 'rpm -qa' do
> > > > path$>echo "Getting package $a...please wait."
> > > > path$>wget ftp://ftp.planetmirror.com/pub/mandrake/updates/8.0/RPMS/$a
> > > >
> > > > for initial testing, but found some little problems.
> > > >
> > > > firist, the rpm -qa output is the complete name of package, eg
> > > > vim-0.6-2.3-mdk.etc.rpm  and not only the name  "vim" as i need.  I
> > > > also try using the %{NAME} flag but with worse results.
> > > >
> > > > note: as seen above wget will try the exact file name and never would
> > > > find some updates. The idea is to make wget search for some thing like
> > > > $a*  ( example: vim* ).
> > > >
> > > > does somebody knows the way i could use rpm to output only the package
> > >
> > > names??
> > >
> > > > tia,
> > > >
> > > > Clovis.
> > >
> > >222
> > >8       Update to rpm 4.0!!!
> > >         Here this is the default behaviour!
> > >         But I think you'll need to use MandrakeUpdate...
> > >         =o)
> > >
> > >--
> > >Leonardo T. de Carvalho
> > >         Ibiz Tecnologia
> > >Frase aleatória:
> > >"       "Beauty is transitory."
> > >         "Beauty survives."
> > >                 -- Spock and Kirk, "That Which Survives", stardate
> > > unknown "
> > >
> > >Want to buy your Pack or Services from MandrakeSoft?
> > >Go to http://www.mandrakestore.com
> >
> > -------------------------------------------------
> > Clovis Sena
> > Itautec.Com Servicos
> > S2uporte Tecnico  Software/Hardware
> > ---------------
> > Email: [EMAIL PROTECTED]
> > Fone : 0xx81-3421-1126
> > Fax  : 0xx81-3421-4988
> > -------------------------------------------------
>
>

-- 
Arthur H. Johnson II
[EMAIL PROTECTED]
The Linux Box
http://www.linuxbox.nu


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to