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

Problem with upgrade Debian 12 #237

Open
pbakadm opened this issue Nov 6, 2024 · 0 comments · May be fixed by #240
Open

Problem with upgrade Debian 12 #237

pbakadm opened this issue Nov 6, 2024 · 0 comments · May be fixed by #240

Comments

@pbakadm
Copy link

pbakadm commented Nov 6, 2024

Describe the bug
Installing hazelcast >=5.4.0, results:

The following packages have unmet dependencies:
hazelcast : Depends: java21-sdk-headless but it is not installable

Expected behavior
Update previosr 5.3.x version

To Reproduce
Follow: https://docs.hazelcast.com/hazelcast/5.5/getting-started/install-hazelcast

Regards :)

JackPGreen added a commit that referenced this issue Nov 7, 2024
In #195, Debian was _intended_ to upgrade it's dependant JRE to `21` - but the JDK specified does not exist (`docker run --interactive --rm debian:stable bash -c "apt-get update && apt list | grep jdk"`)

Instead we should request the _latest_ JDK which currently is `17` (`docker run --interactive --rm debian:stable bash -c "apt-get update && apt-get install -y default-jdk-headless && java -version"`).

Fixes: #237
JackPGreen added a commit that referenced this issue Nov 20, 2024
#237 highlighted
a gap in our test process, investigation found further issues this PR
addresses:

- We test Debian packages on Ubuntu
- A better target would be Debian, action updated to use `debian:latest`
and install required tools
- Note that this means the **build now fails** because the fix for
#237 has yet to
be merged - this is a good thing, as we've recreated the issue
- Unnecessary Java installation
- The Debian package specifies a JRE, we don't need to install our own
- This didn't obscure the issue in
#237, but if
there was an incompatibility in Java versions, it might've been hidden
- Test repo not reliably cleaned
- The test undeploys the packages from the test repo, but _only_ if it
completes successfully - when it
[fails](https://github.com/hazelcast/hazelcast-packaging/actions/runs/11727659937/job/32669285892),
it's not removed

Fixes: [DI-337](https://hazelcast.atlassian.net/browse/DI-337)

[DI-337]:
https://hazelcast.atlassian.net/browse/DI-337?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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

Successfully merging a pull request may close this issue.

1 participant