can't stop yum, must use kill -9

Kyrre Ness Sjobak kyrre at solution-forge.net
Sun Apr 17 17:33:22 UTC 2005


søn, 17.04.2005 kl. 17.45 skrev nodata:
> On Sun, 2005-04-17 at 12:36 -0300, Pedro Fernandes Macedo wrote:
> > Fred New wrote:
> > 
> > >Marius Andreiana wrote:
> > >
> > >  
> > >
> > >>I don't know if it's a new issue, but I first noticed this in fc4t2.
> > >>When yum is downloading packages, it can't be stopped pressing ctrl+c
> > >>(it will switch to another mirror and continue).
> > >> 
> > >>    
> > >>
> > >I appreciate this behavior since some mirrors can be real dogs.
> > >If ctrl+c killed yum, how could I indicate to yum that I wanted
> > >to try a different mirror?
> > >  
> > >
> > What about CTRL+C having the default behaviour (stopping the 
> > application) and something else being used to tell yum to change mirror 
> > (something like CTRL+M , for example)?
> > 
> > --
> > Pedro Macedo
> > 
> 
> This is a good idea. Alternatively, yum could take a "mail"-style
> approach "press ^C again to kill letter". Two ^Cs would kill yum.

Great idea - exept, should there be a time limit or something? A message
telling you what to do ("press control-C again within 10 seconds to stop
yum")?

After all, the "mirror-change" mechanism is really usefull, but racing
to press ^C fast enough is not. And you might hit two bad mirrors in a
row.

Kyrre Ness Sjøbæk




More information about the fedora-test-list mailing list