Bug 844469 - yum doesn't respect skip_if_unavailable=1
Summary: yum doesn't respect skip_if_unavailable=1
Keywords:
Status: CLOSED DUPLICATE of bug 842031
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-30 18:40 UTC by Jiri Moskovcak
Modified: 2015-02-01 22:55 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-01 07:54:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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