Red Hat Bugzilla – Bug 216229
yum exits if one of the repos is not reachable
Last modified: 2014-01-21 17:55:55 EST
Description of problem:
When e.g. installing a package via yum and one of the repos is not reachable yum
Version-Release number of selected component (if applicable):
make one of the repos not reachable (e.g via firewall) and try to install
package (from other repos)
yum fails and no package is installed
it should report the error but proceed to other repos
The actual output:
[root@erazim tmp]# yum install fubar
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
[Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: dries
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
no. that's ultimately pretty dangerous behavior.
There's been much discussion of this on the yum mailing list.