Bug 844469

Summary: yum doesn't respect skip_if_unavailable=1
Product: [Fedora] Fedora Reporter: Jiri Moskovcak <jmoskovc>
Component: yumAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dfediuck, ffesti, maxamillion, packaging-team, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-01 07:54:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Moskovcak 2012-07-30 18:40:06 UTC
Description of problem:
Even if I use skip_if_unavailble=1 in the repo configuration yum fails to work properly when it's not available


Version-Release number of selected component (if applicable):
yum-3.4.3-28.fc17.noarch

How reproducible:
100%

Steps to Reproduce:
1. create a repo with unacessible url
2. yum update

  
Actual results:
[20:28:17 root@localhost ~]# yum update --noplugins
http://download.lab.bos.redhat.com/rel-eng/brew/fedora/17/repodata/repomd.xml: [Errno 14] curl#6 - "Couldn't resolve host"
Trying other mirror.
Error: failure: repodata/repomd.xml from brew: [Errno 256] No more mirrors to try.
[20:28:49 root@localhost ~]# cat /etc/yum.repos.d/brew.repo 
[brew]
name=Brew Buildsystem for Fedora $releasever - $basearch
baseurl=http://download.lab.bos.redhat.com/rel-eng/brew/fedora/$releasever/
enabled=1
gpgcheck=0
skip_if_unavailable=1

Expected results:
Repo skipped

Additional info:
It used to work...

Comment 1 Zdeněk Pavlas 2012-08-01 07:54:07 UTC

*** This bug has been marked as a duplicate of bug 842031 ***