You are not logged in.

#1 2022-11-14 15:27:51

ljyip
Member
Registered: 2022-07-26
Posts: 17

[SOLVED] initcpio keymap loadkeys not found

Hi, whenever I run `mkinitcpio -P`, this error always shows up: `/usr/lib/initcpio/install/keymap: line 21: loadkeys: command not found`

My mkinitcpio.conf:

```
MODULES=(usbhid xhci_hcd intel_agp i915)

BINARIES=(btrfs)

FILES=(/etc/keys/cryptlvm.keyfile)

HOOKS=(base udev keyboard autodetect keymap consolefont modconf block encrypt lvm2 filesystems resume fsck)
```

This error started appearing this morning--I have never seen it before.

Last edited by ljyip (2022-11-14 15:53:41)

Offline

#2 2022-11-14 15:49:33

seth
Member
Registered: 2012-09-03
Posts: 51,139

Re: [SOLVED] initcpio keymap loadkeys not found

type loadkeys
pacman -Qo loadkeys /usr/bin/loadkeys
pacman -Qikk kbd

Online

#3 2022-11-14 15:52:50

ljyip
Member
Registered: 2022-07-26
Posts: 17

Re: [SOLVED] initcpio keymap loadkeys not found

type loadkeys
loadkeys not found
pacman -Qo loadkeys /usr/bin/loadkeys
error: No package owns loadkeys
error: No package owns /usr/bin/loadkeys
pacman -Qikk kbd
error: package 'kbd' was not found

EDIT: I installed the kbd package and it worked!

Last edited by ljyip (2022-11-14 15:53:34)

Offline

#4 2022-11-14 16:03:10

seth
Member
Registered: 2012-09-03
Posts: 51,139

Re: [SOLVED] initcpio keymap loadkeys not found

It's a hard dependency for systemd.
Unless you're trying to use openrc etc. you may want to check your pacman log whether you screwed up beyond the kbd package.

Online

Board footer

Powered by FluxBB