Install failed with "Failed to run pacstrap"

I just installed Ubuntu in one partition. Tried to install EndeavourOS in another got “failed to run pacstrap”.

My drive has 5 partitions: EFI, swap, ubuntu, EndeavourOS, and data. I was formatting the EFI and EndeavourOS partitions. EFI was mounted at /boot/efi and had the “boot” flag set. Ubuntu and data were mounted at /mnt/ubuntu and /mnt/mass_storage. All drives are ext4, except EFI which was FAT32.

There are 3 other drives on the system that were not touched.
ChatGPT said to check clock and update mirrorlist. I did that and still got same error.

https://termbin.com/t2g0

How did you update the mirrorlist and which mirrorlist did you update.

pacman is failing to download the files.

2026-02-06 - 15:25:49 [6]: [PYTHON JOB]: "pacstrap: error: failed retrieving file 'linux-headers-6.18.7.arch1-1-x86_64.pkg.tar.zst.sig' from at.arch.mirror.kescher.at : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds" 
2026-02-06 - 15:25:49 [6]: [PYTHON JOB]: "pacstrap: warning: failed to retrieve some files" 
2026-02-06 - 15:25:49 [6]: [PYTHON JOB]: "pacstrap: error: failed to commit transaction (failed to retrieve some files)" 
2026-02-06 - 15:25:49 [6]: [PYTHON JOB]: "pacstrap: Errors occurred, no packages were upgraded." 
2026-02-06 - 15:25:49 [6]: [PYTHON JOB]: "pacstrap: ==> ERROR: Failed to install packages to new root" 
2026-02-06 - 15:25:49 [6]: virtual void Calamares::JobThread::run()

timeout on try getting kernel package..
I do not see it is using ranked mirrorlist, as log shows it is ranking them (would not be the case if ranked before on the live session)

Make sure you click the button in welcome that ranks the Arch mirrors and not only the EOS mirrors.

I used this command to update the mirrorlist:

sudo reflector –country US,CA –latest 20 –protocol https –sort rate –save /etc/pacman.d/mirrorlist

ChatGPT also said that a mirror was slow. I dropped all mirrors that didn’t end in EDU. It worked.

Thanks for your help, everyone!