Error: could not open endeavouros.db: unrecognized file format

Looks like you cannot get the proper database for EnOS downloaded from its mirrors :thinking:

For now you may want to update your Arch packages to begin with and later tackle the issue with EnOS.

Comment out EnOS repo in your /etc/pacman.conf.

#[endeavouros]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/endeavouros-mirrorlist

Run the update command and update your Arch packages.