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

debian: mimic redhat installation strategy #14

Open
staylorx opened this issue Feb 26, 2016 · 5 comments
Open

debian: mimic redhat installation strategy #14

staylorx opened this issue Feb 26, 2016 · 5 comments

Comments

@staylorx
Copy link

I was updating a RedHat server and the latest JDK7 updated as expected, set itself as latest and default (as expected since I set that flag). However, it removed the existing JDK version. It still works for what I need it to do but I expected the new JDK would be set as latest and the old version would remain.

Thanks for all the hard work. Steve

@steenzout
Copy link
Member

@staylorx for Debian-based systems I believe the packaging is done differently so I can have 2 versions and the default makes sense.

on RedHat systems I'm installing a RPM so installing a newer version will replace the older one.
I'd need to use a tarball and make some extra configs to support multiple versions.

@steenzout steenzout added the bug label Feb 26, 2016
@steenzout steenzout added this to the v5.9.0 milestone Feb 26, 2016
@steenzout steenzout self-assigned this Feb 26, 2016
@staylorx
Copy link
Author

staylorx commented Mar 2, 2016

I think I went down a path with the set-default flag thinking that might keep the older one. But I get it now. Thanks for jumping on this so quickly. Amazing.

@steenzout
Copy link
Member

steenzout commented Mar 2, 2016

It's a valid point and I'll keep the issue open.
I'll probably release a v5 version of this role that just uses tarball and installer (which means it would work for all platforns, even Mac).
Problem is time to do it :)

@pjmorr
Copy link

pjmorr commented May 21, 2016

Will you (did you) keep a flag if you actually want it to remove older versions?

@steenzout
Copy link
Member

steenzout commented May 22, 2016

No.
I believe it requires a new implementation of this role that doesn't use a debian package to install JDK and it's not a priority for me.
Feel free to make a pull request and I'll check it out.

@steenzout steenzout modified the milestones: 5.14.4, 5.14.2 Mar 29, 2017
@steenzout steenzout modified the milestones: 5.14.4, 5.14.20 Oct 19, 2017
@steenzout steenzout removed their assignment Oct 19, 2017
@steenzout steenzout changed the title Removes older version of JDK debian: mimic redhat installation strategy Aug 19, 2018
@steenzout steenzout removed the bug label Aug 19, 2018
@steenzout steenzout removed this from the 5.14.20 milestone Aug 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants