Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

sapmachine-11-jre package is no longer available #32

Open
Regloom opened this issue Jul 26, 2021 · 2 comments
Open

sapmachine-11-jre package is no longer available #32

Regloom opened this issue Jul 26, 2021 · 2 comments

Comments

@Regloom
Copy link
Contributor

Regloom commented Jul 26, 2021

support for JRE packages was removed from SAP/SapMachine quite a while ago with this commit.

As a result deploy to Cloud Foundry no longer work.

Templates in "https://github.com/mikezaschka/cds-dbm/tree/main/src/build/postgres-cf/template" to be modified for "sapmachine-11-jdk" package support. This requires at least package change in "apt.yml" and line
"export JAVA_HOME=/home/vcap/deps/0/apt/usr/lib/jvm/sapmachine-11" modification in "deploy.sh".

Proposed pull request: #33

@reinhardjaeschke
Copy link

There also seems to be an issue with the keys section in "apt.yml".
Using

---
keys:
  - https://dist.sapmachine.io/debian/sapmachine.old.key
  - https://dist.sapmachine.io/debian/sapmachine.key
repos:
  - deb http://dist.sapmachine.io/debian/amd64/ ./
packages:
  - sapmachine-11-jdk

I get the following error:

2021-10-20T06:17:39.891+0000 [STG/0] ERR gpg: WARNING: unable to fetch URI https://dist.sapmachine.io/debian/sapmachine.old.key: keyserver error
2021-10-20T06:17:39.892+0000 [STG/0] OUT        **ERROR** Error running supply: could not add apt key https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-20T06:17:39.892+0000 [STG/0] OUT        
2021-10-20T06:17:39.892+0000 [STG/0] OUT        Executing: /tmp/apt-key-gpghome.ADdZAdVahF/gpg.1.sh --fetch-keys https://dist.sapmachine.io/debian/sapmachine.old.key
2021-10-20T06:17:39.892+0000 [STG/0] OUT        gpgkeys: https fetch error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
2021-10-20T06:17:39.892+0000 [STG/0] OUT        
2021-10-20T06:17:39.892+0000 [STG/0] OUT        
2021-10-20T06:17:39.892+0000 [STG/0] OUT        exit status 2
2021-10-20T06:17:39.894+0000 [STG/0] ERR Failed to run all supply scripts: exit status 14
2021-10-20T06:17:39.898+0000 [STG/0] OUT Exit status 225

@gregorwolf
Copy link
Collaborator

Please check my comment at gregorwolf/pg-beershop#149 (comment)

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

No branches or pull requests

3 participants