Sudo pacman update error

:: Proceed with installation? [Y/n] y
:: Retrieving packages…
archlinux-appstream-data-20221014-1-any.pkg.tar.zst failed to download
Total ( 1/295) 379.7 MiB 2.71 GiB/s 00:00 [######################] 100%
error: failed retrieving file ‘archlinux-appstream-data-20221014-1-any.pkg.tar.zst’ from mirror.albony.xyz : 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.

reconstruct a fresh mirrorlist

sudo pacman-mirrors --continent && sudo pacman -Syyu
2 Likes

Refresh mirrors first:
sudo pacman-mirrors -f5

Proceed with the update with:
sudo pacman -Syyu

Hey, I run mirror.albony.xyz
I’m sorry that you faced this problem. Actually it was a misconfiguration on my end. Every request that had “archlinux” in it was being redirected to the arch mirror instead of the respective repo.
I fixed this when I noticed 404 errors in the mirror logs a while ago.
:sweat_smile:

1 Like

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