openjdk icon indicating copy to clipboard operation
openjdk copied to clipboard

Unable to install Microsoft OpenJDK on a SUSE based distribution

Open K0-RR opened this issue 4 years ago • 8 comments

Describe the bug Tested on Mageia 8 and openSUSE Leap 15.3

To Reproduce: Add proper ms-openjdk repository to your RPM based OS.

Screenshots, Logs etc

sudo yum install msopenjdk-17.x86_64
[sudo] password for k0rr: 
Last metadata expiration check: 0:01:58 ago on sob, 25 gru 2021, 18:15:26.
Error: 
 Problem: conflicting requests
  - nothing provides dejavu-sans-fonts needed by msopenjdk-17-17+35-1.x86_64
  - nothing provides dejavu-sans-fonts needed by msopenjdk-17-17.0.1+12_LTS-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

K0-RR avatar Dec 25 '21 17:12 K0-RR

It looks like the dependency is called dejavu-fonts on opensuse. We'll have to update the specfile

gdams avatar Jan 04 '22 10:01 gdams

Is that a bug upstream at Adoptium as well?

karianna avatar Jan 04 '22 10:01 karianna

Is that a bug upstream at Adoptium as well?

No it isn't, both the old style (that Msft uses) https://github.com/adoptium/installer/blob/master/linux/suse-rpm/config/jdk-11-hotspot/dependencies.txt#L4 and the new style have the font correctly defined

gdams avatar Jan 04 '22 10:01 gdams

@RDKRACZ can you please share the commands that you used to add the repository to your environment?

From what I can see we don't currently have a SUSE based RPM published to packages.microsoft.com (https://packages.microsoft.com/opensuse/15/prod/)

The SUSE-based RPM is what you'll need which we can potentially upload

gdams avatar Jan 04 '22 10:01 gdams

@gdams hey george, is this fixed in the January update?

brunoborges avatar Feb 05 '22 01:02 brunoborges

@gdams Is this fixed now in the April update?

brunoborges avatar May 03 '22 21:05 brunoborges

We do not provide a SUSE based RPM yet. As we build out our infra we will add other distributions of Linux package managers, but we have to keep the scope tight while we learn to walk. It is possible we could target July PSU if we'd like to get one out for then, but there might be other priorities in the way. @brunoborges and @karianna can help me schedule this work.

d3r3kk avatar May 04 '22 23:05 d3r3kk

This will require using the newLinux scripts from Adoptium. I suspect we'll just get it out of the box when we cut over.

karianna avatar May 05 '22 15:05 karianna

We will track this as per #389

brunoborges avatar Jan 18 '23 01:01 brunoborges