You are not logged in.
Hi
I just did a fresh install of Arch and as far as I can tell everything is working fine except for one small detail. When I install the linux or linux-lts packages, pacman gives me this strange message:
...
==> Image generation successful
error: command failed to execute correctly/var/log/pacman.log omits the last line, but otherwise contains no additional information.
So what is the actual error?
Full output:
$ pacman -vS linux-lts
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : linux-lts
resolving dependencies...
warning: linux-lts-6.1.31-1 is up to date -- reinstalling
looking for conflicting packages...
Packages (1) linux-lts-6.1.31-1
Total Installed Size: 136.63 MiB
Net Upgrade Size: 0.00 MiB
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
reinstalling linux-lts...
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img --microcode /boot/*-ucode.img
==> Starting build: '6.1.31-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> WARNING: No fsck helpers found. fsck will not be run on boot.
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect --microcode /boot/*-ucode.img
==> Starting build: '6.1.31-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'wd719x'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
==> Image generation successful
error: command failed to execute correctlyThanks for your help.
Last edited by boesi (2023-06-02 17:52:32)
Offline
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
==> WARNING: errors were encountered during the build. The image may not be complete.Offline
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img' ==> WARNING: errors were encountered during the build. The image may not be complete.
indeed...
and installing btrfs-progs also made this warning disappear:
...
-> Running build hook: [fsck]
==> WARNING: No fsck helpers found. fsck will not be run on boot.
...I knew it, in this simple error message was something to learn. Thanks.
Last edited by boesi (2023-06-02 17:47:31)
Offline