Bug 216229

Summary: yum exits if one of the repos is not reachable
Product: [Fedora] Fedora Reporter: Vladimir Kotal <vlada>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-17 22:15:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Kotal 2006-11-17 21:45:57 UTC
Description of problem:
When e.g. installing a package via yum and one of the repos is not reachable yum
fails.

Version-Release number of selected component (if applicable):
yum-3.0-6

How reproducible:
make one of the repos not reachable (e.g via firewall) and try to install
package (from other repos)
  
Actual results:
yum fails and no package is installed

Expected results:
it should report the error but proceed to other repos

Additional info:

The actual output:

[root@erazim tmp]# yum install fubar
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/linux/6/i386/dries/RPMS/repodata/repomd.xml:
[Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: dries
[root@erazim tmp]# 


I have deliberately selected bogus package name to see what will happen. If one
of the repos is down user cannot even install security updates from the standard
repo.

Comment 1 Seth Vidal 2006-11-17 22:15:41 UTC
no. that's ultimately pretty dangerous behavior.

There's been much discussion of this on the yum mailing list.