It happened for the first time while trying to install krita (screenshot above), but it happens with any package. I tried reranking mirrors and reinstalling both archlinux-keyring and endeavouros-keyring packages, and that’s when this other error happened:
Sorry, this is my first post in a forum of any kind so I wasn’t familiar with the fact I can’t post screenshots of term output.
file /var/lib/pacman/sync/* has this output:
/var/lib/pacman/sync/core.db: gzip compressed data, from Unix, original size modulo 2^32 593920
/var/lib/pacman/sync/endeavouros.db: HTML document, ASCII text, with very long lines (4070)
/var/lib/pacman/sync/endeavouros.db.sig: HTML document, ASCII text, with very long lines (4070)
/var/lib/pacman/sync/extra.db: gzip compressed data, from Unix, original size modulo 2^32 32931840
/var/lib/pacman/sync/multilib.db: gzip compressed data, from Unix, original size modulo 2^32 655360
and the output of pacman-conf -r endeavouros is the following:
Usage = All
SigLevel = PackageNever
SigLevel = DatabaseNever
Server = https://mirror.nimatarlani.com/endeavouros/repo/endeavouros/x86_64
Server = https://mirrors.gigenet.com/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.moson.org/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.accum.se/mirror/endeavouros/repo/endeavouros/x86_64
Server = https://endeavouros.ip-connect.info/repo/endeavouros/x86_64
Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/endeavouros/x86_64
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.alpix.eu/endeavouros/repo/endeavouros/x86_64
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/endeavouros/x86_64
Server = https://fosszone.csd.auth.gr/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.funami.tech/endeavouros/repo/endeavouros/x86_64
Server = https://ftp.belnet.be/mirror/endeavouros/repo/endeavouros/x86_64
Server = https://mirrors.urbanwave.co.za/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.archlinux.tw/EndeavourOS/repo/endeavouros/x86_64
Server = https://de.freedif.org/EndeavourOS/repo/endeavouros/x86_64
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.freedif.org/EndeavourOS/repo/endeavouros/x86_64
Server = https://mirror.jingk.ai/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.albony.xyz/endeavouros/repo/endeavouros/x86_64
Server = https://mirror.sjtu.edu.cn/endeavouros/repo/endeavouros/x86_64