Bug 999940 - skip_if_unavailable not always honored
Summary: skip_if_unavailable not always honored
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 12:02 UTC by Steve Grubb
Modified: 2013-08-26 08:24 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-26 08:24:15 UTC
Type: Bug


Attachments (Terms of Use)

Description Steve Grubb 2013-08-22 12:02:56 UTC
Description of problem:
I have skip_if_unavailable=1 set for an internal coverity repo. If I am not logged in to our vpn, occasionally an update fails for the following reason:

http://cov01.lab.eng.brq.redhat.com/coverity/install/covscan/fedora/19/x86_64/repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: cov01.lab.eng.brq.redhat.com; No address associated with hostname"
Trying other mirror.
Error: failure: repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2 from covscan-fedora: [Errno 256] No more mirrors to try.
       http://cov01.lab.eng.brq.redhat.com/coverity/install/covscan/fedora/19/x86_64/repodata/ee35c3205ce6ead9b1ffc767f5f02757e993d2e6945a4c21989c53537ae522fe-filelists.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: cov01.lab.eng.brq.redhat.com; No address associated with hostname"

skip_if_unavailable should consistently skip this repo. I don't know why some updates are fine and some end like this. "yum check-update" runs fine. "yum -y update" didn't.

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

How reproducible:
intermittently

Comment 1 Zdeněk Pavlas 2013-08-26 08:24:15 UTC
This is a known bug (BZ 852643).  skip-if-unavailable works only at repository setup time.  In this case the local copy was valid, so the repo was not disabled. Then, during depsolving, a file dependency needed to be resolved. Yum tried to download filelists for all enabled repositories, including this one.  It's considered a fatal error when depsolver can't access filelists. You can only work this around by something like:

[coverity]
...
skip_if_unavailable=1
mdpolicy=group:all


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