Page 1 of 1

SOLVED-softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml:Errno 14 HTTPS Error 403-Forbidden

Posted: 2020/06/22 16:35:37
by joejac
Hello,
1. I get an error on the automatic renewal of Let's Encrypt, please note that Let's Encrypt was working fine during the first 3 months:
An unexpected error occurred:
AttributeError: 'module' object has no attribute 'TLSSNI01'
Please see the logfile '/tmp/tmp7LsO0y/log' for more details.
I found this reference:
https://community.letsencrypt.org/t/ren ... i01/110176

2. I try to install certbot-apache but I get this error:
https://www.softwarecollections.org/rep ... repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
yum install certbot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.cogentco.com
* centos-sclo-rh: centos.mirror.constant.com
* centos-sclo-sclo: mirror.atlanticmetro.net
* extras: mirror.trouble-free.net
* updates: mirror.rackspace.com
https://www.softwarecollections.org/rep ... repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
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/.

Package certbot-1.0.0-1.el7.noarch already installed and latest version
Nothing to do
3. I clean cache and same problem

Code: Select all

# yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base centos-sclo-rh centos-sclo-sclo extras
              : rhscl-rh-php56-epel-7-x86_64 updates virtualmin
              : virtualmin-universal vz-base vz-updates
Cleaning up list of fastest mirrors
Other repos take up 83 M of disk space (use --verbose for details)

# rm -rf /var/cache/yum/*
# yum -y install certbot-apache
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: mirror.trouble-free.net
 * centos-sclo-rh: ewr.edge.kernel.org
 * centos-sclo-sclo: mirror.math.princeton.edu
 * extras: mirror.math.princeton.edu
 * updates: repos-va.psychz.net
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
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/.



 One of the configured repositories failed (PHP 5.6 - epel-7-x86_64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhscl-rh-php56-epel-7-x86_64 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhscl-rh-php56-epel-7-x86_64
        or
            subscription-manager repos --disable=rhscl-rh-php56-epel-7-x86_64

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhscl-rh-php56-epel-7-x86_64.skip_if_unavailable=true

failure: repodata/repomd.xml from rhscl-rh-php56-epel-7-x86_64: [Errno 256] No more mirrors to try.
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

# yum update python2-certbot-apache
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.keystealth.org
 * centos-sclo-rh: ewr.edge.kernel.org
 * centos-sclo-sclo: mirror.ash.fastserv.com
 * extras: packages.oit.ncsu.edu
 * updates: mirrors.mit.edu
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
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/.



 One of the configured repositories failed (PHP 5.6 - epel-7-x86_64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhscl-rh-php56-epel-7-x86_64 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhscl-rh-php56-epel-7-x86_64
        or
            subscription-manager repos --disable=rhscl-rh-php56-epel-7-x86_64

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhscl-rh-php56-epel-7-x86_64.skip_if_unavailable=true

failure: repodata/repomd.xml from rhscl-rh-php56-epel-7-x86_64: [Errno 256] No more mirrors to try.
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
4. How can I install certbot-apache on Centos 7 without error?.
Thanks and regards
joejac

Re: softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidd

Posted: 2020/06/22 17:00:53
by TrevorH
certbot is in EPEL where it's always been. No idea what that copy you have is...

Re: softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidd

Posted: 2020/06/22 18:39:26
by joejac
Hello and thanks TrevorH
I have CentOS 7.8.2003
When I issue the commands:
1. # yum -y install epel-release
I get same error:
https://www.softwarecollections.org/rep ... repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

2. # yum repolist
It shows the repo unavailable.

Code: Select all

# yum -y install epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.wdc1.us.leaseweb.net
 * centos-sclo-rh: mirror.datto.com
 * centos-sclo-sclo: ewr.edge.kernel.org
 * extras: mirror.atlanticmetro.net
 * updates: mirror.datto.com
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
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/.



 One of the configured repositories failed (PHP 5.6 - epel-7-x86_64),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhscl-rh-php56-epel-7-x86_64 ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhscl-rh-php56-epel-7-x86_64
        or
            subscription-manager repos --disable=rhscl-rh-php56-epel-7-x86_64

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhscl-rh-php56-epel-7-x86_64.skip_if_unavailable=true

failure: repodata/repomd.xml from rhscl-rh-php56-epel-7-x86_64: [Errno 256] No more mirrors to try.
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.tripadvisor.com
 * centos-sclo-rh: mirror.es.its.nyu.edu
 * centos-sclo-sclo: ewr.edge.kernel.org
 * extras: mirror.es.its.nyu.edu
 * updates: repos-va.psychz.net
https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
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/.

https://www.softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden
Trying other mirror.
repo id                      repo name                                    status
base/7/x86_64                CentOS-7 - Base                              10070
centos-sclo-rh/x86_64        CentOS-7 - SCLo rh                            6509
centos-sclo-sclo/x86_64      CentOS-7 - SCLo sclo                           796
extras/7/x86_64              CentOS-7 - Extras                              397
rhscl-rh-php56-epel-7-x86_64 PHP 5.6 - epel-7-x86_64                          0
updates/7/x86_64             CentOS-7 - Updates                             760
virtualmin/7/x86_64          RHEL/CentOS/Scientific 7 - x86_64 - Virtualm   165
virtualmin-universal         Virtualmin Distribution Neutral Packages       110
vz-base                      vz-base                                          1
vz-updates                   vz-updates                                       4
repolist: 18812
3. What can I do?
Thanks and regards
joejac

Re: softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidd

Posted: 2020/06/22 18:42:32
by TrevorH
Disable that repo.

Re: softwarecollections.org/repos/rhscl/rh-php56/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidd

Posted: 2020/06/22 20:00:04
by joejac
Hello and thank you TrevorH
I was able to reinstall certbot with this instruction:

# yum --enablerepo="epel" install -y certbot python2-certbot-apache

Reference: https://certbot.eff.org/lets-encrypt/centosrhel7-apache

And then the certificate was successfully renewed.
I will mark the post as solved.
Thank you and regards
joejac