Sunday, December 14, 2025

Bring CachyOS KDE Plasma 6.5.4 along with kernel 6.18.1 to Arch Linux Bare Metal Instance

UPDATE as of  01/18/2026

To avoid failure when running  `sudo ./cachy-repo.sh` on fresh installation following below update  is required

$ diff ./NEW/cachyos-repo.sh ./OLD/cachyos-repo.sh
165c165
<               "${mirror_url}/pacman-7.1.0.r9.g54d9411-2-x86_64.pkg.tar.zst"
---
>               "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"

END UPDATE  

UPDATE as of 12/14/2025

To avoid failure when running  `sudo ./cachy-repo.sh` on fresh installation following below update  is required

$ diff ./NEW/cachyos-repo.sh ./OLD/cachyos-repo.sh
165c165
<               "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"
---
>               "${mirror_url}/pacman-7.0.0.r7.g1f38429-2-x86_64.pkg.tar.zst"

END UPDATE 

Several times schema proposed in  https://lxer.com/module/newswire/view/358937/index.html has been run with no issues on bare metal .  

Re-sync provided by function u() embedded in  ~/.bashrc was tested successfully on bare metal  multiple times

u() {

   sudo cachyos-rate-mirrors && yay --noconfirm

   # Clear pacman cache completely (drops all cached packages, except last 3)

   sudo paccache -rk3 <<< y

   # Remove orphaned packages without prompt

   sudo pacman -Rns $(pacman -Qtdq) --noconfirm || true

}


