Saturday, July 23, 2022

[SOLVED] Rapsberry pi getting an 404 ERROR while upgrading

Issue

I tried to install the FLIR Lepton library on Raspberry Pi zero w but as i was theFLIR Lepton (sudo apt-get install qt4-dev-tools)in pi this error message show up

Get:105 http://archive.raspberrypi.org/debian buster/main armhf vlc-plugin-video-splitter armhf 3.0.12-0+deb10u1+rpt1 [140 kB]
Get:106 http://archive.raspberrypi.org/debian buster/main armhf vlc-plugin-visualization armhf 3.0.12-0+deb10u1+rpt1 [142 kB]
E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/b/base-files/base-files_10.3+rpi1+deb10u8_armhf.deb  404  Not Found [IP: ---------]
E: Failed to fetch http://mirror1.ku.ac.th/raspbian/raspbian/pool/main/s/systemd/systemd-sysv_241-7~deb10u6+rpi1_armhf.deb  404  Not Found [IP: ---------]

this is an example there are 100+ line of these

as i trying to troubleshoot the error i found out that not just the upgrading that has an error. there is the same 404 error with upgrade and update as well. Is there any problem with the raspberry pi or maybe my internet?

PS. The raspberry pi is brand new, and i use ssh to connect to the raspberry pi

PS.2 I just reinstall the OS the result is the same

PS.3 I randomly choose the link in the terminal. it direct me in to the ERROR 404 web as well


Solution

my answer is that there are some problem in mirror1.ku what i need to do is go to

sudo nano /etc/apt/sources.list

then add

deb http://mirror1.ku.ac.th/raspbian buster main contrib non-free rpi

in the last line then its all fine. the reason is that my raspberry is redirecting into the wrong directory and that's the reason for 404 error



Answered By - Papop Lekhapanyaporn
Answer Checked By - Marilyn (WPSolving Volunteer)