Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrn Error during installing CouchDB by generate_box.sh #39

Closed
KoukiHama opened this issue Aug 1, 2021 · 5 comments
Closed

Retrn Error during installing CouchDB by generate_box.sh #39

KoukiHama opened this issue Aug 1, 2021 · 5 comments

Comments

@KoukiHama
Copy link
Contributor

KoukiHama commented Aug 1, 2021

==> sw360-focal: Notice: /Stage[main]/Sw360base/Exec[install_thrift]/returns: Reading package lists...
==> sw360-focal: Notice: /Stage[main]/Sw360base/Exec[install_thrift]/returns: E: Failed to fetch https://apache.bintray.com/couchdb-deb/dists/focal/InRelease 403 Forbidden [IP: 34.215.50.10 443]
==> sw360-focal: Notice: /Stage[main]/Sw360base/Exec[install_thrift]/returns: E: The repository 'https://apache.bintray.com/couchdb-deb focal InRelease' is not signed.

This is same with this one.
eclipse-sw360/sw360#1331

Using https://apache.jfrog.io/artifactory/couchdb-deb is nesesaery.
because, https://apache.bintray.com/couchdb-deb does not work well now.

@drgsr
Copy link

drgsr commented Sep 30, 2021

Hi - I stubled on right the very same trap...
Obviously, the repo (apache.bintray) of couchdb got moved to jfrog ...
See e.g.
https://docs.couchdb.org/en/stable/install/unix.html#installation-using-the-apache-couchdb-convenience-binary-packages
Quote from that page...

sudo apt update && sudo apt install -y curl apt-transport-https gnupg
curl https://couchdb.apache.org/repo/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/couchdb-archive-keyring.gpg >/dev/null 2>&1
source /etc/os-release
echo "deb [signed-by=/usr/share/keyrings/couchdb-archive-keyring.gpg] https://apache.jfrog.io/artifactory/couchdb-deb/ ${VERSION_CODENAME} main" \
    | sudo tee /etc/apt/sources.list.d/couchdb.list >/dev/null

To Fix the issue, one needs to edit the file "puppet/manifests/sw360-base.pp"
Exchange the lines:
$puppet_does_not_allow_escaping='deb https://apache.bintray.com/couchdb-deb focal main'
to become:
$puppet_does_not_allow_escaping='deb https://apache.jfrog.io/artifactory/couchdb-deb/ focal main'
AND
command => "curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -",
to become
command => "curl -L https://couchdb.apache.org/repo/keys.asc | sudo apt-key add -",

@mcjaeger
Copy link
Contributor

going to work on it.

@KoukiHama
Copy link
Contributor Author

This pull request try to fix this issue.
#40

@mcjaeger
Copy link
Contributor

yes, I am testing it right now

@KoukiHama
Copy link
Contributor Author

KoukiHama commented Nov 17, 2021

Solved by latest commit 2060f96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants