Bug 216229 - yum exits if one of the repos is not reachable
Summary: yum exits if one of the repos is not reachable
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-17 21:45 UTC by Vladimir Kotal
Modified: 2014-01-21 22:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-17 22:15:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.



Note You need to log in before you can comment on or make changes to this bug.