Vladislav Nepogodin 40059885e9 🚧 workaround bug with cachyos-keyring
the following error indenticate that the entire keyrings for pacman are broken,
and that is resulting in broken keyrings after installing CachyOS with
the offline install option, which can be fixed manually with keyring
reset and locally signing CachyOS key:
```
(520/948) installing cachyos-keyring                                                                                                                                                           [-----------------------------------------------------------------------------------------------------------------------] 100%
error: config file /etc/pacman.d/cachyos-mirrorlist could not be read: No such file or directory
error parsing '/etc/pacman.conf'
mkdir: cannot create directory ‘’: No such file or directory
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
chmod: cannot access '/trustdb.gpg': No such file or directory
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/root/.gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/root/.gnupg/openpgp-revocs.d/593A5D4ECDB858180CAE1D681437E851B9F0620B.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
error: config file /etc/pacman.d/cachyos-mirrorlist could not be read: No such file or directory
error parsing '/etc/pacman.conf'
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
error: config file /etc/pacman.d/cachyos-mirrorlist could not be read: No such file or directory
error parsing '/etc/pacman.conf'
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
error: config file /etc/pacman.d/cachyos-mirrorlist could not be read: No such file or directory
error parsing '/etc/pacman.conf'
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
error: command failed to execute correctly
```

was introduced with cleanup commit,
removing hardcoded mirrorlist

ref: 4750b7ffae
2023-03-18 19:52:28 +04:00
2023-03-04 12:51:27 +01:00
2023-03-18 19:52:28 +04:00
2023-03-05 12:58:30 +01:00
🔥 update
2021-08-31 04:16:36 +04:00
2022-07-13 00:09:22 +04:00
🔥 update
2021-08-31 04:16:36 +04:00
2022-07-12 01:32:20 +04:00
2022-07-13 00:09:22 +04:00
2023-03-18 19:52:28 +04:00
2022-07-12 01:12:32 +04:00
2023-03-01 01:56:23 +04:00

These are the basic needed files and folders to build CachyOS system.

buildiso

buildiso is used to build CachyOS ISO.

Arguments

$ ./buildiso.sh -h
Usage: buildiso [options]
    -c                 Disable clean work dir
    -h                 This help
    -p <profile>       Buildset or profile [default: kde]
    -v                 Verbose output to log file, show profile detail (-q)
  • Uses the same signature that normal repo and has no mirrors package to install.

sudo pacman -Syy

Install necessary packages

sudo pacman -S archiso mkinitcpio-archiso git squashfs-tools --needed

Clone:
git clone https://github.com/cachyos/cachyos-live-iso.git cachyos-archiso

cd cachyos-archiso

Build

sudo ./buildiso.sh -p kde -v

The iso appears at out folder

S
Description
Community-built installer ISO for the Steam Machine, based on CachyOS and set up with Steamify. Not affiliated with CachyOS or Valve.
Readme GPL-3.0
3 MiB
0 Stars 1 Watchers 0 Forks
2026-10-02 15:04:34 +02:00
Languages
Shell 83.2%
QML 16.8%