Forced to use intune for work but unfortunately it seems to error on install due to version/dependency mismatches.
Specific error on install is below:
The following packages have unmet dependencies:
intune-portal : Depends: libgtk-3-0t64 (>= 3.21.4) but it is not installable
Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libp11-kit0 (>= 0.25.0) but 0.24.0-6build1 is to be installed
Depends: libstdc++6 (>= 13) but 12.3.0-1ubuntu1~22.04 is to be installed
Depends: libglib2.0-0t64 (>= 2.70.0) but it is not installable
Depends: libcurl4t64 (>= 7.16.2) but it is not installable
Depends: libgtk-3-0t64 (>= 3.13.7) but it is not installable
Depends: libatk1.0-0t64 (>= 1.12.4) but it is not installable
Depends: libssl3t64 (>= 3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Install instructions per Microsoft were relatively straight forward: https://learn.microsoft.com/en-us/mem/intune/user-help/microsoft-intune-app-linux
Any thoughts? Thanks!
Did You add the right Repo? There are Repo's for Ubuntu 24.04, 22.04 and 20.04. And here on Zorin 17, You need it for 22.04 because Zorin 17 is based on Ubuntu 22.04.
I believe 17.2 should be using 24.04. Just checked in terminal and I am on kernel 6.8
$ uname -r
6.8.0-51-generic
No. Zorin 17 uses only the same Kernel like Ubuntu 24.04 but it is based on Ubuntu 22.04. So, You have to use the Instructions for Ubuntu 22.04.
1 Like
Thanks for the clarification! Unfortunately adding in the Package signing key/sources for 22.04 doesn't change the dependency error
.
XXXX@Latitude:~$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list.d/microsoft-ubuntu-jammy-prod.list'
sudo rm microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 2801 0 --:--:-- --:--:-- --:--:-- 2808
XXXX@Latitude:~$ sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list.d/microsoft-ubuntu-jammy-prod.list'
XXXX@Latitude:~$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://packages.microsoft.com/repos/edge stable InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease
Hit:7 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease
Hit:8 https://packages.mozilla.org/apt mozilla InRelease
Hit:9 https://packages.zorinos.com/stable jammy InRelease
Hit:10 https://ppa.launchpadcontent.net/zorinos/apps/ubuntu jammy InRelease
Hit:11 https://packages.zorinos.com/patches jammy InRelease
Hit:12 https://ppa.launchpadcontent.net/zorinos/drivers/ubuntu jammy InRelease
Hit:13 https://packages.zorinos.com/apps jammy InRelease
Hit:14 https://ppa.launchpadcontent.net/zorinos/patches/ubuntu jammy InRelease
Hit:15 https://packages.zorinos.com/drivers jammy InRelease
Hit:16 https://ppa.launchpadcontent.net/zorinos/stable/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
XXXX@Latitude:~$ sudo apt install intune-portal
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
intune-portal : Depends: libgtk-3-0t64 (>= 3.21.4) but it is not installable
Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.8 is to be installed
Depends: libp11-kit0 (>= 0.25.0) but 0.24.0-6build1 is to be installed
Depends: libstdc++6 (>= 13) but 12.3.0-1ubuntu1~22.04 is to be installed
Depends: libglib2.0-0t64 (>= 2.70.0) but it is not installable
Depends: libcurl4t64 (>= 7.16.2) but it is not installable
Depends: libgtk-3-0t64 (>= 3.13.7) but it is not installable
Depends: libatk1.0-0t64 (>= 1.12.4) but it is not installable
Depends: libssl3t64 (>= 3.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
Because You did't removed the wrong added Repo first. You must delete it and then make a sudo apt update
1 Like
Thanks! Just removed and that worked. Appreciate it!
1 Like
Good to hear that it worked.