[arch-general] Updating linux-lts initcpios... error: command failed to execute correctly

Ralph Corderoy ralph at inputplus.co.uk
Wed Nov 7 12:27:29 UTC 2018


Hi,

This morning's `pacman -Su' had a problem building the fallback initcpio
image for 4.14.79-1-lts.  Yesterday's /var/log/pacman.log shows

    [2018-11-06 10:45] [ALPM] upgraded linux-lts (4.14.78-1 -> 4.14.79-1)
    [2018-11-06 10:45] [ALPM] running '60-linux-lts.hook'...
    [2018-11-06 10:45] [ALPM] running '90-linux-lts.hook'...

that all went well.

Today, package `linux-lts' wasn't upgraded but 90-linux-lts.hook was
triggered.  60-linux-lts.hook wasn't.  pacman's TTY output complained
`error: command failed to execute correctly' and the list of `Running'
build hooks didn't complete.  The same steps for package `linux'
immediately after didn't have the same problem.

    :: Running post-transaction hooks...
    ( 1/12) Updating linux-lts initcpios...
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
    ==> Starting build: 4.14.79-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [autodetect]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
      -> Running build hook: [filesystems]
      -> Running build hook: [keyboard]
      -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
      -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    ==> Starting build: 4.14.79-1-lts
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
 →  error: command failed to execute correctly
    ( 2/12) Updating linux initcpios...
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
      -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 4.18.16-arch1-1-ARCH
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [autodetect]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
      -> Running build hook: [filesystems]
      -> Running build hook: [keyboard]
      -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
      -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 4.18.16-arch1-1-ARCH
      -> Running build hook: [base]
      -> Running build hook: [udev]
      -> Running build hook: [modconf]
      -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
      -> Running build hook: [filesystems]
      -> Running build hook: [keyboard]
      -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    ( 3/12) Updating icon theme caches...

I was hoping pacman.log might have more detail, but it doesn't even
record that there was an error.  I think that's a bug.

    [2018-11-07 11:18] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
    [2018-11-07 11:18] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    [2018-11-07 11:18] [ALPM-SCRIPTLET] ==> Starting build: 4.14.79-1-lts
    [2018-11-07 11:18] [ALPM-SCRIPTLET]   -> Running build hook: [base]
    [2018-11-07 11:18] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
    [2018-11-07 11:18] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
    [2018-11-07 11:18] [ALPM-SCRIPTLET]   -> Running build hook: [block]
    [2018-11-07 11:18] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
    [2018-11-07 11:18] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2018-11-07 11:19] [ALPM] running '90-linux.hook'...
    [2018-11-07 11:19] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'

Where should I look for clues why the command failed?
And after that, is attempting another build of the image as simple as
`/usr/bin/mkinitcpio -p linux-lts' as root?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


More information about the arch-general mailing list