Bug 203823 - YUM does not stop at ^C
Summary: YUM does not stop at ^C
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-23 21:08 UTC by Han-Wen Nienhuys
Modified: 2014-01-21 22:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-26 11:38:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Han-Wen Nienhuys 2006-08-23 21:08:01 UTC
If yum is busy downloading packages, ^C does not stop it, rather yum assumes
that there was a network error, and starts trying another mirror. Thus, it
almost impossible to stop yum in a normal way. "killall -9 yum" does work, but
brings the risk of database corruption.

Please make yum treat ^C specially.

Comment 1 Damien Durand 2006-08-26 11:38:42 UTC
Thanks for taking the time to report this bug. Well, for me this report is not
really a bug, yum can be stoped yum with ^Z.

Comment 2 Han-Wen Nienhuys 2006-08-26 13:37:40 UTC
yes, and it also stops when I send the SIGABRT signal, or when I bang the
computer with a baseball bat. That is not the point.  The principle of least
astonishment says: unix programs stop gracefully if interrupted by ^C. YUM
violates this principle. 

Please reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.