fix(ubuntu): resolve GPG signature verification failure for Microsoft Edge on Ubuntu 26.04#260
Conversation
|
Hey, thx for the patch. I downloaded and tried it in a prestine ubuntu26.04 VM, edge installs fine but intune portal fails complaining about dependencies.
attached you find the complete installer log |
|
@Berndserk What you're running into is actually a repository issue on Microsoft's end. They have published the main Until Microsoft gets their 26.04 repository fully synced, the easiest workaround is to temporarily add the Ubuntu 24.04 (Noble) repository alongside it just to pull in those missing dependencies. The 24.04 identity broker works perfectly on 26.04. You can run this to get it working: # 1. Add the 24.04 (Noble) repo as a temporary workaround for dependencies
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/ubuntu/24.04/prod noble main" | sudo tee /etc/apt/sources.list.d/microsoft-noble-workaround.list
# 2. Update the package lists
sudo apt update
# 3. Install the portal (it will pull the broker from Noble and the portal from Resolute)
sudo apt install intune-portal |
|
OK got it, but now i seem to lack the proper keys for 24.04 :-D |
|
Right now the install script if it detects that you have 26.04 only gets you to pull the "new" signing key for packages intended for 26.04. So you'll need to |
|
Awesome thanks, that worked, one issue less. |
|
@copilot resolve the merge conflicts in this pull request |
This is (I assume) a temporary fix to allow installation of Intune for early adopters of Ubuntu 26.04 LTS.
On Ubuntu 26.04 (resolute), the script correctly identifies that the primary Microsoft production/insiders repositories have transitioned to the new 2025 GPG key (microsoft-2025.asc). However, the Microsoft Edge repository (/repos/edge) currently still requires the legacy GPG key (microsoft.asc).
In the previous implementation, the script would overwrite the microsoft.gpg keyring with the 2025 key on Ubuntu 26.04, which then caused apt update to fail for the Edge repository with the following error:
Changes
Testing
This fixes #259