To fix the “Failed to download repository information” error in Linux Mint, firstcheck your internet connection and then try changing your software repository mirror to a faster or different server. If that doesn’t work, use the Update Manager’s “fix missing keys” button or manually disable problematic third-party repositories in “Software Sources”.
Step 1: Check internet and try basic fixes
- Check your internet connection: Ensure you have a stable internet connection.
- Run
sudo apt update: Open a terminal and runsudo apt update. Look for specific error messages in the output, which may indicate the exact problem. - Fix missing keys: Go to Menu > Administration > Update Manager, then click Maintenance > Fix Missing Keys.
Step 2: Change your software repository mirror
- Open Software Sources: Go to Menu > Administration > Software Sources.
- Select a different mirror: In the Ubuntu Software tab, click the Download From dropdown menu. Choose Other, then click Select Best Server to find a faster mirror, or manually select a country from the list.
- Reload the repositories: After changing the mirror, a pop-up will ask to reload the repositories. Click Reload.
Step 3: Troubleshoot third-party repositories
- Temporarily disable third-party sources: In Software Sources, go to the Additional Repositories tab and uncheck all entries.
- Reload and test: Click Reload after disabling them. If the error is gone, re-enable them one by one and click Reload after each one until the error reappears. The last one you enabled is likely the cause.
- Remove or fix the problematic repository:
- If you identify a specific repository causing the error, you can uncheck it to disable it.
- Sometimes a specific repository (like an old one for a program you’ve removed) is the issue. For example, if you’ve installed software from a third-party repo like Steam, you may need to add the correct GPG key manually using a command like
curl -s http://repo.steampowered.com/steam/archive/stable/steam.gpg | sudo tee /usr/share/keyrings/steam.gpg > /dev/null.
Step 4: If still unresolved
- Clear apt cache: You can clear the cache by running
sudo apt cleanand thensudo apt update. - Rebuild dependency list: Run
sudo apt update --fix-missingto try and fix any broken packages.