[Yum] YFRQ ...

seth vidal skvidal at phy.duke.edu
Wed Mar 24 07:23:29 UTC 2004


On Wed, 2004-01-21 at 17:14 +0200, C.Lee Taylor wrote:

> Greetings ...
> 
>     First, great system ... thanks to Seth and all the others that help ...
> 
>     This just another "Yet Another Feature ReQuest" ... I wonder how 
> much time and trouble it would be to be able to amend how yum does 
> installs of request rpms?  Well, again, I am some poor shmuck who does 
> not have the fast internet connection.  So doing and install of rpms now 
> going along the lines of "yum install xxxx", which then goes through the 
> do you want install xxx and all xxx depends on ... I know that there is 
> a command line options to enable to just do it ... but where my problem 
> is, that once yum starts doing it's work, you should wait until it is 
> done before doing another yum install ... Now, it would be great if we 
> could almost queue the installations ... like "yum queue install xxx" 
> and yum would either do it later or start now, but you could add to the 
> queue while it was working, so that it would do it the next run ...

so I was going through old email and cleaning up stuff and I found this
again. sorry for the looooooooooooooong lag on a response I must have
missed it along there somewhere.

so I think that could be kinda cool to do.
it'd also be useful for doing things like

yum queue install foo
yum queue remove bar
yum queue update baz

yum queue check 
yum queue run

you load up the queue
yum queue check looks at the queued commands and sees if any of them
(independent of dep calculation) will not run

then it processes the whole queue as one transaction.
the trick would be trimming the startup down so it just stores the
transaction queue request and exits quickly. Though, you know what...

if someone wanted to write a script named yum-queue that just took its
arguments and pushed them into an easily parseable (preferrably xml)
file then yum could simply have a yum queue [check|run] that looked into
that file and did what was stacked up there.

yah, that would be the easiest and fastest way to churn out a queue and
then let yum handle it normally.

that'd be really cool.
any takers for writing a short script to do that?
-sv






More information about the Yum mailing list