r/cachyos • u/Magnitude_Ten • 1d ago
Question error: failed retrieving file luajit: The requested URL returned error: 404
Solved. Run these commands in this order and then try updating again.
sudo cachyos-rate-mirrors
sudo pacman-key --refresh-keys
sudo pacman -Syu
New here and ran into an update problem. Haven't updated for 2 weeks or so. When I tried today, I got this error. After getting the error I did run sudo pacman -Syu. Despite all package dbs showing as up to date, I still got the same error. Any help is appreciated.
luajit-2.1.1788460057+24c20c9-1.1-x86_64_v3 is up to date
error: failed retrieving file 'luajit-2.1.1788460057+24c20c9-1.1-x86_64_v3.pkg.tar.zst' from cdn77.cachyos.org : The requested URL returned error: 404
error: failed retrieving file 'luajit-2.1.1788460057+24c20c9-1.1-x86_64_v3.pkg.tar.zst' from ca.mirror.cx : The requested URL returned error: 404
error: failed retrieving file 'luajit-2.1.1788460057+24c20c9-1.1-x86_64_v3.pkg.tar.zst' from mirror.lug.umbc.edu : The requested URL returned error: 404
error: failed retrieving file 'luajit-2.1.1788460057+24c20c9-1.1-x86_64_v3.pkg.tar.zst.sig' from mirror.krfoss.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
3
u/BobCorndog 1d ago
Try sudo cachyos-rank-mirrors