You are not logged in.
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
type loadkeys
pacman -Qo loadkeys /usr/bin/loadkeys
pacman -Qikk kbd
Offline
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
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.
Offline