Last night when I was trying to install Omarchy via the script and the installation failed. That's a part of the log regarding the issue that occurred:
checking keyring...
downloading required keys...
:: Import PGP key F0134EE680CAC571, "Unknown Packager"? [Y/n]
checking package integrity...
error: hyprshade: signature from "Omarchy <pkgs@omarchy.org>" is unknown trust
:: File /var/cache/pacman/pkg/hyprshade-4.0.0-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: aether: signature from "Omarchy <pkgs@omarchy.org>" is unknown trust
:: File /var/cache/pacman/pkg/aether-2.13.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] error: elephant: signature from "Omarchy <pkgs@omarchy.org>" is unknown trust
It looks like the package is not trusted, therefore the installation of it fails. As a I was looking for a solution I saw that in install-omarchy-on-cachyos.sh we're doing the following two things:
- Adding omarchy as a source for packages with the following command on line 43:
# Add Omarchy repository to pacman.conf
echo -e "\n[omarchy]\nSigLevel = Optional TrustedOnly\nServer = https://pkgs.omarchy.org/\$arch" | sudo tee -a /etc/pacman.conf > /dev/null
sudo pacman -Syu
- Removing the original setup of
pacman.conf by Omarchy, line 69
# Remove pacman.sh from preflight/all.sh to prevent conflict with cachyos packages
sed -i '/run_logged \$OMARCHY_INSTALL\/preflight\/pacman\.sh/d' install/preflight/all.sh
If you take a look at the pacman.sh in Omarchy's repo we see that the SigLevel value for omarchy is Optional TrustAll while ours is Optional TrustedOnly. I changed it and tried again. The fix was working, although the installation later failed because of something regarding the nvim setup.
It may be a good idea for us to change the script in order to be consistent with the setup done by Omarchy
Last night when I was trying to install Omarchy via the script and the installation failed. That's a part of the log regarding the issue that occurred:
It looks like the package is not trusted, therefore the installation of it fails. As a I was looking for a solution I saw that in
install-omarchy-on-cachyos.shwe're doing the following two things:pacman.confby Omarchy, line 69If you take a look at the
pacman.shin Omarchy's repo we see that theSigLevelvalue foromarchyisOptional TrustAllwhile ours isOptional TrustedOnly. I changed it and tried again. The fix was working, although the installation later failed because of something regarding thenvimsetup.It may be a good idea for us to change the script in order to be consistent with the setup done by Omarchy