Fix: Raspberry Pi OS - Failed to fetch http...
This tutorial will show you what to do when you try to update Raspberry Pi OS and get the following error: Failed to fetch http://archive.raspberrypi.org/...
Fix: Raspberry Pi OS - Failed to fetch http...
- Open the terminal.
-
Type the following command:
sudo nano /etc/apt/sources.list.d/raspi.list
- Press the Enter key on your keyboard.
- Change the URL to https. Change http://archive.raspberrypi.org/debian/ to https://archive.raspberrypi.org/debian/.
- Press the Ctrl + O keys on your keyboard to write out.
- Press Enter.
- Press the Ctrl + X keys to exit.
- Restart your Raspberry Pi.
- Open the terminal.
-
Try to update using the following commands.
sudo apt update
sudo apt full-upgrade