ncraike opened a new issue #3966:
URL: https://github.com/apache/couchdb/issues/3966


   ## Description
   
   Attempting to follow [Installation using the Apache CouchDB convenience 
binary 
packages](https://docs.couchdb.org/en/stable/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages)
 on a RedHat/CentOS system fails to install the package with a HTTP 403 
Forbidden error from the package repository.
   
   ## Steps to Reproduce
   
   ```
   yum install -y yum-utils
   yum-config-manager --add-repo https://couchdb.apache.org/repo/couchdb.repo
   yum install -y couchdb
   ```
   
   ## Expected Behaviour
   
   CouchDB is installed from an RPM downloaded from the repository.
   
   ## Your Environment
   
   * Operating system and version: CentOS 7.9
   
   ## Additional Context
   
   Full output from commands:
   ```
   [root@45ae2b263cc5 /]# yum install -y yum-utils
   Loaded plugins: ovl
   There are no enabled repos.
    Run "yum repolist all" to see the repos you have.
    To enable Red Hat Subscription Management repositories:
        subscription-manager repos --enable <repo>
    To enable custom repositories:
        yum-config-manager --enable <repo>
   [root@45ae2b263cc5 /]# yum-config-manager --add-repo 
https://couchdb.apache.org/repo/couchdb.repo
   Loaded plugins: ovl
   adding repo from: https://couchdb.apache.org/repo/couchdb.repo
   grabbing file https://couchdb.apache.org/repo/couchdb.repo to 
/etc/yum.repos.d/couchdb.repo
   repo saved to /etc/yum.repos.d/couchdb.repo
   [root@45ae2b263cc5 /]# cat /etc/yum.repos.d/couchdb.repo 
   [couchdb]
   name=couchdb
   
baseurl=https://apache.jfrog.io/artifactory/couchdb-rpm/el$releasever/$basearch/
   gpgkey=https://couchdb.apache.org/repo/keys.asc 
https://couchdb.apache.org/repo/rpm-package-key.asc
   gpgcheck=1
   repo_gpgcheck=1
   enabled=1
   [root@45ae2b263cc5 /]# yum install -y couchdb
   Loaded plugins: ovl
   
https://apache.jfrog.io/artifactory/couchdb-rpm/el7/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 (couchdb),
    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=couchdb ...
   
        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 couchdb
           or
               subscription-manager repos --disable=couchdb
   
        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=couchdb.skip_if_unavailable=true
   
   failure: repodata/repomd.xml from couchdb: [Errno 256] No more mirrors to 
try.
   
https://apache.jfrog.io/artifactory/couchdb-rpm/el7/x86_64/repodata/repomd.xml: 
[Errno 14] HTTPS Error 403 - Forbidden
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to