From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 Galeon/1.3.17 Description of problem: Yum does not quit when ctrl-c if it is downloading packages during a yum update. Version-Release number of selected component (if applicable): yum-2.1.11-3 How reproducible: Always 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 ftp:// source. 3. Type yum update say y to upgrading packages and while a package is being downloaded press ctrl-c. Actual Results: yum says "Trying other mirror." (even though only one mirror is configured!) and will skip to downloading the next package. Expected Results: 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 ***