Red Hat Bugzilla – Bug 139254
ctrl-c does not quit yum
Last modified: 2014-01-21 17:50:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
Yum does not quit when ctrl-c if it is downloading packages during a
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install fedora core 3
2. Configure /etc/yum.repos.d/fedora-updates.repo not to use
mirrorlist and to instead use a single baseurl from a http:// for
3. Type yum update say y to upgrading packages and while a package is
being downloaded press ctrl-c.
"Trying other mirror."
(even though only one mirror is configured!) and will skip to
downloading the next package.
yum to quit.
I can duplicate this one. The problem is this. Downloadpkgs is
supposed to be handled as a complete set and report errors on
downloading any of those packages as a whole, not individually. It was
a complaint of yum 2.0.X that any one package download failure would
make yum exit. They wanted it to download all of them then report on
which ones failed.
Your problem is different, you just want ctrl-c to do what you'd
expect it to do, abort when you don't have a mirror.
I'll see what I can do.
*** This bug has been marked as a duplicate of 139459 ***