[boris@ArchPlasma15DEC ~]$ fastfetch

                  -`                     boris@ArchPlasma15DEC
                 .o+`                    ---------------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Host: KVM/QEMU Standard PC (Q35 + ICH9, 2009) (pc-q35-10.1)
              `+oooooo:                  Kernel: Linux 6.18.1-2-cachyos
              -+oooooo+:                 Uptime: 1 hour, 24 mins
            `/:-:++oooo+:                Packages: 892 (pacman)
           `/++++/+++++++:               Shell: bash 5.3.8
          `/++++++++++++++:              Display (QEMU Monitor): 1920x1080 in 15", 60 Hz
         `/+++ooooooooooooo/`            DE: KDE Plasma 6.5.4
        ./ooosssso++osssssso+`           WM: KWin (Wayland)
       .oossssso-````/ossssss+`          WM Theme: Breeze
      -osssssso.      :ssssssso.         Theme: Breeze (Light) [Qt], Breeze [GTK2/3]
     :osssssss/        osssso+++.        Icons: breeze [Qt], breeze [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: Noto Sans (12pt) [Qt], Noto Sans (12pt) [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Cursor: breeze (24px)
 `+sso+:-`                 `.-/+oso:     Terminal: konsole 25.12.0
`++:.                           `-/+/    Terminal Font: Hack (15pt)
.`                                 `/    CPU: 8 x AMD Ryzen 7 3700X (8) @ 3.60 GHz
                                         GPU: RedHat Virtio 1.0 GPU
                                         Memory: 3.19 GiB / 15.24 GiB (21%)
                                         Swap: 0 B / 4.00 GiB (0%)
                                         Disk (/): 8.15 GiB / 69.00 GiB (12%) - btrfs
                                         Local IP (enp1s0): 192.168.0.45/24
                                         Locale: en_US.UTF-8


[boris@ArchPlasma15DEC ~]$ sudo pacman -Syyu
:: Synchronizing package databases...
 cachyos-v3                                                        149.4 KiB   644 KiB/s 00:00 [#######################################################] 100%
 cachyos-core-v3                                                   104.9 KiB   450 KiB/s 00:00 [#######################################################] 100%
 cachyos-extra-v3                                                    4.2 MiB  5.26 MiB/s 00:01 [#######################################################] 100%
 cachyos                                                           504.9 KiB   883 KiB/s 00:01 [#######################################################] 100%
 core                                                              118.3 KiB   397 KiB/s 00:00 [#######################################################] 100%
 extra                                                               8.1 MiB  4.54 MiB/s 00:02 [#######################################################] 100%
:: Starting full system upgrade...
 there is nothing to do

[boris@ArchPlasma15DEC ~]$ pacman -Ss plasma6*|grep v3
cachyos-extra-v3/angelfish 25.12.0-1.1 (kde-applications kde-network)
cachyos-extra-v3/aurorae 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/bluedevil 1:6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/breeze 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/breeze-plymouth 6.5.4-1.1 (plasma)
cachyos-extra-v3/calindori 25.12.0-1.1
cachyos-extra-v3/discover 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/drkonqi 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/flatpak-kcm 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kaccounts-integration 25.12.0-1.1 [installed]
cachyos-extra-v3/kactivitymanagerd 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kclock 25.12.0-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kde-cli-tools 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kde-gtk-config 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kdecoration 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kdeplasma-addons 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/keysmith 25.12.0-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kgamma 6.5.4-1.1 (plasma)
cachyos-extra-v3/kglobalacceld 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kinfocenter 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kmenuedit 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/knighttime 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kpipewire 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/krdp 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/krecorder 25.12.0-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kscreen 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kscreenlocker 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/ksshaskpass 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/ksystemstats 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kwallet-pam 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kwayland 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/kweather 25.12.0-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kwin 6.5.4-3.1 (plasma) [installed]
cachyos-extra-v3/kwin-x11 6.5.4-1.1 (plasma)
cachyos-extra-v3/kwrited 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/layer-shell-qt 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/libkscreen 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/libplasma 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/milou 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/oxygen 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-activities 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-activities-stats 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-applet-window-buttons 0.14.0-2.1
cachyos-extra-v3/plasma-browser-integration 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-desktop 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-disks 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-firewall 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-integration 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-keyboard 0.1.0-1.1
cachyos-extra-v3/plasma-nm 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-pa 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-pass 1.3.0-1.1
cachyos-extra-v3/plasma-sdk 6.5.4-1.1 (plasma)
cachyos-extra-v3/plasma-systemmonitor 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-thunderbolt 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-vault 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-welcome 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-workspace 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-x11-session 6.5.4-1.1
cachyos-extra-v3/plasma5-integration 6.5.4-1.1
cachyos-extra-v3/plasma5support 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/plasmatube 25.12.0-1.1 (kde-applications kde-multimedia)
cachyos-extra-v3/plymouth-kcm 6.5.4-1.1 (plasma)
cachyos-extra-v3/polkit-kde-agent 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/powerdevil 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/print-manager 1:6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/qmlkonsole 25.12.0-1.1
cachyos-extra-v3/qqc2-breeze-style 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/sddm-kcm 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/spectacle 1:6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/systemsettings 6.5.4-1.1 (plasma) [installed]
cachyos-extra-v3/wacomtablet 6.5.4-1.1 (plasma)
cachyos-extra-v3/xdg-desktop-portal-kde 6.5.4-1.1 (plasma) [installed]

[boris@ArchPlasma15DEC ~]$ pacman -Ss libvirt*|grep v3
cachyos-extra-v3/libvirt 1:11.10.0-1.1 [installed]
cachyos-extra-v3/libvirt-dbus 1.4.1-4.2
cachyos-extra-v3/libvirt-glib 5.0.0-3.2 [installed]
cachyos-extra-v3/libvirt-python 1:11.10.0-1.1 [installed]
cachyos-extra-v3/libvirt-storage-gluster 1:11.10.0-1.1
cachyos-extra-v3/libvirt-storage-iscsi-direct 1:11.10.0-1.1
cachyos-extra-v3/pcp-pmda-libvirt 7.0.5-1.1
cachyos-extra-v3/perl-sys-virt 11.6.0-1.1

[boris@ArchPlasma15DEC ~]$ pacman -Ss virt*|grep v3
cachyos-v3/jdk-openjdk 25.0.1.u8-2
cachyos-v3/jdk17-openjdk 17.0.17.u10-2
cachyos-v3/jdk21-openjdk 21.0.9.u10-2
cachyos-v3/jre-openjdk 25.0.1.u8-2
cachyos-v3/jre-openjdk-headless 25.0.1.u8-2
cachyos-v3/jre17-openjdk 17.0.17.u10-2
cachyos-v3/jre17-openjdk-headless 17.0.17.u10-2
cachyos-v3/jre21-openjdk 21.0.9.u10-2
cachyos-v3/jre21-openjdk-headless 21.0.9.u10-2
cachyos-v3/lib32-mesa-debug 1:25.3.1-3
cachyos-v3/lib32-vulkan-virtio 1:25.3.1-3
cachyos-v3/linux-cachyos 6.18.1-2 [installed]
cachyos-v3/linux-cachyos-bmq 6.18.1-1
cachyos-v3/linux-cachyos-bmq-lto 6.18.1-1
cachyos-v3/linux-cachyos-bore 6.18.1-1
cachyos-v3/linux-cachyos-bore-lto 6.18.1-1
cachyos-v3/linux-cachyos-deckify 6.18.1-2
cachyos-v3/linux-cachyos-deckify-lto 6.18.1-2
cachyos-v3/linux-cachyos-eevdf 6.18.1-1
cachyos-v3/linux-cachyos-eevdf-lto 6.18.1-1
cachyos-v3/linux-cachyos-gcc 6.18.1-2
cachyos-v3/linux-cachyos-hardened 6.17.9-2
cachyos-v3/linux-cachyos-hardened-lto 6.17.9-2
cachyos-v3/linux-cachyos-lts 6.12.62-2
cachyos-v3/linux-cachyos-lts-lto 6.12.62-2
cachyos-v3/linux-cachyos-rc 6.18.rc7-1
cachyos-v3/linux-cachyos-rc-gcc 6.15.rc7-6
cachyos-v3/linux-cachyos-rc-lto 6.18.rc7-1
cachyos-v3/linux-cachyos-rt-bore 6.18.1-1
cachyos-v3/linux-cachyos-rt-bore-lto 6.18.1-1
cachyos-v3/linux-cachyos-server 6.18.1-1
cachyos-v3/linux-cachyos-server-lto 6.18.1-1
cachyos-v3/mesa-debug 1:25.3.1-3
cachyos-v3/vulkan-virtio 1:25.3.1-3
cachyos-core-v3/leancrypto 1.6.0-1.1 [installed]
cachyos-core-v3/s-nail 14.9.25-1.1
cachyos-extra-v3/alicloud-vault 1.3.4-3.1
cachyos-extra-v3/avfs 1.2.0-1.1
cachyos-extra-v3/aws-vault 7.7.11-1.1
cachyos-extra-v3/budgie-desktop 10.9.4-1.1 (budgie)
cachyos-extra-v3/chrootuid 1.3-11.2
cachyos-extra-v3/cockatrice 2.10.2-5.1
cachyos-extra-v3/cosmic-comp 1:1.0.0-1.1 (cosmic)
cachyos-extra-v3/cosmic-files 1:1.0.0-1.1 (cosmic)
cachyos-extra-v3/cosmic-session 1:1.0.0-1.1 (cosmic)
cachyos-extra-v3/cosmic-settings 1:1.0.0-1.1 (cosmic)
cachyos-extra-v3/deepin-appearance 1.1.75-2.1 (deepin)
cachyos-extra-v3/deepin-application-manager 1.2.39-4.1 (deepin)
cachyos-extra-v3/deepin-calendar 6.5.5-1.1 (deepin)
cachyos-extra-v3/deepin-control-center 6.1.9-1.1 (deepin)
cachyos-extra-v3/deepin-session-shell 6.0.26-2.1 (deepin)
cachyos-extra-v3/deepin-session-ui 6.0.37-1.1 (deepin)
cachyos-extra-v3/deepin-wloutput-daemon 2.0.4-1.1 (deepin)
cachyos-extra-v3/direnv 2.37.1-1.1
cachyos-extra-v3/docker-compose 2.40.3-1.1
cachyos-extra-v3/exo 4.20.0-2.1 (xfce4)
cachyos-extra-v3/fakechroot 2.20.1-4.2
cachyos-extra-v3/fingerterm 1.4.14-1.1
cachyos-extra-v3/gnome-boxes 49.1-1.1 (gnome-extra)
cachyos-extra-v3/gnome-connections 49.0-1.1 (gnome)
cachyos-extra-v3/gnu-efi 3.0.18-2.1
cachyos-extra-v3/gtranslator 49.0-1.1
cachyos-extra-v3/httptunnel 3.3-9.1
cachyos-extra-v3/imvirt 0.9.6-13.1
cachyos-extra-v3/incus 6.19.1-1.1
cachyos-extra-v3/incus-tools 6.19.1-1.1
cachyos-extra-v3/ipvsadm 1.31-3.2
cachyos-extra-v3/kturtle 25.12.0-1.1 (kde-applications kde-education)
cachyos-extra-v3/kvirc 5.2.8-1.1
cachyos-extra-v3/leocad 25.09-1.1
cachyos-extra-v3/libcacard 2.8.1-1.1 [installed]
cachyos-extra-v3/libfakekey 0.3-4.1
cachyos-extra-v3/libgovirt 2:0.3.9-2.3
cachyos-extra-v3/libkrun 1.16.0-5.1
cachyos-extra-v3/libosinfo 1.12.0-2.1 [installed]
cachyos-extra-v3/libpg_query 17.6.2.0-1.1
cachyos-extra-v3/libredefender 0.7.0-2.1
cachyos-extra-v3/libvirt 1:11.10.0-1.1 [installed]
cachyos-extra-v3/libvirt-dbus 1.4.1-4.2
cachyos-extra-v3/libvirt-glib 5.0.0-3.2 [installed]
cachyos-extra-v3/libvirt-python 1:11.10.0-1.1 [installed]
cachyos-extra-v3/libvirt-storage-gluster 1:11.10.0-1.1
cachyos-extra-v3/libvirt-storage-iscsi-direct 1:11.10.0-1.1
cachyos-extra-v3/libxfce4ui 4.20.2-1.1
cachyos-extra-v3/mate-calc 1.28.0-3.1 (mate-extra)
cachyos-extra-v3/munge 0.5.17-1.1
cachyos-extra-v3/n2n 3.1.1-5.1
cachyos-extra-v3/nginx-mod-vts 0.2.3-5.2
cachyos-extra-v3/nickle 2.97-1.1
cachyos-extra-v3/open-vm-tools 6:13.0.5-1.1
cachyos-extra-v3/openslide 4.0.0-5.1
cachyos-extra-v3/openvpn 2.6.17-1.1
cachyos-extra-v3/openvswitch 3.5.1-1.1
cachyos-extra-v3/openxr 1.1.53-1.1 [installed]
cachyos-extra-v3/pcp-pmda-libvirt 7.0.5-1.1
cachyos-extra-v3/pd-gem 0.94-14.1 (pd-externals)
cachyos-extra-v3/perl-sys-virt 11.6.0-1.1
cachyos-extra-v3/plasma-keyboard 0.1.0-1.1
cachyos-extra-v3/prrte 3.0.12-1.1
cachyos-extra-v3/prrte-docs 3.0.12-1.1
cachyos-extra-v3/python-ovirt-engine-sdk 4.6.3-1.1
cachyos-extra-v3/qt5-serialport 5.15.18-1.1 (qt5)
cachyos-extra-v3/qt5-virtualkeyboard 5.15.18-1.1 (qt5)
cachyos-extra-v3/qt6-serialport 6.10.1-1.1 (qt6)
cachyos-extra-v3/qt6-virtualkeyboard 6.10.1-1.1 (qt6) [installed]
cachyos-extra-v3/qtcreator 18.0.1-1.1
cachyos-extra-v3/qtcreator-devel 18.0.1-1.1
cachyos-extra-v3/redland-storage-virtuoso 1:1.0.17-9.1
cachyos-extra-v3/repro-env 0.4.3-2.1
cachyos-extra-v3/roswell 24.10.115-1.1
cachyos-extra-v3/rutabaga-ffi 0.1.75-1.1 [installed]
cachyos-extra-v3/rye 0.44.0-1.1
cachyos-extra-v3/scummvm 2.9.1-2.1
cachyos-extra-v3/shotwell 2:0.32.14-1.1
cachyos-extra-v3/smplayer 25.6.0-1.1
cachyos-extra-v3/sweethome3d 7.5-1.2
cachyos-extra-v3/swi-prolog 10.0.0-1.1
cachyos-extra-v3/texstudio 4.9.0-1.1
cachyos-extra-v3/tinc 1.0.36-4.1
cachyos-extra-v3/toolbox 0.3-1.1
cachyos-extra-v3/ukui-notebook 3.1.1-2.1 (ukui)
cachyos-extra-v3/ukui-screensaver 3.0.2-10.1 (ukui)
cachyos-extra-v3/ukui-session-manager 3.0.5-2.2 (ukui)
cachyos-extra-v3/ukui-system-monitor 1.0.4-2.1 (ukui)
cachyos-extra-v3/ukui-window-switch 3.0.1-21.1 (ukui)
cachyos-extra-v3/vde2 2.3.3-8.1 [installed]
cachyos-extra-v3/vifm 0.14.3-2.1
cachyos-extra-v3/virglrenderer 1.2.0-1.1 [installed]
cachyos-extra-v3/virt-viewer 11.0-4.1
cachyos-extra-v3/virt-what 1.27-1.1
cachyos-extra-v3/virtiofsd 1.13.3-1.1 [installed]
cachyos-extra-v3/virtme-ng 1.40-1.1
cachyos-extra-v3/virtualbox-host-modules-arch 7.2.4-7.1
cachyos-extra-v3/virtualbox-host-modules-lts 7.2.4-9.1
cachyos-extra-v3/virtualgl 3.1.4-1.1
cachyos-extra-v3/vm.lv2 0.14.0-4.1 (lv2-plugins pro-audio)
cachyos-extra-v3/vmexec 0.2.0-1.1
cachyos-extra-v3/vmpk 0.9.1-1.1 (pro-audio)
cachyos-extra-v3/vtable-dumper 1.2-2.1
cachyos-extra-v3/vte-common 0.82.2-1.1 [installed]
cachyos-extra-v3/vte-docs 0.82.2-1.1
cachyos-extra-v3/vte3 0.82.2-1.1 [installed]
cachyos-extra-v3/vte4 0.82.2-1.1
cachyos-extra-v3/xdg-desktop-portal-cosmic 1:1.0.0-1.1 (cosmic)
cachyos-extra-v3/xdg-desktop-portal-dde 1.0.13-4.1 (deepin)
cachyos-extra-v3/xdg-desktop-portal-gnome 49.0-1.1 (gnome)
cachyos-extra-v3/xfce4-panel 4.20.5-2.1 (xfce4)
cachyos-extra-v3/xfce4-terminal 1.1.5-2.1 (xfce4)
cachyos-extra-v3/xorg-server-xvfb 21.1.21-1.1 (xorg)
[boris@ArchPlasma15DEC ~]$ pacman -Ss qemu*|grep v3
cachyos-extra-v3/libvirt 1:11.10.0-1.1 [installed]
cachyos-extra-v3/python-unicorn 2.1.4-1.1
cachyos-extra-v3/qt6-quickeffectmaker 6.10.1-1.1 (qt6)
cachyos-extra-v3/ruby-unicorn-engine 2.1.4-1.1
cachyos-extra-v3/unicorn 2.1.4-1.1
cachyos-extra-v3/vde2 2.3.3-8.1 [installed]









Patching previous version of  cachyos-repo.sh

❯ diff -u ./OLD/cachyos-repo.sh ./NEW/cachyos-repo.sh > cachyos-repo.patch

~
❯ cat cachyos-repo.patch
--- ./OLD/cachyos-repo.sh       2025-12-14 19:30:49.661984718 +0300
+++ ./NEW/cachyos-repo.sh       2025-12-14 19:30:11.926171257 +0300
@@ -162,7 +162,7 @@
               "${mirror_url}/cachyos-mirrorlist-22-1-any.pkg.tar.zst"    \
               "${mirror_url}/cachyos-v3-mirrorlist-22-1-any.pkg.tar.zst" \
               "${mirror_url}/cachyos-v4-mirrorlist-22-1-any.pkg.tar.zst"  \
-              "${mirror_url}/pacman-7.0.0.r7.g1f38429-2-x86_64.pkg.tar.zst"
+              "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"

     local is_repo_added="$(check_if_repo_was_added)"
     local is_repo_commented="$(check_if_repo_was_commented)"

~
❯ cd OLD

~/OLD
❯ ll
.rwxr-xr-x 6.7k boris 14 Dec 19:30  cachyos-repo.sh

~/OLD
❯ patch < ../cachyos-repo.patch
patching file cachyos-repo.sh


❯ cat cachyos-repo.sh|grep pacman-7.1.0.r7
              "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"

REFRENCES

1. https://discuss.cachyos.org/t/pacman-signature-is-invalid/3239/9 { sudo pacman --debug -Syu }

Per reference (1)

# Clear package metadata cache
sudo rm -f /var/cache/pacman/pkg/*

# Clear and reload keys
sudo rm -rf /etc/pacman.d/gnupg/
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47

END UPDATE


Friday, November 28, 2025

Bring CachyOS KDE Plasma 6.5.3 along with kernel 6.17.9 to Arch Linux Bare Metal Instance

UPDATE as of  01/18/2026

To avoid failure when running  `sudo ./cachy-repo.sh` on fresh installation following below update  is required

$ diff ./NEW/cachyos-repo.sh ./OLD/cachyos-repo.sh
165c165
<               "${mirror_url}/pacman-7.1.0.r9.g54d9411-2-x86_64.pkg.tar.zst"
---
>               "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"


END UPDATE

UPDATE as of 12/14/2025

To avoid failure when running  `sudo ./cachy-repo.sh` on fresh installation following below update  is required

$ diff ./NEW/cachyos-repo.sh ./OLD/cachyos-repo.sh
165c165
<               "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"
---
>               "${mirror_url}/pacman-7.0.0.r7.g1f38429-2-x86_64.pkg.tar.zst"

END UPDATE 

The very first time schema proposed in  https://lxer.com/module/newswire/view/358937/index.html has been run with no issues on bare metal .  I would expect the re-sync issues to be back again shortly.















> fastfetch
                  ╭───────────╮
      /\          │  user    │ boris
     /  \         │ 󰇅 hname   │ ArchPlasma281125
    /    \        │ 󰅐 uptime  │ 1 hour, 32 mins
   /      \       │  distro  │ Arch Linux x86_64
  /   ,,   \      │  kernel  │ Linux 6.17.9-2-cachyos
 /   |  |   \     │  wm      │ KWin (Wayland)
/_-''    ''-_\    │ 󰇄 desktop │ KDE Plasma 6.5.3
                  │  term    │ konsole 25.8.3
                  │  shell   │ bash 5.3.3
                  │ 󰍛 cpu     │ AMD Ryzen 7 3700X (16) @ 4.43 GHz
                  │ 󰉉 disk    │ 20.92 GiB / 475.94 GiB (4%) - btrfs
                  │  memory  │ 1.74 GiB / 31.29 GiB (6%)
                  ├───────────┤
                  │  colors  │ ● ● ● ● ● ● ● ●
                  ╰───────────╯

 sudo pacman -Syyu
[sudo] password for boris:
:: Synchronizing package databases...
 cachyos-v3                                           148.1 KiB   572 KiB/s 00:00 [##############################################] 100%
 cachyos-core-v3                                      104.6 KiB   367 KiB/s 00:00 [##############################################] 100%
 cachyos-extra-v3                                       4.2 MiB  4.91 MiB/s 00:01 [##############################################] 100%
 cachyos                                              504.1 KiB  1595 KiB/s 00:00 [##############################################] 100%
 core                                                 117.4 KiB   513 KiB/s 00:00 [##############################################] 100%
 extra                                                  8.0 MiB  5.51 MiB/s 00:01 [##############################################] 100%
:: Starting full system upgrade...
 there is nothing to do

pacman -Ss libvirt*|grep v3
cachyos-extra-v3/libvirt 1:11.9.0-1.1 [installed]
cachyos-extra-v3/libvirt-dbus 1.4.1-4.2 [installed]
cachyos-extra-v3/libvirt-glib 5.0.0-3.2 [installed]
cachyos-extra-v3/libvirt-python 1:11.9.0-1.1 [installed]
cachyos-extra-v3/libvirt-storage-gluster 1:11.9.0-1.1
cachyos-extra-v3/libvirt-storage-iscsi-direct 1:11.9.0-1.1
cachyos-extra-v3/pcp-pmda-libvirt 7.0.5-1.1
cachyos-extra-v3/perl-sys-virt 11.6.0-1.1

~
❯ pacman -Ss virt-*|grep v3
cachyos-v3/lib32-mesa-debug 1:25.2.7-2
cachyos-v3/lib32-vulkan-virtio 1:25.2.7-2
cachyos-v3/linux-cachyos 6.17.9-2 [installed]
cachyos-v3/linux-cachyos-bmq 6.17.9-1
cachyos-v3/linux-cachyos-bmq-lto 6.17.9-1
cachyos-v3/linux-cachyos-bore 6.17.9-1
cachyos-v3/linux-cachyos-bore-lto 6.17.9-1
cachyos-v3/linux-cachyos-deckify 6.17.9-2
cachyos-v3/linux-cachyos-deckify-lto 6.17.9-2
cachyos-v3/linux-cachyos-eevdf 6.17.9-1
cachyos-v3/linux-cachyos-eevdf-lto 6.17.9-1
cachyos-v3/linux-cachyos-gcc 6.17.9-2
cachyos-v3/linux-cachyos-hardened 6.17.9-2
cachyos-v3/linux-cachyos-hardened-lto 6.17.9-2
cachyos-v3/linux-cachyos-lts 6.12.59-2
cachyos-v3/linux-cachyos-lts-lto 6.12.59-2
cachyos-v3/linux-cachyos-rc 6.18.rc7-1
cachyos-v3/linux-cachyos-rc-gcc 6.15.rc7-6
cachyos-v3/linux-cachyos-rc-lto 6.18.rc7-1
cachyos-v3/linux-cachyos-rt-bore 6.17.9-1
cachyos-v3/linux-cachyos-rt-bore-lto 6.17.9-1
cachyos-v3/linux-cachyos-server 6.17.9-1
cachyos-v3/linux-cachyos-server-lto 6.17.9-1
cachyos-v3/mesa-debug 1:25.2.7-2
cachyos-v3/vulkan-virtio 1:25.2.7-2
cachyos-extra-v3/avfs 1.2.0-1.1
cachyos-extra-v3/cockatrice 2.10.2-5.1
cachyos-extra-v3/fingerterm 1.4.14-1.1
cachyos-extra-v3/gnome-boxes 49.1-1.1 (gnome-extra)
cachyos-extra-v3/httptunnel 3.3-9.1
cachyos-extra-v3/imvirt 0.9.6-13.1
cachyos-extra-v3/incus 6.18.0-3.1
cachyos-extra-v3/incus-tools 6.18.0-3.1
cachyos-extra-v3/ipvsadm 1.31-3.2
cachyos-extra-v3/leocad 25.09-1.1
cachyos-extra-v3/libcacard 2.8.1-1.1 [installed]
cachyos-extra-v3/libfakekey 0.3-4.1
cachyos-extra-v3/libgovirt 2:0.3.9-2.3 [installed]
cachyos-extra-v3/libkrun 1.16.0-3.1
cachyos-extra-v3/libosinfo 1.12.0-2.1 [installed]
cachyos-extra-v3/libvirt 1:11.9.0-1.1 [installed]
cachyos-extra-v3/libvirt-dbus 1.4.1-4.2 [installed]
cachyos-extra-v3/libvirt-glib 5.0.0-3.2 [installed]
cachyos-extra-v3/libvirt-python 1:11.9.0-1.1 [installed]
cachyos-extra-v3/libvirt-storage-gluster 1:11.9.0-1.1
cachyos-extra-v3/libvirt-storage-iscsi-direct 1:11.9.0-1.1
cachyos-extra-v3/n2n 3.1.1-5.1
cachyos-extra-v3/nginx-mod-vts 0.2.3-5.2
cachyos-extra-v3/open-vm-tools 6:13.0.5-1.1
cachyos-extra-v3/openslide 4.0.0-5.1
cachyos-extra-v3/openvpn 2.6.16-1.1
cachyos-extra-v3/openvswitch 3.5.1-1.1
cachyos-extra-v3/openxr 1.1.53-1.1 [installed]
cachyos-extra-v3/pcp-pmda-libvirt 7.0.5-1.1
cachyos-extra-v3/perl-sys-virt 11.6.0-1.1
cachyos-extra-v3/plasma-keyboard 0.1.0-1.1
cachyos-extra-v3/python-ovirt-engine-sdk 4.6.3-1.1
cachyos-extra-v3/qt5-serialport 5.15.18-1.1 (qt5)
cachyos-extra-v3/qt5-virtualkeyboard 5.15.18-1.1 (qt5)
cachyos-extra-v3/qt6-serialport 6.10.1-1.1 (qt6)
cachyos-extra-v3/qt6-virtualkeyboard 6.10.1-1.1 (qt6) [installed]
cachyos-extra-v3/redland-storage-virtuoso 1:1.0.17-9.1
cachyos-extra-v3/rutabaga-ffi 0.1.75-1.1 [installed]
cachyos-extra-v3/rye 0.44.0-1.1
cachyos-extra-v3/scummvm 2.9.1-2.1
cachyos-extra-v3/smplayer 25.6.0-1.1
cachyos-extra-v3/tinc 1.0.36-4.1
cachyos-extra-v3/vde2 2.3.3-8.1 [installed]
cachyos-extra-v3/virglrenderer 1.2.0-1.1 [installed]
cachyos-extra-v3/virt-viewer 11.0-4.1 [installed]
cachyos-extra-v3/virt-what 1.27-1.1
cachyos-extra-v3/virtiofsd 1.13.2-1.1 [installed]
cachyos-extra-v3/virtme-ng 1.38-1.1
cachyos-extra-v3/virtualbox-host-modules-arch 7.2.4-7.1
cachyos-extra-v3/virtualbox-host-modules-lts 7.2.4-7.1
cachyos-extra-v3/virtualgl 3.1.4-1.1
cachyos-extra-v3/vm.lv2 0.14.0-4.1 (lv2-plugins pro-audio)
cachyos-extra-v3/vmexec 0.2.0-1.1
cachyos-extra-v3/vmpk 0.9.1-1.1 (pro-audio)
cachyos-extra-v3/vtable-dumper 1.2-2.1
cachyos-extra-v3/vte-common 0.82.2-1.1 [installed]
cachyos-extra-v3/vte-docs 0.82.2-1.1
cachyos-extra-v3/vte3 0.82.2-1.1 [installed]
cachyos-extra-v3/vte4 0.82.2-1.1
cachyos-extra-v3/xorg-server-xvfb 21.1.21-1.1 (xorg)
 pacman -Ss plasma6*|grep v3
cachyos-extra-v3/angelfish 25.08.3-1.1 (kde-applications kde-network)
cachyos-extra-v3/aurorae 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/bluedevil 1:6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/breeze 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/breeze-plymouth 6.5.3-1.1 (plasma)
cachyos-extra-v3/calindori 25.08.3-1.1
cachyos-extra-v3/discover 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/drkonqi 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/flatpak-kcm 6.5.3-1.1 (plasma) [insta
lled]
cachyos-extra-v3/kaccounts-integration 25.08.3-1.1 [installed]
cachyos-extra-v3/kactivitymanagerd 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kclock 25.08.3-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kde-cli-tools 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kde-gtk-config 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kdecoration 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kdeplasma-addons 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/keysmith 25.08.3-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kgamma 6.5.3-1.1 (plasma)
cachyos-extra-v3/kglobalacceld 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kinfocenter 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kmenuedit 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/knighttime 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kpipewire 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/krdp 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/krecorder 25.08.3-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kscreen 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kscreenlocker 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/ksshaskpass 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/ksystemstats 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kwallet-pam 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kwayland 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/kweather 25.08.3-1.1 (kde-applications kde-utilities)
cachyos-extra-v3/kwin 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/kwin-x11 6.5.3-2.1 (plasma)
cachyos-extra-v3/kwrited 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/layer-shell-qt 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/libkscreen 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/libplasma 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/milou 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/oxygen 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-activities 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-activities-stats 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-applet-window-buttons 0.14.0-2.1
cachyos-extra-v3/plasma-browser-integration 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-desktop 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-disks 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-firewall 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-integration 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/plasma-keyboard 0.1.0-1.1
cachyos-extra-v3/plasma-nm 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-pa 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-pass 1.3.0-1.1
cachyos-extra-v3/plasma-sdk 6.5.3-1.1 (plasma)
cachyos-extra-v3/plasma-systemmonitor 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-thunderbolt 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-vault 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-welcome 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/plasma-workspace 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/plasma-x11-session 6.5.3-2.1
cachyos-extra-v3/plasma5-integration 6.5.3-2.1
cachyos-extra-v3/plasma5support 6.5.3-2.1 (plasma) [installed]
cachyos-extra-v3/plasmatube 25.08.3-1.1 (kde-applications kde-multimedia)
cachyos-extra-v3/plymouth-kcm 6.5.3-1.1 (plasma)
cachyos-extra-v3/polkit-kde-agent 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/powerdevil 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/print-manager 1:6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/qmlkonsole 25.08.3-1.1
cachyos-extra-v3/qqc2-breeze-style 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/sddm-kcm 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/spectacle 1:6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/systemsettings 6.5.3-1.1 (plasma) [installed]
cachyos-extra-v3/tokodon 25.08.3-1.1 (kde-applications kde-network)
cachyos-extra-v3/wacomtablet 6.5.3-1.1 (plasma)
cachyos-extra-v3/xdg-desktop-portal-kde 6.5.3-1.1 (plasma) [installed]
REFERENCES
1. https://discuss.cachyos.org/t/pacman-signature-is-invalid/3239/9     { sudo pacman --debug -Syu }
Per reference (1)
# Clear package metadata cache
sudo rm -f /var/cache/pacman/pkg/*

# Clear and reload keys
sudo rm -rf /etc/pacman.d/gnupg/
sudo pacman-key --init
sudo pacman-key --populate

sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47

Friday, November 14, 2025

Bring CachyOS KVM Hypervisor along with KDE Plasma 6.5.2 and Kernel 6.17.7 to Arch Linux VM

UPDATE as of 11/27/2025

Would you experience any issues with  cachyos-rate-mirrors, just remind that cachyos-rate-mirrors is a wrapper script for the rate-mirrors tool, specifically configured to rank and update both Arch Linux and CachyOS  mirrors for the user's mirror list file. It automatically tests available mirrors based on speed and synchronization status to ensure pacman downloads are optimized. It's a wrapper: It is not a replacement for rate-mirrors but rather a specific version or a script that uses rate-mirrors's underlying functionality. See man pages for rate-mirrors.

END UPDATE  

This post is an immediate follow up for Fedora 43 KVM Hypervisor && bring CachyOS KDE Plasma 6.5.1 along with kernel to Arch Linux VM  It is quite clear that there is a way to automatically start services virtstoraged, virtnetworkd, virtqemud, virtnodedevd on Arch Linux VM , however I was not lucky enough to automate this procedure.

$ sudo pacman -S qemu-desktop libvirt virt-manager bridge-utils dnsmasq edk2-ovmf
$ sudo systemctl enable libvirtd.service
$ sudo systemctl start libvirtd.service
$ sudo usermod -aG libvirt $(whoami)
$ sudo systemctl restart libvirtd.service
 
RELOGIN to SESSION
 
The following commands run automatically on Fedora 43 and no manual intervention is required.

$ sudo systemctl enable virtstoraged
$ sudo systemctl start virtstoraged
$ sudo systemctl enable virtnetworkd
$ sudo systemctl start virtnetworkd
$ sudo systemctl enable virtqemud
$ sudo systemctl start virtqemud
=================================
$ sudo systemctl start virtnodedevd.socket
$ sudo systemctl enable virtnodedevd.socket
$ sudo systemctl start virtnodedevd
$ sudo systemctl enable virtnodedevd
=================================
 
boris@ArchPlasma1511 ~]$ sudo systemctl|grep virtqemud
[sudo] password for boris:
  virtqemud.service                        loaded active running   libvirt QEMU daemon
  virtqemud-admin.socket              loaded active running   libvirt QEMU daemon admin socket
  virtqemud-ro.socket                     loaded active running   libvirt QEMU daemon read-only socket
  virtqemud.socket                         loaded active running   libvirt QEMU daemon socket

[boris@ArchPlasma1511 ~]$ sudo systemctl|grep virtnetworkd
  virtnetworkd.service                    loaded active running   libvirt network daemon
  virtnetworkd-admin.socket          loaded active running   libvirt network daemon admin socket
  virtnetworkd-ro.socket                 loaded active running   libvirt network daemon read-only socket
  virtnetworkd.socket                     loaded active running   libvirt network daemon socket

[boris@ArchPlasma1511 ~]$ sudo systemctl|grep virtstoraged
  virtstoraged.service                     loaded active running   libvirt storage daemon
  virtstoraged-admin.socket           loaded active running   libvirt storage daemon admin socket
  virtstoraged-ro.socket                  loaded active running   libvirt storage daemon read-only socket
  virtstoraged.socket                      loaded active running   libvirt storage daemon socket

[boris@ArchPlasma1511 ~]$ sudo systemctl|grep virtnodedevd
  virtnodedevd.service                   loaded active running   libvirt nodedev daemon
  virtnodedevd-admin.socket         loaded active running   libvirt nodedev daemon admin socket
  virtnodedevd-ro.socket                loaded active running   libvirt nodedev daemon read-only socket
  virtnodedevd.socket                    loaded active running   libvirt nodedev daemon socket
 
Start default network

$ sudo virsh net-start default
$ sudo virsh net-autostart default

Setup Web Cocpit Console and bridge0
Open port 9090/tcp say via ufw 

$ sudo pacman -S cockpit cockpit-machines
$ sudo systemctl enable --now cockpit.socket
 
Log into Web Cockpit Console
and activate bridge — bridge0 (for instance)



















































Cockpit embedded VNC Console




















Having tuning described in https://lxer.com/module/newswire/view/358937/index.html  done, you may also perform a complete upgrade system to CachyOS . Final upgrade doesn't have any dependency with KVM Hypervisor setup and may be done before KVM installation.

$ pacman -Qqn | sudo pacman -S -
$ sudo pacman -S ananicy-cpp
$ sudo pacman -S cachyos-kernel-manager


Verification step

$ pacman -Qs cachyos
local/cachyos-kernel-manager 1.16.1-1 (cachyos)
   Simple kernel manager
local/cachyos-keyring 20240331-1 (cachyos)
   CachyOS keyring
local/cachyos-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v3-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v4-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/chwd 1.16.1-1 (cachyos)
   CachyOS Hardware Detection Tool
local/linux-cachyos 6.17.8-2
   The Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and improvements. kernel and modules
local/linux-cachyos-headers 6.17.8-2
   Headers and scripts for building modules for the Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and
   improvements. kernel
local/pacman 7.0.0.r7.g1f38429-2
   A library-based package manager with dependency support. CachyOS fork.
local/scx-manager 1.15.7-1 (cachyos)
   Simple GUI for managing sched-ext schedulers via scx_loader

Thursday, October 30, 2025

Fedora 43 KVM Hypervisor && bring CachyOS KDE Plasma 6.5.1 along with kernel to Arch Linux VM

UPDATE as of 04/26/2026

Per Google "The standard order" for CachyOS or any Arch-based system is:

    Initialize: sudo pacman-key --init
    (This sets up the GPG environment if it's broken or missing.)
    Populate: sudo pacman-key --populate archlinux cachyos
    (This imports the trusted keys into your system.)
    Update Keyrings: sudo pacman -Sy archlinux-keyring cachyos-keyring
    (This ensures you actually have the newest versions of those keys.)
    Final Sync: sudo pacman -Syu
    (This applies the updates to the rest of your system now that the signatures are verified.)

=====================================    
"Why the order sometimes swaps"
=====================================
    The "Chicken and Egg" Problem:
        If your system's local archlinux-keyring is too old, it won't recognize the signatures on any new packages you try to download.
        If you try to populate (Command 2) using an old keyring, it may not have the new master keys needed for current packages.
        In this case, you must force-update the keyring package first (Command 3) so that the local database has the new keys to "populate" from.

    Cosmic vs. KDE: Cosmic is a newer, more "experimental" DE in the CachyOS ecosystem. If you were pulling Cosmic packages  from a very recent repository update, your system was more likely to demand the absolute latest keys immediately to verify those specific files.
    Mirror Sync: Sometimes a mirror is slightly out of sync. Updating the keyring package first (3) manually pulls the latest security certificates from the server, which can "unstick" a populate command (2) that was failing because it was looking for keys that didn't exist in your old local files yet. 

UPDATE as of 12/14/2025

To avoid failure when running  `sudo ./cachy-repo.sh` on fresh installation following below update  is required

$ diff ./NEW/cachyos-repo.sh ./OLD/cachyos-repo.sh
165c165
<               "${mirror_url}/pacman-7.1.0.r7.gb9f7d4a-3-x86_64.pkg.tar.zst"
---
>               "${mirror_url}/pacman-7.0.0.r7.g1f38429-2-x86_64.pkg.tar.zst"

END UPDATE 

 UPDATE as of 11/27/2025

Would you experience any issues with  cachyos-rate-mirrors, just remind that cachyos-rate-mirrors is a wrapper script for the rate-mirrors tool, specifically configured to rank and update both Arch Linux and CachyOS  mirrors for the user's mirror list file. It automatically tests available mirrors based on speed and synchronization status to ensure pacman downloads are optimized. It's a wrapper: It is not a replacement for rate-mirrors but rather a specific version or a script that uses rate-mirrors's underlying functionality. See man pages for rate-mirrors.

END UPDATE 

Following below is procedure which allows to install on Arch Linux CachyOS v3 repositories along with pacman fork belongs to CachyOS. Proceed as advised in post on Arch Linux KVM Guest deployed via F43/42 KVM Hypervisor .  Upgraded Arch Instances have successfully passed  via `sudo pacman -Syyu` multiple times during several recent days. Re-sync of v3 repos and core && extra works pretty stable ( u,u^interrupted,sudo pacman -Syyu ) - the same commands as described in post after first reboot Arch VM into CachyOS kernel. I also have to confirm that Re-sync might be randomly required.  The hack step below is scp cachyos-rate-mirrors script from remote native CachyOS Instance to the target one.

$ sudo pacman-key --init

$ sudo pacman-key --populate

$ sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com

$ sudo pacman-key --lsign-key F3B607488DB35A47

Either run as script

$ cat reSignCachyos1.sh
sudo rm -rf /etc/pacman.d/gnupg/
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
sudo pacman-key --lsign-key F3B607488DB35A47
sudo rm -R /var/lib/pacman/sync  

Next Step
 $ curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz

$ tar xvf cachyos-repo.tar.xz && cd cachyos-repo

The step in particular installs pacman's fork belongs to CachyOS

$ sudo ./cachyos-repo.sh

$ cd

Scp binary cachyos-rate-mirrors  from native CachyOS box to target one

$ vim .bashrc

Add at bottom of .bashrc function u() :-

u() {
    # Check if pacman is locked by another process
    if [ -f /var/lib/pacman/db.lck ]; then
        echo "Pacman is locked. Attempting to remove stale lock file..."
        sudo rm /var/lib/pacman/db.lck
    fi
    # 1. Refresh mirrors and update system via yay
    sudo cachyos-rate-mirrors && yay --noconfirm
    # 2. Clear pacman cache (keep only the last 3 versions of each package)
    # Using 'yes' to automate the prompt safely
    yes | sudo paccache -rk3
    # 3. Remove orphaned packages (unused dependencies)
    # The 'if' check prevents errors if no orphans are found
    ORPHANS=$(pacman -Qtdq)
    if [ -n "$ORPHANS" ]; then
        sudo pacman -Rns $ORPHANS --noconfirm
    else
        echo "No orphaned packages to remove."
    fi

:wq

$ u

Failure to succeed with u() completion might force you to run

❯ cat reSyncLatest.sh
# See the most recent Update related with transfer             Cosmic from CachyOS repos to ArchLinux

sudo rm -rf /etc/pacman.d/gnupg/
sudo pacman-key --init

# start with populate
sudo pacman-key --populate archlinux cachyos                  

sudo pacman -Sy archlinux-keyring cachyos-keyring

Final draft proposed :-

#!/bin/bash
# A script to fix PGP signature errors on Arch/CachyOS
echo "--- Syncing system clock (Required for GPG) ---"
sudo timedatectl set-ntp true
echo "--- Clearing old keyring data ---"
sudo rm -rf /etc/pacman.d/gnupg
echo "--- Initializing new keyring ---"
sudo pacman-key --init
echo "--- Populating Arch and CachyOS keys ---"
sudo pacman-key --populate archlinux cachyos
echo "--- Force-updating keyring packages ---"
sudo pacman -Sy archlinux-keyring cachyos-keyring --noconfirm
echo "--- Success! You can now run 'sudo pacman -Syu' ---"
 

If you still cannot to fix the problem, then attempt to run :

$ rate-mirrors cachyos && yay

$ u  # which is supposed to invoke cachyos-rate-mirrors 

Right after successful u() completion install Cachyos kernel and reboot Arch Linux VM into CachyOS kernel

$ sudo pacman -S linux-cachyos linux-cachyos-headers

$ sudo grub-mkconfig -o /boot/grub/grub.cfg

$ sudo reboot

 On Arch VM rebooted into Cachyos kernel

$ u 

Attempt to run `sudo pacman -Syyu` is supposed to perform final repositories synchronization .

Next step is running `yay -S pamac-aur` and perform another one preferences/refresh sync v3 repos, extra, core and AUR using Add/Remove programs interface.

Now make sure that pacman been installed on Arch Linux instance was a CachyOS pacman fork.

ssh boris@192.168.0.16
boris@192.168.0.16's password:  
Permission denied, please try again.
boris@192.168.0.16's password:  
                 ╭───────────╮  
     /\          │  user       boris
    /  \         │ 󰇅 hname   ArchTestify
   /    \        │ 󰅐 uptime   53 mins
  /      \       │  distro     Arch Linux x86_64
 /   ,,   \      │  kernel    Linux 6.17.5-2-cachyos
/   |  |   \      |  wm         │ KWin (Wayland)
/_-''    ''-_\ | 󰇄 desktop │ KDE Plasma 6.5.1
                 │  term      /dev/pts/2
                 │  shell       bash 5.3.3
                 │ 󰍛 cpu        8 x Intel(R) Xeon(R) E5-2690 v3 (8) @ 2.59 GHz
                 │ 󰉉 disk      13.47 GiB / 56.91 GiB (24%) - ext4
                 │  memory  │ 3.23 GiB / 15.24 GiB (21%)
                 ├───────────┤  
                 │  colors   ● ● ● ● ● ● ● 
                 ╰───────────╯  
~
 sudo pacman -Syyu
[sudo] password for boris:  
:: Synchronizing package databases...
cachyos-v3                                                 136.4 KiB   300 KiB/s 00:00 [##################################################] 100%
cachyos-core-v3                                            101.1 KiB  88.2 KiB/s 00:01 [##################################################] 100%
cachyos-extra-v3                                             4.2 MiB  3.96 MiB/s 00:01 [##################################################] 100%
cachyos                                                    506.8 KiB   810 KiB/s 00:01 [##################################################] 100%
core                                                       117.4 KiB   284 KiB/s 00:00 [##################################################] 100%
extra                                                        8.0 MiB  5.67 MiB/s 00:01 [##################################################] 100%
:: Starting full system upgrade...
warning: archlinux-keyring: local (20251027-3) is newer than cachyos (20251027-2)
there is nothing to do

~
 pacman -Qi pacman
Installed From  : None
Name            : pacman
Version         : 7.0.0.r7.g1f38429-2
Description     : A library-based package manager with dependency support. CachyOS fork.
Architecture    : x86_64
URL             : https://www.archlinux.org/pacman/
Licenses        : GPL-2.0-or-later
Groups          : None
Provides        : libalpm.so=15-64
Depends On      : bash  coreutils  curl  libcurl.so=4-64  gawk  gettext  glibc  gnupg  gpgme  libgpgme.so=45-64  grep  libarchive
                 libarchive.so=13-64  openssl  libcrypto.so=3-64  pacman-mirrorlist  systemd
Optional Deps   : base-devel: required to use makepkg [installed]
                 perl-locale-gettext: translation support in makepkg-template
Required By     : appstream-glib  archlinux-keyring  base  base-devel  libpamac-aur  pacman-contrib
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 10.04 MiB
Packager        : CachyOS <admin@cachyos.org>
Build Date      : Sun 19 Oct 2025 12:10:57 PM UTC
Install Date    : Fri 31 Oct 2025 11:13:32 AM UTC
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Thus KVM Hypervisor's packages would be installed from CachyOS *_v3 repositories as well as Hyprland with ML4W Dotfiles 2.9.9.3 packages installed via Dotfiles Installer 0.10.0.  Both procedures were verified on Arch Linux upgraded virtual instances






















At this point you may also perform a complete upgrade system to CachyOS
$ sudo pacman -S ananicy-cpp
$ sudo pacman -S cachyos-kernel-manager
$ pacman -Qqn | sudo pacman -S -


Verification step

$ pacman -Qs cachyos
local/cachyos-kernel-manager 1.16.1-1 (cachyos)
   Simple kernel manager
local/cachyos-keyring 20240331-1 (cachyos)
   CachyOS keyring
local/cachyos-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v3-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/cachyos-v4-mirrorlist 22-1 (cachyos)
   CachyOS repository mirrorlist
local/chwd 1.16.1-1 (cachyos)
   CachyOS Hardware Detection Tool
local/linux-cachyos 6.17.8-2
   The Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and improvements. kernel and modules
local/linux-cachyos-headers 6.17.8-2
   Headers and scripts for building modules for the Linux BORE + LTO + AutoFDO + Propeller Cachy Sauce Kernel by CachyOS with other patches and
   improvements. kernel
local/pacman 7.0.0.r7.g1f38429-2
   A library-based package manager with dependency support. CachyOS fork.
local/scx-manager 1.15.7-1 (cachyos)
   Simple GUI for managing sched-ext schedulers via scx_loader

References