Skip to main content
Topic: [SOLVED] All keyrings broken (Read 935 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] All keyrings broken

Straight up forward: I was trying to activate a lot of repositories by adding them to /etc/pacman.conf, to see if I can fetch intersating software with yay or whatever. It didn't work because it said some keyrings were corrupted, so I googled for solutions, and one of them told to delete the .sig files in /var/lib/pacman/sync, and I did. But now my entire pacman seems to be broken, and I can't even update or download basic programs.

(something like this)
Code: [Select]
[andontie-aur]
Server = https://aur.andontie.net/$arch
 
[archstrike]
Server = https://mirror.archstrike.org/$arch/$repo
 
[alerque]
Server = https://arch.alerque.com/$arch
 
[artafinde]
Server = https://pkgbuild.com/~artafinde/repo
 
[aviallon]
Server = https://mirror.lesviallon.fr/$repo/os/$arch
 
[chaotic-aur]
Server = https://geo-mirror.chaotic.cx/$repo/$arch
 
[desolve]
Server = https://desolve.ru/archrepo/$arch
 
[herecura]
Server = https://repo.herecura.eu/$repo/$arch
I tried to reset all my keyrings, following this video ( https://www.youtube.com/watch?v=1WHVIYXXOgQ ) doing sudo rm -r /etc/pacman.d/gnupg, and populating again. This didn't seem to work (although I now can install, e.g. cowsay, which I couldn't before).
I'm in extreme trouble with this and I seek for help. Otherwise I will have to re-install another distro the fifth time this week.

Here is my pacman -Syu output:
Code: [Select]
~/ > sudo pacman -Su      
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (52) atril-1.26.0-3  cups-filters-1.28.16-3  curl-7.87.0-2
              cython-0.29.33-1  djvulibre-3.5.28-4  electron19-19.1.9-2
              gdk-pixbuf2-2.42.10-2  gedit-44.1-1  ghostscript-10.0.0-4
              glslang-11.13.0-2  gtk-update-icon-cache-1:4.8.3-3  gtk4-1:4.8.3-3
              gvfs-1.50.3-1  gvfs-mtp-1.50.3-1  imagemagick-7.1.0.57-2
              imlib2-1.10.0-2  lcms2-2.14-2  libadwaita-1:1.2.1-1
              libcamera-0.0.3-3  libgxps-0.3.2-3  libmm-glib-1.20.4-1
              libopenraw-0.3.3-1  libpcap-1.10.2-1  libplacebo-5.229.1-2
              libpsl-0.21.2-1  libsndfile-1.2.0-1  libstemmer-2.2.0-2
              libtiff-4.5.0-1  libwebp-1.2.4-2  libx11-1.8.3-4  make-4.4-1
              mesa-22.3.2-3  modemmanager-1.20.4-1  mpg123-1.31.1-1
              mpv-1:0.35.0-4  ncurses-6.4-1  openjpeg2-2.5.0-2
              pacman-contrib-1.8.2-1  poppler-23.01.0-3  poppler-glib-23.01.0-3
              ranger-1.9.3-6  sdl2_image-2.6.2-3  shaderc-2022.4-1
              shadow-4.13-1  spirv-tools-2022.4-1  sway-1:1.8-3
              tracker3-3.4.2-1  virtualbox-7.0.4-3  virtualbox-host-dkms-7.0.4-3
              vlc-3.0.18-6  wlroots-0.16.1-2  xreader-3.6.2-2

Total Download Size:   129.92 MiB
Total Installed Size:  773.89 MiB
Net Upgrade Size:        5.82 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 virtualbox-7.0.4...    42.3 MiB   563 KiB/s 01:17 [#######################] 100%
 ghostscript-10.0...    15.4 MiB   590 KiB/s 00:27 [#######################] 100%
 vlc-3.0.18-6-x86_64    11.5 MiB   629 KiB/s 00:19 [#######################] 100%
 mesa-22.3.2-3-x86_64   10.5 MiB   724 KiB/s 00:15 [#######################] 100%
 gtk4-1:4.8.3-3-x...     6.9 MiB   715 KiB/s 00:10 [#######################] 100%
 sway-1:1.8-3-x86_64     5.1 MiB   705 KiB/s 00:07 [#######################] 100%
 glslang-11.13.0-...     3.0 MiB   729 KiB/s 00:04 [#######################] 100%
 imagemagick-7.1....     2.9 MiB   728 KiB/s 00:04 [#######################] 100%
 libx11-1.8.3-4-x...     2.0 MiB   723 KiB/s 00:03 [#######################] 100%
 gedit-44.1-1-x86_64  1930.6 KiB   720 KiB/s 00:03 [#######################] 100%
 cython-0.29.33-1...  1925.3 KiB   600 KiB/s 00:03 [#######################] 100%
 atril-1.26.0-3-x...  1671.1 KiB   364 KiB/s 00:05 [#######################] 100%
 poppler-23.01.0-...  1568.3 KiB   335 KiB/s 00:05 [#######################] 100%
 mpv-1:0.35.0-4-x...  1476.4 KiB   315 KiB/s 00:05 [#######################] 100%
 spirv-tools-2022...  1448.7 KiB   277 KiB/s 00:05 [#######################] 100%
 modemmanager-1.2...  1316.2 KiB   370 KiB/s 00:04 [#######################] 100%
 libtiff-4.5.0-1-...  1262.2 KiB   365 KiB/s 00:03 [#######################] 100%
 libopenraw-0.3.3...  1199.5 KiB   407 KiB/s 00:03 [#######################] 100%
 shadow-4.13-1-x86_64 1193.1 KiB   701 KiB/s 00:02 [#######################] 100%
 ncurses-6.4-1-x86_64 1182.2 KiB   637 KiB/s 00:02 [#######################] 100%
 curl-7.87.0-2-x86_64 1177.7 KiB   651 KiB/s 00:02 [#######################] 100%
 xreader-3.6.2-2-...  1101.7 KiB   705 KiB/s 00:02 [#######################] 100%
 gvfs-1.50.3-1-x86_64 1018.6 KiB   623 KiB/s 00:02 [#######################] 100%
 djvulibre-3.5.28...   958.8 KiB   695 KiB/s 00:01 [#######################] 100%
 openjpeg2-2.5.0-...   928.5 KiB   490 KiB/s 00:02 [#######################] 100%
 cups-filters-1.2...   859.1 KiB   695 KiB/s 00:01 [#######################] 100%
 libcamera-0.0.3-...   837.5 KiB   501 KiB/s 00:02 [#######################] 100%
 libmm-glib-1.20....   785.8 KiB   679 KiB/s 00:01 [#######################] 100%
 virtualbox-host-...   762.6 KiB   477 KiB/s 00:02 [#######################] 100%
 tracker3-3.4.2-1...   687.0 KiB   349 KiB/s 00:02 [#######################] 100%
 imlib2-1.10.0-2-...   561.4 KiB   451 KiB/s 00:01 [#######################] 100%
 make-4.4-1-x86_64     519.3 KiB   169 KiB/s 00:03 [#######################] 100%
 gdk-pixbuf2-2.42...   516.7 KiB   393 KiB/s 00:01 [#######################] 100%
 mpg123-1.31.1-1-...   437.1 KiB   426 KiB/s 00:01 [#######################] 100%
 libadwaita-1:1.2...   424.3 KiB   637 KiB/s 00:01 [#######################] 100%
 libplacebo-5.229...   392.6 KiB   651 KiB/s 00:01 [#######################] 100%
 wlroots-0.16.1-2...   391.9 KiB   448 KiB/s 00:01 [#######################] 100%
 ranger-1.9.3-6-any    380.8 KiB   645 KiB/s 00:01 [#######################] 100%
 libwebp-1.2.4-2-...   344.5 KiB   630 KiB/s 00:01 [#######################] 100%
 libsndfile-1.2.0...   316.3 KiB   625 KiB/s 00:01 [#######################] 100%
 poppler-glib-23....   289.2 KiB   615 KiB/s 00:00 [#######################] 100%
 libpcap-1.10.2-1...   285.6 KiB   371 KiB/s 00:01 [#######################] 100%
 lcms2-2.14-2-x86_64   214.4 KiB   579 KiB/s 00:00 [#######################] 100%
 shaderc-2022.4-1...   154.6 KiB   544 KiB/s 00:00 [#######################] 100%
 libstemmer-2.2.0...   134.3 KiB   517 KiB/s 00:00 [#######################] 100%
 libgxps-0.3.2-3-...   109.8 KiB   477 KiB/s 00:00 [#######################] 100%
 libpsl-0.21.2-1-...    81.8 KiB   447 KiB/s 00:00 [#######################] 100%
 sdl2_image-2.6.2...    65.9 KiB   412 KiB/s 00:00 [#######################] 100%
 gvfs-mtp-1.50.3-...    48.6 KiB   316 KiB/s 00:00 [#######################] 100%
 pacman-contrib-1...    41.5 KiB   235 KiB/s 00:00 [#######################] 100%
 gtk-update-icon-...    16.3 KiB   132 KiB/s 00:00 [#######################] 100%
 Total (51/51)         129.9 MiB   559 KiB/s 03:58 [#######################] 100%
(52/52) checking keys in keyring                   [#######################] 100%
(52/52) checking package integrity                 [#######################] 100%
error: ncurses: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/ncurses-6.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libtiff: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libtiff-4.5.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: djvulibre: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/djvulibre-3.5.28-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: lcms2: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/lcms2-2.14-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gdk-pixbuf2: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gdk-pixbuf2-2.42.10-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libx11: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libx11-1.8.3-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: shadow: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/shadow-4.13-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libpsl: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libpsl-0.21.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: curl: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/curl-7.87.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: mesa: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/mesa-22.3.2-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gtk-update-icon-cache: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gtk-update-icon-cache-1:4.8.3-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libgxps: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libgxps-0.3.2-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: openjpeg2: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/openjpeg2-2.5.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: poppler: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/poppler-23.01.0-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: poppler-glib: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/poppler-glib-23.01.0-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: ghostscript: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/ghostscript-10.0.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libwebp: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libwebp-1.2.4-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: atril: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/atril-1.26.0-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: cups-filters: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/cups-filters-1.28.16-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: cython: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/cython-0.29.33-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: mpg123: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/mpg123-1.31.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libsndfile: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libsndfile-1.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gedit: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gedit-44.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: glslang: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/glslang-11.13.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libstemmer: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libstemmer-2.2.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: tracker3: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/tracker3-3.4.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gtk4: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gtk4-1:4.8.3-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gvfs: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gvfs-1.50.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: gvfs-mtp: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gvfs-mtp-1.50.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: imagemagick: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/imagemagick-7.1.0.57-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: imlib2: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/imlib2-1.10.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libadwaita: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libadwaita-1:1.2.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libcamera: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libcamera-0.0.3-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libmm-glib: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libmm-glib-1.20.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libopenraw: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libopenraw-0.3.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libpcap: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libpcap-1.10.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: spirv-tools: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/spirv-tools-2022.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: shaderc: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/shaderc-2022.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: libplacebo: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/libplacebo-5.229.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: make: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/make-4.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: modemmanager: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/modemmanager-1.20.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: mpv: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/mpv-1:0.35.0-4-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: pacman-contrib: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/pacman-contrib-1.8.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: ranger: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/ranger-1.9.3-6-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: sdl2_image: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/sdl2_image-2.6.2-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: wlroots: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/wlroots-0.16.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: sway: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/sway-1:1.8-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: virtualbox-host-dkms: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/virtualbox-host-dkms-7.0.4-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: virtualbox: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/virtualbox-7.0.4-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: vlc: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/vlc-3.0.18-6-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: xreader: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/xreader-3.6.2-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
~/ >
peace

Re: All keyrings broken

Reply #1
sudo pacman-key --populate archlinux artix

that would do your artix and arch keyrings on the assumption its not been totally messed up....hash out all the extra cack you put in pacman.conf, sudo pacman -Syu too.  then see.

 ps. randomly googling and using commands is a great way to break a system.   If something doesn't work, undo what broke it and learn/work out why.   Alternative is to distro hop for the fifth time in a week and repeat the same mistakes and not learn.  Just saying.  So maybe start from scratch and learn as you go, slow steady....

Re: All keyrings broken

Reply #2
If just doing the pacman-key --populate commands does not do the job, you may have to use the start over approach with the pacman keys.
Code: [Select]
# rm -rf /etc/pacman.d/gnupg or mv /etc/pacman.d/gnupg /etc/pacman.d/gnupg-broken
# pacman-key --init
# pacman-key --populate artix
# pacman-key --populate archlinux
I am not sure but I believe that Artix keyring should be added first from a previous forum thread message from  one the developers.

Remove or comment out those third party repositories and pacman -Syu should function again once the above steps are completed.

The choice is yours of course if you want to try distro hopping but one still has to learn what is best each distro. If you do not learn the best practices for the distro of choice, you will have a recipe for disaster leaving you with nothing but bad experiences no matter what distribution you choose.

A note on adding repositories:
If you just add any 3rd party unsupported repository that looks interesting to the repository list is just asking for breakage. This is true for any Linux distro that exists. Any repository that is not directly a component of a distro has a risk associated with their use. There are pass examples of bad actors creating compromised repositories in the Linux world. I am not saying any of these repositories are in fact compromised. One should learn how to create a PKGBUILD for stuff then  make the package you are interested in yourself locally. Then you will know if the build was good or not. Plus you will be able to build any package you want even if there is no PKGBUILD for it in existence.

As far as 3rd party repositories go, I personally only consider them if the author has signed the repository with their key then add that key to my pacman keyring. The only repository I have actually added is to my own private local repository for those custom compiled packages which I sign with my own key. When the package is signed any file corruption will be noticed so that is why I do the signing step to my builds even though I trust my builds. I believe that is the safest way for those "interesting packages".

Also remember that everyone is doing this out of their own free time so attitude is important when asking for help. No one wants to help someone who does want to help themselves. Life is too short so take it easy, have fun and relax. All good things come to those who do.