Community.db : error 404

The [community] repository has been deprecated, which is what those failed commands are trying to access. You need to remove it from /etc/pacman.com.

News about it here:

You also have the option of updating it with the current EndeavourOS one. This will pull pacman.conf from the EndeavourOS GitHub repository, and overwrite your current version.

wget -O ~/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/airootfs/etc/pacman.conf
sudo cp ~/pacman.conf /etc/pacman.conf

Edited to correct permissions shortfall @manuel noted.

1 Like