View Issue Details

IDProjectCategoryView StatusLast Update
0015620CentOS-7yum-utilspublic2018-12-20 12:48
Reporterbizdelnick 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0015620: yum-builddeps attempts to download metadata from disabled repo
DescriptionI have centos-release-scl-rh installed with default repo config, including

    [centos-sclo-rh-source]
    name=CentOS-7 - SCLo rh Sources
    baseurl=http://vault.centos.org/centos/7/sclo/Source/rh/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-SCLo

As you can see, this repo is disabled. But today it became unavailable, and after that yum-builddeps always fails:

    $ sudo yum-builddep -y mypkg.spec
    Loaded plugins: fastestmirror, ovl
    Enabling base-source repository
    Enabling centos-sclo-rh-source repository
    Enabling centos-sclo-sclo-source repository
    Enabling epel-source repository
    Enabling extras-source repository
    Enabling updates-source repository
    Determining fastest mirrors
     * base: mirror.awanti.com
     * epel: mirror.awanti.com
     * epel-source: mirror.awanti.com
     * extras: mirror.awanti.com
     * updates: mirror.awanti.com
    http://vault.centos.org/centos/7/sclo/Source/rh/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    Trying other mirror.
    To address this issue please refer to the below wiki article
    
    https://wiki.centos.org/yum-errors
    
    If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
    
    failure: repodata/repomd.xml from centos-sclo-rh-source: [Errno 256] No more mirrors to try.
    http://vault.centos.org/centos/7/sclo/Source/rh/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
    $

I consider this is a bug, because the disabled repo is handled as enabled.
TagsNo tags attached.
abrt_hash
URL

Activities

bizdelnick

bizdelnick

2018-12-20 12:48

reporter   ~0033401

BTW using `--disablerepo=centos-sclo-rh-source` changes nothing.

Issue History

Date Modified Username Field Change
2018-12-20 12:44 bizdelnick New Issue
2018-12-20 12:48 bizdelnick Note Added: 0033401