Re: can't stop yum, must use kill -9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-04-17 at 19:33 +0200, Kyrre Ness Sjobak wrote:
> s�7.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�> 

A user on the bug for this suggested that if a user pressed ^C twice on
the same mirror, then yum could exit.
The alternative would be a timer, perhaps two ^Cs within a couple of
seconds would kill yum.

^Z needs to behave better too.



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]