Repository: archlinux/archinstall

Issue:
no default value for uki key in configurations.json
(archinstall 2.7.0) 
When using archinstall in a system with no support for uefi, the user is not prompted to choose a value for the uki key. However, when running archinstall with a config file without a uki key defined, it errors out since there is no such key defined with a default value.

At least thats what I understood from the problem looking at PR(https://github.com/archlinux/archinstall/pull/1519).

Adding uki: false in the config file fixed this for me.

by the way, how is uefi supported checked? I though it was impossible to know from OS side


Discussion:
Would be useful with a stack trace on these kinds of issues. You don't happen to have one?

Regarding checking support, it's quite easy actually: https://github.com/archlinux/archinstall/blob/64c91cdbcba4b1dc5270c4cf4314943e5b151641/archinstall/lib/hardware.py#L187-L189
oops, forgot to paste the logs and such:

```
File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in _exit_
    raise exc_val
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 161, in perform_installation
    archinstall.arguments["uki"]
    ~~~~~~~^^^^^^^
KeyError: 'uki'

Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".
```

<details>
<summary>full log:</summary>
<br>



```
Could not determine the filesystem: parted.FileSystem instance --
  type: linux-swap(v1)  geometry: <parted.geometry.Geometry object at 0x7f99f0766f90>  checked: False
  PedFileSystem: <_ped.FileSystem object at 0x7f99f0767340>
Could not determine the filesystem: None
Hardware model detected: POSITIVO POS-AG31AP; UEFI mode: False
Processor model detected: Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz
Memory statistics: 1335776 available out of 3997536 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)'])
Disk states before installing: [
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/livefs",
        "mountpoints": [
            "/run/miso/sfs/livefs"
        ],
        "name": "loop0",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop0",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "71 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/mhwdfs",
        "mountpoints": [
            "/run/miso/sfs/mhwdfs"
        ],
        "name": "loop1",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop1",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1183 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/desktopfs",
        "mountpoints": [
            "/run/miso/sfs/desktopfs"
        ],
        "name": "loop2",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop2",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1715 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/rootfs",
        "mountpoints": [
            "/run/miso/sfs/rootfs"
        ],
        "name": "loop3",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop3",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "668 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [],
                "fsavail": 19126190080,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "58%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall",
                "mountpoints": [
                    "/mnt/archinstall"
                ],
                "name": "sda1",
                "partn": 1,
                "parttype": "0x83",
                "partuuid": "1a07977e-01",
                "path": "/dev/sda1",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "51199 MiB",
                "tran": null,
                "type": "part",
                "uuid": "befe0027-2c9f-461f-bed9-eac3036cfcd0"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "swap",
                "fsuse_percentage": null,
                "fsver": "1",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sda2",
                "partn": 2,
                "parttype": "0x82",
                "partuuid": "1a07977e-02",
                "path": "/dev/sda2",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "8192 MiB",
                "tran": null,
                "type": "part",
                "uuid": "420001a7-fdc1-4933-8d94-abfd6d593ee0"
            },
            {
                "children": [],
                "fsavail": 151353802752,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "35%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall/scratch",
                "mountpoints": [
                    "/mnt/archinstall/scratch"
                ],
                "name": "sda3",
                "partn": 3,
                "parttype": "0x83",
                "partuuid": "1a07977e-03",
                "path": "/dev/sda3",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "245853 MiB",
                "tran": null,
                "type": "part",
                "uuid": "5a54b117-d7bc-494e-8804-5aa207ac9e92"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sda",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sda",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "1a07977e",
        "rota": true,
        "size": "305245 MiB",
        "tran": "ata",
        "type": "disk",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [
                    {
                        "children": [],
                        "fsavail": 0,
                        "fsroots": [
                            "."
                        ],
                        "fstype": "iso9660",
                        "fsuse_percentage": "100%",
                        "fsver": "Joliet Extension",
                        "log_sec": 512,
                        "mountpoint": "/run/miso/bootmnt",
                        "mountpoints": [
                            "/run/miso/bootmnt"
                        ],
                        "name": "ventoy",
                        "partn": null,
                        "parttype": null,
                        "partuuid": null,
                        "path": "/dev/mapper/ventoy",
                        "pkname": "sdb1",
                        "pttype": "dos",
                        "ptuuid": null,
                        "rota": true,
                        "size": "3724 MiB",
                        "tran": null,
                        "type": "dm",
                        "uuid": "2023-10-15-12-00-38-00"
                    }
                ],
                "fsavail": null,
                "fsroots": [],
                "fstype": "exfat",
                "fsuse_percentage": null,
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb1",
                "partn": 1,
                "parttype": "0x7",
                "partuuid": "b7e15526-01",
                "path": "/dev/sdb1",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "59967 MiB",
                "tran": null,
                "type": "part",
                "uuid": "4E21-0000"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "vfat",
                "fsuse_percentage": null,
                "fsver": "FAT16",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb2",
                "partn": 2,
                "parttype": "0xef",
                "partuuid": "b7e15526-02",
                "path": "/dev/sdb2",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "32 MiB",
                "tran": null,
                "type": "part",
                "uuid": "F767-A619"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sdb",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sdb",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "b7e15526",
        "rota": true,
        "size": "60000 MiB",
        "tran": "usb",
        "type": "disk",
        "uuid": null
    }
]
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/xorg.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/tailored.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/server.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/minimal.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktop.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/custom.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/tomcat.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/sshd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/postgresql.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/nginx.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/mariadb.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/lighttpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/httpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/docker.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/cockpit.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/xfce4.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/sway.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/qtile.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/mate.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/lxqt.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/kde.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/i3.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/hyprland.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/gnome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/enlightenment.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/deepin.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cutefish.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cinnamon.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/budgie.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/bspwm.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/awesome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/pipewire.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/__init__.py
Checking version...
Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: error: package 'archinstall' was not found
[?25l[?25h
Disk layout configuration is set to pre-mount, not performing any operations
Starting installation
Waiting for time sync (systemd-timesyncd.service) to complete.

Could not determine the filesystem: parted.FileSystem instance --
  type: linux-swap(v1)  geometry: <parted.geometry.Geometry object at 0x7ff227de2d50>  checked: False
  PedFileSystem: <_ped.FileSystem object at 0x7ff227de2b80>
Could not determine the filesystem: None
Hardware model detected: POSITIVO POS-AG31AP; UEFI mode: False
Processor model detected: Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz
Memory statistics: 1387472 available out of 3997536 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)'])
Disk states before installing: [
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/livefs",
        "mountpoints": [
            "/run/miso/sfs/livefs"
        ],
        "name": "loop0",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop0",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "71 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/mhwdfs",
        "mountpoints": [
            "/run/miso/sfs/mhwdfs"
        ],
        "name": "loop1",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop1",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1183 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/desktopfs",
        "mountpoints": [
            "/run/miso/sfs/desktopfs"
        ],
        "name": "loop2",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop2",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1715 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/rootfs",
        "mountpoints": [
            "/run/miso/sfs/rootfs"
        ],
        "name": "loop3",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop3",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "668 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [],
                "fsavail": 19126190080,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "58%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall",
                "mountpoints": [
                    "/mnt/archinstall"
                ],
                "name": "sda1",
                "partn": 1,
                "parttype": "0x83",
                "partuuid": "1a07977e-01",
                "path": "/dev/sda1",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "51199 MiB",
                "tran": null,
                "type": "part",
                "uuid": "befe0027-2c9f-461f-bed9-eac3036cfcd0"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "swap",
                "fsuse_percentage": null,
                "fsver": "1",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sda2",
                "partn": 2,
                "parttype": "0x82",
                "partuuid": "1a07977e-02",
                "path": "/dev/sda2",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "8192 MiB",
                "tran": null,
                "type": "part",
                "uuid": "420001a7-fdc1-4933-8d94-abfd6d593ee0"
            },
            {
                "children": [],
                "fsavail": 151353802752,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "35%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall/scratch",
                "mountpoints": [
                    "/mnt/archinstall/scratch"
                ],
                "name": "sda3",
                "partn": 3,
                "parttype": "0x83",
                "partuuid": "1a07977e-03",
                "path": "/dev/sda3",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "245853 MiB",
                "tran": null,
                "type": "part",
                "uuid": "5a54b117-d7bc-494e-8804-5aa207ac9e92"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sda",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sda",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "1a07977e",
        "rota": true,
        "size": "305245 MiB",
        "tran": "ata",
        "type": "disk",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [
                    {
                        "children": [],
                        "fsavail": 0,
                        "fsroots": [
                            "."
                        ],
                        "fstype": "iso9660",
                        "fsuse_percentage": "100%",
                        "fsver": "Joliet Extension",
                        "log_sec": 512,
                        "mountpoint": "/run/miso/bootmnt",
                        "mountpoints": [
                            "/run/miso/bootmnt"
                        ],
                        "name": "ventoy",
                        "partn": null,
                        "parttype": null,
                        "partuuid": null,
                        "path": "/dev/mapper/ventoy",
                        "pkname": "sdb1",
                        "pttype": "dos",
                        "ptuuid": null,
                        "rota": true,
                        "size": "3724 MiB",
                        "tran": null,
                        "type": "dm",
                        "uuid": "2023-10-15-12-00-38-00"
                    }
                ],
                "fsavail": null,
                "fsroots": [],
                "fstype": "exfat",
                "fsuse_percentage": null,
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb1",
                "partn": 1,
                "parttype": "0x7",
                "partuuid": "b7e15526-01",
                "path": "/dev/sdb1",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "59967 MiB",
                "tran": null,
                "type": "part",
                "uuid": "4E21-0000"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "vfat",
                "fsuse_percentage": null,
                "fsver": "FAT16",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb2",
                "partn": 2,
                "parttype": "0xef",
                "partuuid": "b7e15526-02",
                "path": "/dev/sdb2",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "32 MiB",
                "tran": null,
                "type": "part",
                "uuid": "F767-A619"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sdb",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sdb",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "b7e15526",
        "rota": true,
        "size": "60000 MiB",
        "tran": "usb",
        "type": "disk",
        "uuid": null
    }
]
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/xorg.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/tailored.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/server.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/minimal.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktop.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/custom.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/tomcat.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/sshd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/postgresql.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/nginx.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/mariadb.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/lighttpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/httpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/docker.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/cockpit.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/xfce4.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/sway.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/qtile.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/mate.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/lxqt.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/kde.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/i3.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/hyprland.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/gnome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/enlightenment.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/deepin.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cutefish.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cinnamon.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/budgie.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/bspwm.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/awesome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/pipewire.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/__init__.py
Checking version...
Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: error: package 'archinstall' was not found
[?25l[?25h
Could not determine the filesystem: parted.FileSystem instance --
  type: linux-swap(v1)  geometry: <parted.geometry.Geometry object at 0x7f42819abcd0>  checked: False
  PedFileSystem: <_ped.FileSystem object at 0x7f42819aadc0>
Could not determine the filesystem: None
Hardware model detected: POSITIVO POS-AG31AP; UEFI mode: False
Processor model detected: Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz
Memory statistics: 1389412 available out of 3997536 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)'])
Disk states before installing: [
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/livefs",
        "mountpoints": [
            "/run/miso/sfs/livefs"
        ],
        "name": "loop0",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop0",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "71 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/mhwdfs",
        "mountpoints": [
            "/run/miso/sfs/mhwdfs"
        ],
        "name": "loop1",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop1",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1183 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/desktopfs",
        "mountpoints": [
            "/run/miso/sfs/desktopfs"
        ],
        "name": "loop2",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop2",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1715 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/rootfs",
        "mountpoints": [
            "/run/miso/sfs/rootfs"
        ],
        "name": "loop3",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop3",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "668 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [],
                "fsavail": 19126190080,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "58%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall",
                "mountpoints": [
                    "/mnt/archinstall"
                ],
                "name": "sda1",
                "partn": 1,
                "parttype": "0x83",
                "partuuid": "1a07977e-01",
                "path": "/dev/sda1",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "51199 MiB",
                "tran": null,
                "type": "part",
                "uuid": "befe0027-2c9f-461f-bed9-eac3036cfcd0"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "swap",
                "fsuse_percentage": null,
                "fsver": "1",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sda2",
                "partn": 2,
                "parttype": "0x82",
                "partuuid": "1a07977e-02",
                "path": "/dev/sda2",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "8192 MiB",
                "tran": null,
                "type": "part",
                "uuid": "420001a7-fdc1-4933-8d94-abfd6d593ee0"
            },
            {
                "children": [],
                "fsavail": 151353802752,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "35%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall/scratch",
                "mountpoints": [
                    "/mnt/archinstall/scratch"
                ],
                "name": "sda3",
                "partn": 3,
                "parttype": "0x83",
                "partuuid": "1a07977e-03",
                "path": "/dev/sda3",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "245853 MiB",
                "tran": null,
                "type": "part",
                "uuid": "5a54b117-d7bc-494e-8804-5aa207ac9e92"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sda",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sda",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "1a07977e",
        "rota": true,
        "size": "305245 MiB",
        "tran": "ata",
        "type": "disk",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [
                    {
                        "children": [],
                        "fsavail": 0,
                        "fsroots": [
                            "."
                        ],
                        "fstype": "iso9660",
                        "fsuse_percentage": "100%",
                        "fsver": "Joliet Extension",
                        "log_sec": 512,
                        "mountpoint": "/run/miso/bootmnt",
                        "mountpoints": [
                            "/run/miso/bootmnt"
                        ],
                        "name": "ventoy",
                        "partn": null,
                        "parttype": null,
                        "partuuid": null,
                        "path": "/dev/mapper/ventoy",
                        "pkname": "sdb1",
                        "pttype": "dos",
                        "ptuuid": null,
                        "rota": true,
                        "size": "3724 MiB",
                        "tran": null,
                        "type": "dm",
                        "uuid": "2023-10-15-12-00-38-00"
                    }
                ],
                "fsavail": null,
                "fsroots": [],
                "fstype": "exfat",
                "fsuse_percentage": null,
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb1",
                "partn": 1,
                "parttype": "0x7",
                "partuuid": "b7e15526-01",
                "path": "/dev/sdb1",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "59967 MiB",
                "tran": null,
                "type": "part",
                "uuid": "4E21-0000"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "vfat",
                "fsuse_percentage": null,
                "fsver": "FAT16",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb2",
                "partn": 2,
                "parttype": "0xef",
                "partuuid": "b7e15526-02",
                "path": "/dev/sdb2",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "32 MiB",
                "tran": null,
                "type": "part",
                "uuid": "F767-A619"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sdb",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sdb",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "b7e15526",
        "rota": true,
        "size": "60000 MiB",
        "tran": "usb",
        "type": "disk",
        "uuid": null
    }
]
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/xorg.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/tailored.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/server.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/minimal.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktop.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/custom.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/tomcat.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/sshd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/postgresql.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/nginx.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/mariadb.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/lighttpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/httpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/docker.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/cockpit.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/xfce4.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/sway.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/qtile.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/mate.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/lxqt.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/kde.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/i3.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/hyprland.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/gnome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/enlightenment.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/deepin.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cutefish.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cinnamon.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/budgie.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/bspwm.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/awesome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/pipewire.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/__init__.py
Checking version...
Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: error: package 'archinstall' was not found
[?25l[?25h
Disk layout configuration is set to pre-mount, not performing any operations
Starting installation
Waiting for time sync (systemd-timesyncd.service) to complete.
Waiting for automatic mirror selection (reflector) to complete.
Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.
A new package mirror-list has been created: /etc/pacman.d/mirrorlist
System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

The multilib flag is not set. This system will be installed without multilib repositories enabled.
The testing flag is not set. This system will be installed without testing repositories enabled.
Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode']
/usr/bin/pacstrap does not exist.
Could not strap in packages: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
Pacstrap failed. See /var/log/archinstall/install.log or above message for error details: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 50, in ask
    func(*args, **kwargs)
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 365, in __init__
    self.create_session()
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 414, in create_session
    with SysCommandWorker(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 197, in __exit__
    raise SysCallError(
archinstall.lib.exceptions.SysCallError: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 327, in run_as_a_module
    main()
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 322, in main
    importlib.import_module(mod_name)
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 256, in <module>
    perform_installation(archinstall.storage.get('MOUNT_POINT', Path('/mnt')))
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 118, in perform_installation
    with Installer(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in __exit__
    raise exc_val
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 142, in perform_installation
    installation.minimal_installation(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 648, in minimal_installation
    self.pacman.strap(self.base_packages)
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 82, in strap
    self.ask(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 56, in ask
    raise RequirementError(f'{bail_message}: {err}')
archinstall.lib.exceptions.RequirementError: Pacstrap failed. See /var/log/archinstall/install.log or above message for error details: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 

Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st

Could not strap in packages: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: p', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
[0m
[33mArchinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st
[0m

Pacstrap failed. See /var/log/archinstall/install.log or above message for error details: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: p', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
[0m
[33mArchinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st
[0m

Traceback (most recent call last):
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 50, in ask
    func(*args, **kwargs)
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 365, in __init__
    self.create_session()
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 414, in create_session
    with SysCommandWorker(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/general.py", line 197, in __exit__
    raise SysCallError(
archinstall.lib.exceptions.SysCallError: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: p', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
[0m
[33mArchinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st
[0m


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 327, in run_as_a_module
    main()
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 322, in main
    importlib.import_module(mod_name)
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 256, in <module>
    perform_installation(archinstall.storage.get('MOUNT_POINT', Path('/mnt')))
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 118, in perform_installation
    with Installer(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in __exit__
    raise exc_val
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 142, in perform_installation
    installation.minimal_installation(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 648, in minimal_installation
    self.pacman.strap(self.base_packages)
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 82, in strap
    self.ask(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/pacman/__init__.py", line 56, in ask
    raise RequirementError(f'{bail_message}: {err}')
archinstall.lib.exceptions.RequirementError: Pacstrap failed. See /var/log/archinstall/install.log or above message for error details: ['/usr/bin/pacstrap', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: p', '-C', '/etc/pacman.conf', '-K', '/mnt/archinstall', 'base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode', '--noconfirm'] exited with abnormal exit code [1]: 
[0m
[33mArchinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st
[0m


Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st

Could not determine the filesystem: parted.FileSystem instance --
  type: linux-swap(v1)  geometry: <parted.geometry.Geometry object at 0x7f3099336610>  checked: False
  PedFileSystem: <_ped.FileSystem object at 0x7f3099336a00>
Could not determine the filesystem: None
Hardware model detected: POSITIVO POS-AG31AP; UEFI mode: False
Processor model detected: Intel(R) Celeron(R) CPU        E3400  @ 2.60GHz
Memory statistics: 1394352 available out of 3997536 total installed
Could not detect virtual system: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

Virtualization detected: None; is VM: False
Graphics devices detected: dict_keys(['Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)'])
Disk states before installing: [
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/livefs",
        "mountpoints": [
            "/run/miso/sfs/livefs"
        ],
        "name": "loop0",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop0",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "71 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/mhwdfs",
        "mountpoints": [
            "/run/miso/sfs/mhwdfs"
        ],
        "name": "loop1",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop1",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1183 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/desktopfs",
        "mountpoints": [
            "/run/miso/sfs/desktopfs"
        ],
        "name": "loop2",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop2",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "1715 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [],
        "fsavail": 0,
        "fsroots": [
            "."
        ],
        "fstype": "squashfs",
        "fsuse_percentage": "100%",
        "fsver": "4.0",
        "log_sec": 512,
        "mountpoint": "/run/miso/sfs/rootfs",
        "mountpoints": [
            "/run/miso/sfs/rootfs"
        ],
        "name": "loop3",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/loop3",
        "pkname": null,
        "pttype": null,
        "ptuuid": null,
        "rota": true,
        "size": "668 MiB",
        "tran": null,
        "type": "loop",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [],
                "fsavail": 19133550592,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "58%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall",
                "mountpoints": [
                    "/mnt/archinstall"
                ],
                "name": "sda1",
                "partn": 1,
                "parttype": "0x83",
                "partuuid": "1a07977e-01",
                "path": "/dev/sda1",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "51199 MiB",
                "tran": null,
                "type": "part",
                "uuid": "befe0027-2c9f-461f-bed9-eac3036cfcd0"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "swap",
                "fsuse_percentage": null,
                "fsver": "1",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sda2",
                "partn": 2,
                "parttype": "0x82",
                "partuuid": "1a07977e-02",
                "path": "/dev/sda2",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "8192 MiB",
                "tran": null,
                "type": "part",
                "uuid": "420001a7-fdc1-4933-8d94-abfd6d593ee0"
            },
            {
                "children": [],
                "fsavail": 151353802752,
                "fsroots": [
                    "."
                ],
                "fstype": "ext4",
                "fsuse_percentage": "35%",
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": "/mnt/archinstall/scratch",
                "mountpoints": [
                    "/mnt/archinstall/scratch"
                ],
                "name": "sda3",
                "partn": 3,
                "parttype": "0x83",
                "partuuid": "1a07977e-03",
                "path": "/dev/sda3",
                "pkname": "sda",
                "pttype": "dos",
                "ptuuid": "1a07977e",
                "rota": true,
                "size": "245853 MiB",
                "tran": null,
                "type": "part",
                "uuid": "5a54b117-d7bc-494e-8804-5aa207ac9e92"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sda",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sda",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "1a07977e",
        "rota": true,
        "size": "305245 MiB",
        "tran": "ata",
        "type": "disk",
        "uuid": null
    },
    {
        "children": [
            {
                "children": [
                    {
                        "children": [],
                        "fsavail": 0,
                        "fsroots": [
                            "."
                        ],
                        "fstype": "iso9660",
                        "fsuse_percentage": "100%",
                        "fsver": "Joliet Extension",
                        "log_sec": 512,
                        "mountpoint": "/run/miso/bootmnt",
                        "mountpoints": [
                            "/run/miso/bootmnt"
                        ],
                        "name": "ventoy",
                        "partn": null,
                        "parttype": null,
                        "partuuid": null,
                        "path": "/dev/mapper/ventoy",
                        "pkname": "sdb1",
                        "pttype": "dos",
                        "ptuuid": null,
                        "rota": true,
                        "size": "3724 MiB",
                        "tran": null,
                        "type": "dm",
                        "uuid": "2023-10-15-12-00-38-00"
                    }
                ],
                "fsavail": null,
                "fsroots": [],
                "fstype": "exfat",
                "fsuse_percentage": null,
                "fsver": "1.0",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb1",
                "partn": 1,
                "parttype": "0x7",
                "partuuid": "b7e15526-01",
                "path": "/dev/sdb1",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "59967 MiB",
                "tran": null,
                "type": "part",
                "uuid": "4E21-0000"
            },
            {
                "children": [],
                "fsavail": null,
                "fsroots": [],
                "fstype": "vfat",
                "fsuse_percentage": null,
                "fsver": "FAT16",
                "log_sec": 512,
                "mountpoint": null,
                "mountpoints": [],
                "name": "sdb2",
                "partn": 2,
                "parttype": "0xef",
                "partuuid": "b7e15526-02",
                "path": "/dev/sdb2",
                "pkname": "sdb",
                "pttype": "dos",
                "ptuuid": "b7e15526",
                "rota": true,
                "size": "32 MiB",
                "tran": null,
                "type": "part",
                "uuid": "F767-A619"
            }
        ],
        "fsavail": null,
        "fsroots": [],
        "fstype": null,
        "fsuse_percentage": null,
        "fsver": null,
        "log_sec": 512,
        "mountpoint": null,
        "mountpoints": [],
        "name": "sdb",
        "partn": null,
        "parttype": null,
        "partuuid": null,
        "path": "/dev/sdb",
        "pkname": null,
        "pttype": "dos",
        "ptuuid": "b7e15526",
        "rota": true,
        "size": "60000 MiB",
        "tran": "usb",
        "type": "disk",
        "uuid": null
    }
]
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/xorg.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/tailored.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/server.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/minimal.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktop.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/custom.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/tomcat.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/sshd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/postgresql.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/nginx.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/mariadb.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/lighttpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/httpd.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/docker.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/cockpit.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/servers/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/xfce4.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/sway.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/qtile.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/mate.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/lxqt.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/kde.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/i3.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/hyprland.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/gnome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/enlightenment.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/deepin.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cutefish.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/cinnamon.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/budgie.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/bspwm.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/awesome.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/desktops/__init__.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/pipewire.py
Importing profile: /tmp/venv/lib/python3.11/site-packages/archinstall/default_profiles/applications/__init__.py
Checking version...
Failed determine pacman version: ['/usr/bin/pacman', '-Qu', 'archinstall'] exited with abnormal exit code [1]: error: package 'archinstall' was not found
[?25l[?25h
Disk layout configuration is set to pre-mount, not performing any operations
Starting installation
Waiting for time sync (systemd-timesyncd.service) to complete.
Waiting for automatic mirror selection (reflector) to complete.
Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.
A new package mirror-list has been created: /etc/pacman.d/mirrorlist
System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

The multilib flag is not set. This system will be installed without multilib repositories enabled.
The testing flag is not set. This system will be installed without testing repositories enabled.
Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'grub', 'intel-ucode']
Enabling periodic TRIM
Enabling service fstrim.timer
Invalid locale: language 'en_US', encoding 'UTF-8'
A new package mirror-list has been created: /mnt/archinstall/etc/pacman.d/mirrorlist
'uki'
Traceback (most recent call last):
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 327, in run_as_a_module
    main()
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/__init__.py", line 322, in main
    importlib.import_module(mod_name)
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 256, in <module>
    perform_installation(archinstall.storage.get('MOUNT_POINT', Path('/mnt')))
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 118, in perform_installation
    with Installer(
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in __exit__
    raise exc_val
  File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 161, in perform_installation
    archinstall.arguments["uki"]
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'uki'

Archinstall experienced the above error. If you think this is a bug, please report it to
https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".

Hint: To extract the log from a live ISO 
curl -F'file=@/var/log/archinstall/install.log' https://0x0.st


```



</details>
> oops, forgot to paste the logs and such:
> 
> ```
> File "/tmp/venv/lib/python3.11/site-packages/archinstall/lib/installer.py", line 109, in _exit_
>     raise exc_val
>   File "/tmp/venv/lib/python3.11/site-packages/archinstall/scripts/guided.py", line 161, in perform_installation
>     archinstall.arguments["uki"]
>     ~~~~~~~^^^^^^^
> KeyError: 'uki'
> 
> Archinstall experienced the above error. If you think this is a bug, please report it to
> https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".
> ```

Awesome thank you! This is for sure an assumption we shouldn't go :)
Maybe the same error ?

- from archiso, git clone archinstall.git
- cd archinstall/archinstall/scipts/
- python guided.py

![Screenshot_20231124_150351](https://github.com/archlinux/archinstall/assets/66792063/f825ee9a-68ab-42dd-b41d-df8d07339cce)

Updating archinstall from pip, and git clone the git solve the issue for me.

Need to update README.MD.
> Maybe the same error ?
> 
> * from archiso, git clone archinstall.git
> * cd archinstall/archinstall/scipts/
> * python guided.py
> 
> ![Screenshot_20231124_150351](https://user-images.githubusercontent.com/66792063/285476309-f825ee9a-68ab-42dd-b41d-df8d07339cce.png)

Should be:

 * from archiso, git clone archinstall.git
 * cd archinstall/
 * cp archinstall/scipts/guided.py ./
 * python guided.py

Otherwise the import path will be wonky


But I don't think this solved the original issue? 

Resolving patch:
diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py
--- a/archinstall/scripts/guided.py
+++ b/archinstall/scripts/guided.py
@@ -158,7 +158,7 @@ def perform_installation(mountpoint: Path):
 
 		installation.add_bootloader(
 			archinstall.arguments["bootloader"],
-			archinstall.arguments["uki"]
+			archinstall.arguments.get('uki', False)
 		)
 
 		# If user selected to copy the current ISO network configuration


Test patch: