You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/04/26 15:54:02 UTC

[GitHub] [couchdb] billingb opened a new issue #3528: Ubuntu Xenial and Bionic `apt update` failing with forbidden error

billingb opened a new issue #3528:
URL: https://github.com/apache/couchdb/issues/3528


   [NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
   
   ## Description
   Ubuntu xenial and bionic (16, 18) `apt get update` failing with note about Release or InRelease Forbidden (403 code).
   
   ## Steps to Reproduce
   
   On a new Xenial system run the following. Note these steps have been working in automation for us for a long time:
   
   1. `/usr/bin/sudo /bin/echo "deb https://apache.bintray.com/couchdb-deb xenial main" | /usr/bin/sudo /usr/bin/tee -a /etc/apt/sources.list`
   2. `/usr/bin/curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | /usr/bin/sudo /usr/bin/apt-key add -`
   3. `/usr/bin/sudo /usr/bin/apt update`
   
   After the final command I get the following output:
   ```
   Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
   Hit:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                            
   Get:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]                 
   Ign:4 https://apache.bintray.com/couchdb-deb xenial InRelease                                            
   Hit:5 http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu xenial InRelease
   Err:6 https://apache.bintray.com/couchdb-deb xenial Release             
     403  Forbidden
   Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
   Reading package lists... Done                                 
   E: The repository 'https://apache.bintray.com/couchdb-deb xenial Release' does not have a Release file.
   N: Updating from such a repository can't be done securely, and is therefore disabled by default.
   N: See apt-secure(8) manpage for repository creation and user configuration details.
   ```
   
   I also see this problem on a Bionic (Ubuntu 18) VM. In this case I used these steps to setup:
   `apt install apt-transport-https curl`
   `echo "deb https://apache.bintray.com/couchdb-deb bionic main" | sudo tee -a /etc/apt/sources.list`
   `curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -`
   `apt update`
   `apt install -y couchdb=2.3.1~bionic`
   
   When running the `apt update` step I get the following output:
   ```
   Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
   Err:2 https://apache.bintray.com/couchdb-deb bionic InRelease
     403  Forbidden [IP: 34.217.158.44 443]
   Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
   Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
   Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
   Reading package lists... Done
   E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/bionic/InRelease  403  Forbidden [IP: 34.217.158.44 443]
   E: The repository 'https://apache.bintray.com/couchdb-deb bionic InRelease' is no longer signed.
   N: Updating from such a repository can't be done securely, and is therefore disabled by default.
   N: See apt-secure(8) manpage for repository creation and user configuration details.
   ```
   
   As a final step I tried to access the Release file through the web by finding the files in bintray. I get a 403 forbidden when clicking on the file in the web interface which links to: https://dl.bintray.com/apache/couchdb-deb/dists/xenial/Release
   
   
   ## Expected Behaviour
   Expect `apt update` to run without errors.
   
   ## Your Environment
   The first system I trying to install on is a freshly created Ubuntu 16.04 (xenial) VM.
   ```
   $ lsb_release -a
   No LSB modules are available.
   Distributor ID:	Ubuntu
   Description:	Ubuntu 16.04.5 LTS
   Release:	16.04
   Codename:	xenial
   ```
   
   The second system is a WSL2 ubuntu 18.04 bionic VM that was previously working but when I ran `apt update` today had issues shown above:
   ```
   $ lsb_release -a
   No LSB modules are available.
   Distributor ID: Ubuntu
   Description:    Ubuntu 18.04.5 LTS
   Release:        18.04
   Codename:       bionic
   ```
   
   In both cases I'm working with/trying to install CouchDB 2.3.1
   
   ## Additional Context
   I do not see any releases or any reason for a change in behavior today. Seems likely I'm missing some detail of a change but I'm at a loss to find it.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] billingb commented on issue #3528: Ubuntu Xenial and Bionic `apt update` failing with forbidden error

Posted by GitBox <gi...@apache.org>.
billingb commented on issue #3528:
URL: https://github.com/apache/couchdb/issues/3528#issuecomment-826952973


   Immediately following this report I looked and found that this is due to the apache bintray brownout to make people aware of of bintray being shutdown starting May 1st. Investigating now to see what repository I should be using. 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #3528: Ubuntu Xenial and Bionic `apt update` failing with forbidden error

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #3528:
URL: https://github.com/apache/couchdb/issues/3528#issuecomment-826974980


   No problem @billingb , we just announced the new repos about 12 hours ago -- took a while to get everything in place.
   
   Feel free to open a new ticket if the new repos don't work for you.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] billingb closed issue #3528: Ubuntu Xenial and Bionic `apt update` failing with forbidden error

Posted by GitBox <gi...@apache.org>.
billingb closed issue #3528:
URL: https://github.com/apache/couchdb/issues/3528


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] billingb commented on issue #3528: Ubuntu Xenial and Bionic `apt update` failing with forbidden error

Posted by GitBox <gi...@apache.org>.
billingb commented on issue #3528:
URL: https://github.com/apache/couchdb/issues/3528#issuecomment-826957204


   This appears to be the correct instructions for the new repositories. Sorry to waste everyones time:
   https://docs.couchdb.org/en/stable/install/unix.html
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org