The IT department of my current employer requires to install intune-portal from Microsoft.
This intune-portal officially supports Ubuntu 24.04, 22.04, 20.04 and RHEL 8, 9.
When I try to install intune-portal it complains that it can’t find the java-11-openjdk dependency. The java-11-openjdk package was available up to the previous Fedora 41 but now it’s not officially available in Fedora 42 repos. Is it still available in some Copr or any other alternative repository?
$ sudo dnf install intune-portal
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
- package intune-portal-1.2311.1-1.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2312.10-3.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2401.19-3.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2405.9-1.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2405.17-1.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2411.12-1.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- package intune-portal-1.2503.10-1.el9.x86_64 from packages-microsoft-com-prod requires microsoft-identity-broker, but none of the providers can be installed
- nothing provides java-11-openjdk needed by microsoft-identity-broker-1.6.0-1.x86_64 from packages-microsoft-com-prod
- nothing provides java-11-openjdk needed by microsoft-identity-broker-1.7.0-1.x86_64 from packages-microsoft-com-prod
- nothing provides java-11-openjdk needed by microsoft-identity-broker-2.0.0-1.x86_64 from packages-microsoft-com-prod
- nothing provides java-11-openjdk needed by microsoft-identity-broker-2.0.1-1.x86_64 from packages-microsoft-com-prod
You can try to add to command line:
--skip-broken to skip uninstallable packages
rpm-ostree has a releasever flag but apparently it does nothing and it’s not even listed in the man page. So I had to manually download and install the rpm packages for java-11-openjdk and its dependency java-11-openjdk-headless. This is not optimal because those packages are never gonna receive updates and will inevitably stop working sometime in the future.
Hopefully microsoft can update the dependency from java-11-openjdk to a more supported version
I would STRONGLY advice against directly editing stuff inside /usr/lib. It would be much better, as shown in this github issue, to edit the microsoft-identity-device-broker.service so that it points to the correct java home exposed by temurin-11-jdk