Bug 216229 - yum exits if one of the repos is not reachable
yum exits if one of the repos is not reachable
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-17 16:45 EST by Vladimir Kotal
Modified: 2014-01-21 17:55 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-11-17 17:15:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Vladimir Kotal 2006-11-17 16:45:57 EST
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 17:15:41 EST
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.