Red Hat Bugzilla – Bug 203823
YUM does not stop at ^C
Last modified: 2014-01-21 17:54:56 EST
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.
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.
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.