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
-------------------------------------------------


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

Reply via email to