Failed to download repository information error while using software updater

The software updater gives me error as below while checking for updates

Failed to download repository information

I am using Zorin OS 15.3 lite version and while I run the command

sudo apt-get update

I get the following response

Hit:1 Index of /ubuntu bionic InRelease
Hit:2 Index of /ubuntu bionic-updates InRelease
Hit:3 Index of /ubuntu bionic-backports InRelease
Hit:4 Index of /zorinos/apps/ubuntu bionic InRelease
Get:5 Index of /repos/edge/ stable InRelease [7,343 B]
Hit:6 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease
Hit:7 https://debrepo.freedownloadmanager.org bionic InRelease
Hit:8 Index of /zorinos/patches/ubuntu bionic InRelease
Hit:9 Index of /stable/ bionic InRelease
Hit:10 Index of /patches/ bionic InRelease
Hit:11 Index of /zorinos/stable/ubuntu bionic InRelease
Err:5 Index of /repos/edge/ stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
Hit:12 Index of /apps/ bionic InRelease
Hit:13 Index of /drivers/ bionic InRelease
Hit:14 Index of /ubuntu bionic-security InRelease
Reading package lists... Done
W: GPG error: Index of /repos/edge/ stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'Index of /repos/edge/ stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Any ideas where I should look ?

Your Microsoft Edge repository key is unsigned. You can remove the repository, or you can add the key with:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'

sudo apt update && sudo apt install microsoft-edge-beta

Or...

Download the .deb package for Linux and double click to use the installer to install it.
https://www.microsoftedgeinsider.com/en-us/

Thanks, After adding the key I don't get the error anymore. So from now my system will automatically keep Microsoft Edge up to date?

1 Like

Yep, with the key added for the repository, any updates will be offered in the Software Updater or will be included in sudo apt update && sudo apt upgrade.

1 Like

Got it :+1:

Microsoft coming to linux now ? Really ? Calling Tux now, hammer time :joy:

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.