archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.37k stars 545 forks source link

Unable to set locale 'us' for console Failed to connect to bus #2680

Open Apxdono opened 2 months ago

Apxdono commented 2 months ago

Which ISO version are you using?

2024-09-01

The installation log

-- Chosen configuration --
{
    "__separator__": null,
    "additional-repositories": [
        "multilib"
    ],
    "archinstall-language": "English",
    "audio_config": {
        "audio": "pulseaudio"
    },
    "bootloader": "Grub",
    "config_version": "2.8.6",
    "debug": false,
    "disk_config": {
        "config_type": "manual_partitioning",
        "device_modifications": [
            {
                "device": "/dev/nvme0n1",
                "partitions": [
                    {
                        "btrfs": [],
                        "dev_path": "/dev/nvme0n1p1",
                        "flags": [
                            "Boot",
                            "ESP"
                        ],
                        "fs_type": "fat32",
                        "mount_options": [],
                        "mountpoint": "/boot",
                        "obj_id": "521bb1f2-30ac-4570-bf35-a1fc0c886145",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 1199553536
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 34
                        },
                        "status": "existing",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": "/dev/nvme0n1p2",
                        "flags": [],
                        "fs_type": "ext4",
                        "mount_options": [],
                        "mountpoint": "/",
                        "obj_id": "e1daae48-0820-4a35-8412-aa4dfb74d283",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 209999364096
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 2342912
                        },
                        "status": "existing",
                        "type": "primary"
                    },
                    {
                        "btrfs": [],
                        "dev_path": "/dev/nvme0n1p3",
                        "flags": [],
                        "fs_type": "ext4",
                        "mount_options": [],
                        "mountpoint": "/home",
                        "obj_id": "75d09bef-8b63-4164-8c4d-c0a4558cc557",
                        "size": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "B",
                            "value": 300910903296
                        },
                        "start": {
                            "sector_size": {
                                "unit": "B",
                                "value": 512
                            },
                            "unit": "sectors",
                            "value": 412497920
                        },
                        "status": "existing",
                        "type": "primary"
                    }
                ],
                "wipe": false
            }
        ]
    },
    "disk_encryption": null,
    "hostname": "olegarch",
    "kernels": [
        "linux"
    ],
    "locale_config": {
        "kb_layout": "us",
        "sys_enc": "UTF-8",
        "sys_lang": "en_US.UTF-8"
    },
    "mirror_config": {
        "custom_mirrors": [],
        "mirror_regions": {
            "Ukraine": [
                "http://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch",
                "https://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch",
                "http://fastmirror.pp.ua/archlinux/$repo/os/$arch",
                "http://mirror.mirohost.net/archlinux/$repo/os/$arch",
                "http://archlinux.ip-connect.vn.ua/$repo/os/$arch",
                "https://fastmirror.pp.ua/archlinux/$repo/os/$arch",
                "https://mirror.mirohost.net/archlinux/$repo/os/$arch",
                "https://archlinux.ip-connect.vn.ua/$repo/os/$arch",
                "http://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch",
                "https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch"
            ]
        }
    },
    "network_config": {
        "type": "nm"
    },
    "no_pkg_lookups": false,
    "ntp": true,
    "offline": false,
    "packages": [
        "docker",
        "neovim"
    ],
    "parallel downloads": 0,
    "profile_config": {
        "gfx_driver": "AMD / ATI (open-source)",
        "greeter": "sddm",
        "profile": {
            "custom_settings": {
                "KDE Plasma": {}
            },
            "details": [
                "KDE Plasma"
            ],
            "main": "Desktop"
        }
    },
    "save_config": null,
    "script": "guided",
    "silent": false,
    "skip_ntp": false,
    "skip_version_check": false,
    "swap": false,
    "timezone": "Europe/Kyiv",
    "uki": false,
    "version": "2.8.6"
}
Unmounting all existing partitions: /dev/nvme0n1
Unmounting: /dev/nvme0n1p1
Unmounting: /dev/nvme0n1p2
Unmounting: /dev/nvme0n1p3
Use existing device: /dev/nvme0n1
Creating partitions: /dev/nvme0n1
Starting installation...
Mounting ordered layout
No lvm config defined to be mounted
Mounting partition layout
Mounting /dev/nvme0n1p2: mount /dev/nvme0n1p2 /mnt/archinstall
Mounting /dev/nvme0n1p1: mount /dev/nvme0n1p1 /mnt/archinstall/boot
Mounting /dev/nvme0n1p3: mount /dev/nvme0n1p3 /mnt/archinstall/home
Waiting for time sync (timedatectl show) to complete.
Waiting for automatic mirror selection (reflector) to complete.
Waiting for Arch Linux keyring sync (archlinux-keyring-wkd-sync) to complete.
Setting mirrors
Mirrorlist: 

## Ukraine
Server = http://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch

## Ukraine
Server = https://mirrors.reitarovskyi.tech/archlinux/$repo/os/$arch

## Ukraine
Server = http://fastmirror.pp.ua/archlinux/$repo/os/$arch

## Ukraine
Server = http://mirror.mirohost.net/archlinux/$repo/os/$arch

## Ukraine
Server = http://archlinux.ip-connect.vn.ua/$repo/os/$arch

## Ukraine
Server = https://fastmirror.pp.ua/archlinux/$repo/os/$arch

## Ukraine
Server = https://mirror.mirohost.net/archlinux/$repo/os/$arch

## Ukraine
Server = https://archlinux.ip-connect.vn.ua/$repo/os/$arch

## Ukraine
Server = http://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch

## Ukraine
Server = https://mirrors.nix.org.ua/linux/archlinux/$repo/os/$arch

System is not running in a VM: ['/usr/bin/systemd-detect-virt'] exited with abnormal exit code [1]: none

The multilib flag is set. This system will be installed with the multilib repository enabled.
The testing flag is not set. This system will be installed without testing repositories enabled.
Installing packages: ['base', 'base-devel', 'linux-firmware', 'linux', 'amd-ucode']
Enabling periodic TRIM
Enabling service fstrim.timer
Setting keyboard language to us
Unable to set locale 'us' for console: ['/usr/bin/systemd-run', '--machine=archinstall', '--pty', '/usr/bin/localectl', 'set-keymap', 'us'] exited with abnormal exit code [1]: Failed to connect to bus: Connection refused

 The error above occurred in a temporary boot-up of the installation <archinstall.lib.installer.Installer object at 0x7741cc335a60>

describe the problem

Description of the issue

Installer is unable to proceed and fails to set up console locale

Performing loadkeys, locale-gen has no effect on installation.

rasputyashka commented 2 months ago

have the same issue with minmal configuration and manual partition (have Windows at the same disk on another partition)

astoko commented 3 weeks ago

Same here :/

Torxed commented 3 weeks ago

Might be a duplicate of https://github.com/archlinux/archinstall/issues/2764

Besides that, always use the latest ISO.