I repeatedly got a corrupted package warning about boost-libs, I disabled parallel downloads in pacman.conf and deleted all the sync/* items plus the corrupted package but that made no difference, until eventually I installed the updated version from extra with pacman -S extra/boost-libs. Perhaps pacman was making an "html 404" file because looking at my top mirror boost-libs isn't even there yet:
https://ftp.cc.uoc.gr/mirrors/linux/artixlinux/world/os/x86_64/
while it's here:
http://mirror1.artixlinux.org/repos/world/os/x86_64/
so it looks like the repo database was synced somehow before the package made it across, there might be a bug in the sync procedure perhaps, which is being amplified by the 404 bug?
Perhaps if the system ensured the database was equivalent to the currently synced packages in that repo it would work better?
:: Synchronizuje se databáze balíčků...
system is up to date
world 1816,9 KiB 3,15 MiB/s 00:01 [########################################] 100%
galaxy is up to date
lib32 is up to date
extra 1562,7 KiB 1973 KiB/s 00:01 [########################################] 100%
community 5,6 MiB 2,43 MiB/s 00:02 [########################################] 100%
universe is up to date
:: Spouští se aktualizace systému...
řeší se závislosti..
kontrola konfliktních balíčků...
Balíčky (2) boost-1.75.0-5 boost-libs-1.75.0-5
Celková velikost ke stažení: 15,72 MiB
Celková velikost po instalaci: 178,46 MiB
Odhadovaná velikost aktualizace: 1,59 MiB
:: Pokračovat v instalaci? [A/n]
:: Stahují se balíčky...
boost-libs-1.75.0-5-x86_64 2,4 MiB 2,57 MiB/s 00:01 [########################################] 100%
boost-1.75.0-5-x86_64 13,3 MiB 2,56 MiB/s 00:05 [########################################] 100%
Total (2/2) 15,7 MiB 2,50 MiB/s 00:06 [########################################] 100%
(2/2) kontrola klíčů v klíčence [########################################] 100%
(2/2) kontrola integrity balíčků [########################################] 100%
(2/2) načítání balíčku [########################################] 100%
(2/2) kontrola konfliktů souborů [########################################] 100%
(2/2) kontrola volného místa na disku [########################################] 100%
:: Zpracovávání změn balíčku...
(1/2) aktualizace boost-libs [########################################] 100%
(2/2) aktualizace boost [########################################] 100%
:: No AUR updates found...
i have no problem, try pacman -Syyu
seems as problem with synchronization... can be fixed due automatic sync in next 30 minutes...
I did, and some more things too, perhaps it depends which mirrors you have enabled in /etc/pacman.d/mirrorlist and in what order. I only have https ones enabled usually.
# rm /var/lib/pacman/sync/*
# pacman-key --refresh-keys
# pacman-key --init
# pacman-key --populate archlinux artix
==> Appending keys from archlinux.gpg...
gpg: public key DB323392796CA067 is 3037 days newer than the signature
==> Appending keys from artix.gpg...
gpg: public key DB323392796CA067 is 3037 days newer than the signature
==> Locally signing trusted keys in keyring...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
==> Updating trust database...
gpg: next trustdb check due at 2021-08-02
# pacman -Syy
:: Synchronising package databases...
system 260.5 KiB 310 KiB/s 00:01 [--------------------------------------------------------] 100%
world 1816.9 KiB 520 KiB/s 00:03 [--------------------------------------------------------] 100%
galaxy 1743.4 KiB 758 KiB/s 00:02 [--------------------------------------------------------] 100%
lib32 138.9 KiB 222 KiB/s 00:01 [--------------------------------------------------------] 100%
universe 63.3 KiB 103 KiB/s 00:01 [--------------------------------------------------------] 100%
extra 1562.7 KiB 941 KiB/s 00:02 [--------------------------------------------------------] 100%
community 5.6 MiB 1024 KiB/s 00:06 [--------------------------------------------------------] 100%
multilib 150.1 KiB 938 KiB/s 00:00 [--------------------------------------------------------] 100%
# pacman -Syu
:: Synchronising package databases...
system is up to date
world is up to date
galaxy is up to date
lib32 is up to date
universe is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (3) boost-libs-1.75.0-5 libgusb-0.3.7-1 xfce4-settings-4.16.2-1
Total Download Size: 2.39 MiB
Total Installed Size: 14.62 MiB
Net Upgrade Size: -0.11 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
boost-libs-1.75.0-5-x86_64 2.4 MiB 917 KiB/s 00:03 [--------------------------------------------------------] 100%
error: failed retrieving file 'boost-libs-1.75.0-5-x86_64.pkg.tar.zst' from ftp.cc.uoc.gr : The requested URL returned error: 404
(3/3) checking keys in keyring [--------------------------------------------------------] 100%
(3/3) checking package integrity [--------------------------------------------------------] 100%
error: boost-libs: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/boost-libs-1.75.0-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
problem is with your GR mirror, this packages missing in your GR mirror. Use http://mirror1.artixlinux.org/repos/world/os/x86_64/ as your primary mirror instead.