Substring instead of substituted value after mkinitcpio update

While package update I currenly have:

==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'

/usr/lib/initcpio/functions: line 270: printf: P’: invalid format character`

Also I see GRUB’s boot menu I also see that substring instead of substituted value.

Desc

At least both 6.2 and 6.3-rc3 kernels affected: on both I saw that un-substituted substring.
I noticed it a couple days ago.
Strange enough: I have 2 almost the same PCs, one was updated almost daily and does not contain the bug, another one was updated on 18th March and after that on 22nd March only. May be that problem caused if mkinitcpio added somewhat on exact wrapper’s update iteration only and need to run every wrapper iterationally (one by one) instead of skipping some it’s versions (for example: ...-1, ...-2, ...-3, not ...-1 and then ...-3 (while skipping ...-2 package’s wrapper version)).

Complete log of the most recent update process
$ sudo pacman -Syu
:: Synchronising package databases...
 core                                                                                              162.7 KiB   354 KiB/s 00:00 [############################################################################] 100%
 extra                                                                                            1866.2 KiB  1400 KiB/s 00:01 [############################################################################] 100%
 community                                                                                           7.6 MiB  1322 KiB/s 00:06 [############################################################################] 100%
 chaotic-aur                                                                                         2.4 MiB  2.39 MiB/s 00:01 [############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (4)      Old Version  New Version  Net Change  Download Size

core/bison       3.8.2-4      3.8.2-5        0.01 MiB       0.75 MiB
core/flex        2.6.4-4      2.6.4-5        0.00 MiB       0.30 MiB
core/m4          1.4.19-2     1.4.19-3       0.00 MiB       0.24 MiB
core/mkinitcpio  35.1-4       35.1-5         0.00 MiB       0.06 MiB

Total Download Size:   1.35 MiB
Total Installed Size:  4.08 MiB
Net Upgrade Size:      0.01 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 mkinitcpio-35.1-5-any                                                                              57.5 KiB   194 KiB/s 00:00 [############################################################################] 100%
 m4-1.4.19-3-x86_64                                                                                246.0 KiB   600 KiB/s 00:00 [############################################################################] 100%
 flex-2.6.4-5-x86_64                                                                               307.5 KiB   646 KiB/s 00:00 [############################################################################] 100%
 bison-3.8.2-5-x86_64                                                                              772.0 KiB  1021 KiB/s 00:01 [############################################################################] 100%
 Total (4/4)                                                                                      1383.0 KiB  1722 KiB/s 00:01 [############################################################################] 100%
(4/4) checking keys in keyring                                                                                                 [############################################################################] 100%
(4/4) checking package integrity                                                                                               [############################################################################] 100%
(4/4) loading package files                                                                                                    [############################################################################] 100%
(4/4) checking for file conflicts                                                                                              [############################################################################] 100%
(4/4) checking available disk space                                                                                            [############################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
Using system disk as snapshot device for creating snapshots in BTRFS mode
Mounted '/dev/dm-0 (nvme0n1p2)' at '/run/timeshift/927666/backup'
btrfs: Quotas are not enabled
Creating new backup...(BTRFS)
Saving to device: /dev/dm-0, mounted at path: /run/timeshift/927666/backup
Created directory: /run/timeshift/927666/backup/timeshift-btrfs/snapshots/2023-03-23_23-20-19
Created subvolume snapshot: /run/timeshift/927666/backup/timeshift-btrfs/snapshots/2023-03-23_23-20-19/@
Created control file: /run/timeshift/927666/backup/timeshift-btrfs/snapshots/2023-03-23_23-20-19/info.json
BTRFS Snapshot saved successfully (0s)
Tagged snapshot '2023-03-23_23-20-19': ondemand
------------------------------------------------------------------------------
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-%PKGBASE%
Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-03-23 23:20:19 | timeshift-btrfs/snapshots/2023-03-23_23-20-19/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 1 snapshot(s)
Unmount /tmp/grub-btrfs.Yhr7zrkD8L .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
:: Processing package changes...
(1/4) upgrading m4                                                                                                             [############################################################################] 100%
(2/4) upgrading bison                                                                                                          [############################################################################] 100%
(3/4) upgrading flex                                                                                                           [############################################################################] 100%
(4/4) upgrading mkinitcpio                                                                                                     [############################################################################] 100%
:: Running post-transaction hooks...
(1/6) Reloading system manager configuration...
(2/6) Creating temporary files...
(3/6) Arming ConditionNeedsUpdate...
(4/6) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
/usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
  -> -k /boot/vmlinuz-==> Starting build: '6.3.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: 'qat_4xxx'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
/usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
  -> -k /boot/vmlinuz-==> Starting build: '6.3.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> 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: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: 'qat_4xxx'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
==> Image generation successful
(5/6) Refreshing PackageKit...
(6/6) Updating the info directory file...
$
Excerpt from pacman's update log shows dates gap period
...
[2023-03-18T07:04:24+0300] [ALPM] transaction started
[2023-03-18T07:04:24+0300] [ALPM] upgraded libsysprof-capture (3.46.0-4 -> 3.48.0-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded glib-networking (1:2.74.0-1 -> 1:2.76.0-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded libopenmpt (0.6.9-1 -> 0.6.9-2)
[2023-03-18T07:04:24+0300] [ALPM] upgraded libtiff (4.5.0-2 -> 4.5.0-3)
[2023-03-18T07:04:24+0300] [ALPM] upgraded librsvg (2:2.55.2-1 -> 2:2.56.0-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded libsoup3 (3.2.2-1 -> 3.4.0-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded openpmix (4.2.3-1 -> 4.2.3-2)
[2023-03-18T07:04:24+0300] [ALPM] upgraded qt6-translations (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded qt6-base (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:24+0300] [ALPM] upgraded qt6-5compat (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-declarative (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-imageformats (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-multimedia-ffmpeg (6.4.2-2 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-multimedia (6.4.2-2 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-svg (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] upgraded qt6-wayland (6.4.2-1 -> 6.4.3-1)
[2023-03-18T07:04:25+0300] [ALPM] transaction completed
[2023-03-18T07:04:25+0300] [ALPM] running '30-systemd-update.hook'...
[2023-03-18T07:04:25+0300] [ALPM] running '90-packagekit-refresh.hook'...
[2023-03-18T07:04:25+0300] [ALPM] running 'gdk-pixbuf-query-loaders.hook'...
[2023-03-18T07:04:25+0300] [ALPM] running 'gio-querymodules.hook'...
[2023-03-18T07:04:44+0300] [PAMAC] synchronizing package lists
[2023-03-22T08:50:24+0300] [PACMAN] Running 'pacman -Syu'
[2023-03-22T08:50:24+0300] [PACMAN] synchronizing package lists
[2023-03-22T08:50:33+0300] [ALPM] running '00-timeshift-autosnap.hook'...
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Using system disk as snapshot device for creating snapshots in BTRFS mode
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Mounted '/dev/dm-0 (nvme0n1p2)' at '/run/timeshift/1190116/backup'
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] btrfs: Quotas are not enabled
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Creating new backup...(BTRFS)
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Saving to device: /dev/dm-0, mounted at path: /run/timeshift/1190116/backup
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Created directory: /run/timeshift/1190116/backup/timeshift-btrfs/snapshots/2023-03-22_08-50-33
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Created subvolume snapshot: /run/timeshift/1190116/backup/timeshift-btrfs/snapshots/2023-03-22_08-50-33/@
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Created control file: /run/timeshift/1190116/backup/timeshift-btrfs/snapshots/2023-03-22_08-50-33/info.json
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] BTRFS Snapshot saved successfully (0s)
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] Tagged snapshot '2023-03-22_08-50-33': ondemand
[2023-03-22T08:50:33+0300] [ALPM-SCRIPTLET] ------------------------------------------------------------------------------
[2023-03-22T08:50:34+0300] [ALPM-SCRIPTLET] Generating grub configuration file ...
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found theme: /usr/share/grub/themes/manjaro/theme.txt
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-6.2-x86_64
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.2-x86_64.img
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-6.2-x86_64-fallback.img
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Adding boot menu entry for UEFI Firmware Settings ...
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Detecting snapshots ...
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-22 08:50:33 | timeshift-btrfs/snapshots/2023-03-22_08-50-33/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-18 07:04:22 | timeshift-btrfs/snapshots/2023-03-18_07-04-22/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-18 00:56:51 | timeshift-btrfs/snapshots/2023-03-18_00-56-51/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-17 23:19:26 | timeshift-btrfs/snapshots/2023-03-17_23-19-26/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found 4 snapshot(s)
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Unmount /tmp/grub-btrfs.EN299G2PhJ .. Success
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] Found memtest86+ image: /boot/memtest86+/memtest.bin
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] done
[2023-03-22T08:50:35+0300] [ALPM] transaction started
[2023-03-22T08:50:35+0300] [ALPM] upgraded archlinux-keyring (20230225-1 -> 20230320-1)
[2023-03-22T08:50:35+0300] [ALPM-SCRIPTLET] ==> Appending keys from archlinux.gpg...
[2023-03-22T08:50:39+0300] [ALPM-SCRIPTLET] ==> Updating trust database...
[2023-03-22T08:50:39+0300] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2023-03-30
[2023-03-22T08:50:39+0300] [ALPM-SCRIPTLET] ==> Updating trust database...
[2023-03-22T08:50:39+0300] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2023-03-30
[2023-03-22T08:50:39+0300] [ALPM] upgraded manjaro-keyring (20221028-4 -> 20230318-1)
[2023-03-22T08:50:39+0300] [ALPM-SCRIPTLET] ==> Appending keys from manjaro.gpg...
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: error reading key: No public key
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] ==> Locally signing trusted keys in keyring...
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET]   -> Locally signed 2 keys.
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] ==> Importing owner trust values...
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] ==> Disabling revoked keys in keyring...
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET]   -> Disabled 8 keys.
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] ==> Updating trust database...
[2023-03-22T08:50:40+0300] [ALPM-SCRIPTLET] gpg: next trustdb check due at 2023-03-30
[2023-03-22T08:50:40+0300] [ALPM] transaction completed
[2023-03-22T08:50:40+0300] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-03-22T08:50:40+0300] [ALPM] running '30-systemd-update.hook'...
[2023-03-22T08:50:40+0300] [ALPM] running '90-packagekit-refresh.hook'...
[2023-03-22T08:50:40+0300] [PACMAN] starting full system upgrade
[2023-03-22T08:52:14+0300] [ALPM] running '00-timeshift-autosnap.hook'...
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Using system disk as snapshot device for creating snapshots in BTRFS mode
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Mounted '/dev/dm-0 (nvme0n1p2)' at '/run/timeshift/1192475/backup'
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] btrfs: Quotas are not enabled
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Creating new backup...(BTRFS)
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Saving to device: /dev/dm-0, mounted at path: /run/timeshift/1192475/backup
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Created directory: /run/timeshift/1192475/backup/timeshift-btrfs/snapshots/2023-03-22_08-52-15
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Created subvolume snapshot: /run/timeshift/1192475/backup/timeshift-btrfs/snapshots/2023-03-22_08-52-15/@
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Created control file: /run/timeshift/1192475/backup/timeshift-btrfs/snapshots/2023-03-22_08-52-15/info.json
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] BTRFS Snapshot saved successfully (0s)
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] Tagged snapshot '2023-03-22_08-52-15': ondemand
[2023-03-22T08:52:15+0300] [ALPM-SCRIPTLET] ------------------------------------------------------------------------------
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Generating grub configuration file ...
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found theme: /usr/share/grub/themes/manjaro/theme.txt
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-6.2-x86_64
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.2-x86_64.img
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-6.2-x86_64-fallback.img
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Adding boot menu entry for UEFI Firmware Settings ...
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Detecting snapshots ...
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-22 08:52:15 | timeshift-btrfs/snapshots/2023-03-22_08-52-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-22 08:50:33 | timeshift-btrfs/snapshots/2023-03-22_08-50-33/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-18 07:04:22 | timeshift-btrfs/snapshots/2023-03-18_07-04-22/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-18 00:56:51 | timeshift-btrfs/snapshots/2023-03-18_00-56-51/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found snapshot: 2023-03-17 23:19:26 | timeshift-btrfs/snapshots/2023-03-17_23-19-26/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Found 5 snapshot(s)
[2023-03-22T08:52:16+0300] [ALPM-SCRIPTLET] Unmount /tmp/grub-btrfs.xC7QxDH2YI .. Success
[2023-03-22T08:52:17+0300] [ALPM-SCRIPTLET] Found memtest86+ image: /boot/memtest86+/memtest.bin
[2023-03-22T08:52:17+0300] [ALPM-SCRIPTLET] done
[2023-03-22T08:52:17+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-22T08:52:17+0300] [ALPM] transaction started
[2023-03-22T08:52:17+0300] [ALPM] upgraded alsa-firmware (1.2.4-2 -> 1.2.4-3)
[2023-03-22T08:52:17+0300] [ALPM] upgraded alsa-topology-conf (1.2.5.1-1 -> 1.2.5.1-3)
[2023-03-22T08:52:17+0300] [ALPM] upgraded filesystem (2023.01.30-1 -> 2023.03.21-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded alsa-oss (1.1.8-4 -> 1.1.8-5)
[2023-03-22T08:52:17+0300] [ALPM] upgraded glib2 (2.76.0-1 -> 2.76.0-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded gdbm (1.23-1 -> 1.23-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded xz (5.4.1-1 -> 5.4.2-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded curl (7.88.1-3 -> 8.0.1-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded libnftnl (1.2.4-1 -> 1.2.5-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded at-spi2-core (2.46.0-2 -> 2.48.0-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded libid3tag (0.15.1b-11 -> 0.15.1b-12)
[2023-03-22T08:52:17+0300] [ALPM] upgraded mpg123 (1.31.2-2 -> 1.31.3-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded libsamplerate (0.2.2-1 -> 0.2.2-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded portaudio (1:19.7.0-1 -> 1:19.7.0-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded portmidi (236-1 -> 1:2.0.4-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded gsettings-desktop-schemas (43.0-1 -> 44.0-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded tracker3 (3.4.2-2 -> 3.5.0-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded mesa (22.3.7-1 -> 22.3.7-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded audacity (1:3.2.5-1 -> 1:3.2.5-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded autoconf (2.71-3 -> 2.71-4)
[2023-03-22T08:52:17+0300] [ALPM] upgraded automake (1.16.5-1 -> 1.16.5-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded dmidecode (3.4-1 -> 3.5-1)
[2023-03-22T08:52:17+0300] [ALPM] upgraded efivar (38-2 -> 38-3)
[2023-03-22T08:52:17+0300] [ALPM] upgraded efibootmgr (18-1 -> 18-2)
[2023-03-22T08:52:17+0300] [ALPM] upgraded faac (1.30-3 -> 1.30-4)
[2023-03-22T08:52:17+0300] [ALPM] installed gperftools (2.10-1)
[2023-03-22T08:52:17+0300] [ALPM] installed highway (1.0.4-1)
[2023-03-22T08:52:17+0300] [ALPM] installed libjxl (0.8.1-1)
[2023-03-22T08:52:18+0300] [ALPM] upgraded ffmpeg (2:6.0-3 -> 2:6.0-4)
[2023-03-22T08:52:18+0300] [ALPM] upgraded fftw (3.3.10-3 -> 3.3.10-4)
[2023-03-22T08:52:18+0300] [ALPM] upgraded glslang (11.13.0-2 -> 12.0.0-1)
[2023-03-22T08:52:18+0300] [ALPM] installed libgirepository (1.76.0-1)
[2023-03-22T08:52:18+0300] [ALPM] upgraded gobject-introspection-runtime (1.74.0-1 -> 1.76.0-1)
[2023-03-22T08:52:18+0300] [ALPM] upgraded imagemagick (7.1.1.3-1 -> 7.1.1.4-1)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libavtp (0.2.0-1 -> 0.2.0-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libinstpatch (1.1.6-1 -> 1.1.6-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libkate (0.4.1-8 -> 0.4.1-9)
[2023-03-22T08:52:18+0300] [ALPM] upgraded shaderc (2023.2-1 -> 2023.2-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libplacebo (5.229.2-1 -> 5.229.2-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libva-mesa-driver (22.3.7-1 -> 22.3.7-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded libwbclient (4.18.0-1 -> 4.18.0-2)
[2023-03-22T08:52:18+0300] [ALPM] upgraded mkinitcpio (34-1.1 -> 35.1-2)
[2023-03-22T08:52:19+0300] [ALPM] upgraded linux62 (6.2.7-1 -> 6.2.7-2)
[2023-03-22T08:52:19+0300] [ALPM] upgraded make (4.4.1-1 -> 4.4.1-2)
[2023-03-22T08:52:19+0300] [ALPM] upgraded nftables (1:1.0.6-1 -> 1:1.0.7-1)
[2023-03-22T08:52:19+0300] [ALPM] upgraded nodejs (19.8.0-1 -> 19.8.1-1)
[2023-03-22T08:52:19+0300] [ALPM] upgraded pacman (6.0.2-8 -> 6.0.2-9)
[2023-03-22T08:52:19+0300] [ALPM] upgraded python-more-itertools (9.0.0-1 -> 9.1.1-1)
[2023-03-22T08:52:19+0300] [ALPM] upgraded python-pydantic (1.10.6-1 -> 1.10.6-2)
[2023-03-22T08:52:19+0300] [ALPM] upgraded python-setuptools (1:67.5.0-1 -> 1:67.6.0-1)
[2023-03-22T08:52:19+0300] [ALPM] upgraded rasqal (1:0.9.33-5 -> 1:0.9.33-6)
[2023-03-22T08:52:19+0300] [ALPM] upgraded rsync (3.2.7-3 -> 3.2.7-4)
[2023-03-22T08:52:19+0300] [ALPM] upgraded smbclient (4.18.0-1 -> 4.18.0-2)
[2023-03-22T08:52:19+0300] [ALPM] upgraded squashfs-tools (4.5.1-3 -> 4.6-2)
[2023-03-22T08:52:20+0300] [ALPM] upgraded telegram-desktop (4.6.5-3 -> 4.7.1-1)
[2023-03-22T08:52:20+0300] [ALPM] upgraded vte-common (0.70.3-1 -> 0.72.0-1)
[2023-03-22T08:52:20+0300] [ALPM] upgraded vte3 (0.70.3-1 -> 0.72.0-1)
[2023-03-22T08:52:20+0300] [ALPM] upgraded xapp (2.4.2-1 -> 2.4.2-2)
[2023-03-22T08:52:20+0300] [ALPM] transaction completed
...

Your mirrors are not up to date. The current version of mkinitcpio is 35.1-5.

1 Like

no, they are (the effect happens until current time. I noticed it a couple days ago, but it is ongoing)

a bit more selected history
$ cat /var/log/pacman.log | grep -iE "mkinitcpio|PKGBASE|invalid"
...
[2023-02-03T23:19:14+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-03T23:19:14+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-03T23:19:14+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-03T23:19:20+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-03T23:19:20+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-05T13:43:19+0300] [ALPM] upgraded mkinitcpio (34-1 -> 34-1.1)
[2023-02-05T13:43:20+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-05T13:43:20+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-05T13:43:20+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-05T13:43:26+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-05T13:43:26+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-12T19:08:47+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-12T19:08:47+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-12T19:08:47+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-12T19:08:53+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-12T19:08:53+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-12T22:22:11+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-02-12T22:22:13+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-12T22:22:13+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-12T22:22:13+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-12T22:22:19+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-12T22:22:19+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-15T15:53:29+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-15T15:53:29+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-15T15:53:29+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-15T15:53:34+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-15T15:53:34+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-17T02:17:01+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-17T02:17:01+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-17T02:17:01+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-17T02:17:06+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-17T02:17:06+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-20T19:14:10+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-20T19:14:10+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-20T19:14:10+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-20T19:14:15+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-20T19:14:15+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-23T19:36:51+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-23T19:36:51+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-23T19:36:51+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-23T19:36:55+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-23T19:36:55+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-25T22:33:24+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-25T22:33:24+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-25T22:33:24+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-25T22:33:30+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-25T22:33:30+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-02-27T00:41:35+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-02-27T00:41:38+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-02-27T00:41:38+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-02-27T00:41:38+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-02-27T00:41:42+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-02-27T00:41:42+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-04T00:03:18+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-04T00:03:25+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-04T00:03:25+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-04T00:03:25+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-04T00:03:29+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-04T00:03:29+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-08T07:09:54+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-08T07:09:54+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-08T07:09:54+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-08T07:09:59+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-08T07:09:59+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-11T17:20:31+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-11T17:20:34+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-11T17:20:34+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-11T17:20:34+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-11T17:20:38+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-11T17:20:38+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-11T20:58:57+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-11T20:59:01+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-11T20:59:01+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-11T20:59:01+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-11T20:59:05+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-11T20:59:05+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-11T23:41:37+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-11T23:41:39+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-11T23:41:39+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-11T23:41:39+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-11T23:41:43+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-11T23:41:43+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-13T22:23:34+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-13T22:23:42+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-13T22:23:42+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-13T22:23:42+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-13T22:23:46+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-13T22:23:46+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-18T00:56:53+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-18T00:56:55+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-18T00:56:55+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-18T00:56:55+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64.img
[2023-03-18T00:57:00+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-18T00:57:00+0300] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-6.2-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.2-x86_64-fallback.img -S autodetect
[2023-03-22T08:52:17+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-22T08:52:18+0300] [ALPM] upgraded mkinitcpio (34-1.1 -> 35.1-2)
[2023-03-22T08:52:22+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-22T08:52:22+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'default'
[2023-03-22T08:52:22+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-22T08:52:24+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
[2023-03-22T08:52:24+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux62.preset: 'fallback'
[2023-03-22T08:52:24+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-22T08:52:29+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
[2023-03-22T08:52:30+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-22T08:52:30+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-22T08:52:30+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-22T08:53:56+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-22T08:53:56+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-22T08:53:57+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-22T09:00:38+0300] [ALPM] running '60-mkinitcpio-remove.hook'...
[2023-03-22T09:01:24+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-22T09:01:24+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
[2023-03-22T09:01:24+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-22T09:01:27+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
[2023-03-22T09:01:27+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
[2023-03-22T09:01:27+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-22T09:01:34+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
[2023-03-22T09:01:35+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-22T09:01:35+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-22T09:01:35+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-23T09:14:39+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-23T09:14:39+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-23T09:14:39+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-23T09:14:40+0300] [ALPM] upgraded mkinitcpio (35.1-2 -> 35.1-4)
[2023-03-23T09:14:40+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-23T09:14:40+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
[2023-03-23T09:14:40+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T09:14:42+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
[2023-03-23T09:14:42+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
[2023-03-23T09:14:42+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T09:14:48+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
[2023-03-23T17:15:34+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-23T17:15:34+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-23T17:15:34+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-23T17:15:36+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-23T17:15:36+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
[2023-03-23T17:15:36+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T17:15:38+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
[2023-03-23T17:15:38+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
[2023-03-23T17:15:38+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T17:15:44+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
[2023-03-23T23:20:20+0300] [ALPM-SCRIPTLET] Found linux image: /boot/vmlinuz-%PKGBASE%
[2023-03-23T23:20:20+0300] [ALPM-SCRIPTLET] Found initrd image: /boot/intel-ucode.img /boot/initramfs-%PKGBASE%.img
[2023-03-23T23:20:20+0300] [ALPM-SCRIPTLET] Found initrd fallback image: /boot/initramfs-%PKGBASE%-fallback.img
[2023-03-23T23:20:21+0300] [ALPM] upgraded mkinitcpio (35.1-4 -> 35.1-5)
[2023-03-23T23:20:21+0300] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-03-23T23:20:21+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
[2023-03-23T23:20:21+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T23:20:23+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%.img'
[2023-03-23T23:20:23+0300] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
[2023-03-23T23:20:23+0300] [ALPM-SCRIPTLET] /usr/lib/initcpio/functions: line 270: printf: `P': invalid format character
[2023-03-23T23:20:28+0300] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-%PKGBASE%-fallback.img'
$
Also I don't see any "P" character in the mentioned file

The cat /usr/lib/initcpio/functions -A | less -N shows this:

...
    255 quiet() {$
    256     # _optquiet is assigned in mkinitcpio$
    257     # shellcheck disable=SC2154$
    258     (( _optquiet )) || plain "$@"$
    259 }$
    260 $
    261 msg() {$
    262     local mesg="$1"; shift$
    263     # shellcheck disable=SC2059$
    264     printf "$_color_green==>$_color_none $_color_bold$mesg$_color_none\n" "$@" >&1$
    265 }$
    266 $
    267 msg2() {$
    268     local mesg="$1"; shift$
    269     # shellcheck disable=SC2059$
    270     printf "  $_color_blue->$_color_none $_color_bold$mesg$_color_none\n" "$@" >&1$
    271 }$
    272 $
    273 warning() {$
    274     local mesg="$1"; shift$
    275     # shellcheck disable=SC2059$
    276     printf "$_color_yellow==> WARNING:$_color_none $_color_bold$mesg$_color_none\n" "$@" >&2$
    277 }$
    278 $
    279 error() {$
    280     local mesg="$1"; shift$
    281     # shellcheck disable=SC2059$
    282     printf "$_color_red==> ERROR:$_color_none $_color_bold$mesg$_color_none\n" "$@" >&2$
    283     return 1$
    284 }$
    285 $
    286 die() {$
    287     error "$@"$
    288     cleanup 1$
    289 }$
    290 $
    291 map() {$
    292     local r=0$
    293     for _ in "${@:2}"; do$
...

You did read the posts here in this thread and this post, right? :wink:

2 Likes

This also looks broken.
Check /etc/mkinitcpio.d/linux63.preset and manually adjust possibly broken

default_image="/boot/initramfs-6.3-x86_64.img"
...
fallback_image="/boot/initramfs-6.3-x86_64-fallback.img"
1 Like
I removed all kernels (I had only one)
$ sudo pacman -Rsun linux63
checking dependencies...
:: base optionally requires linux: bare metal support

Package (1)  Old Version  Net Change 

linux63      6.3.0rc3-1   -177.81 MiB

Total Removed Size:  177.81 MiB

:: Do you want to remove these packages? [Y/n] 
:: Running pre-transaction hooks...
(1/1) Removing linux initcpios...
:: Processing package changes...
(1/1) removing linux63                                                                                                         [############################################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Refreshing PackageKit...
(4/4) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-03-24 09:27:15 | timeshift-btrfs/snapshots/2023-03-24_09-27-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2023-03-23 23:20:19 | timeshift-btrfs/snapshots/2023-03-23_23-20-19/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 2 snapshot(s)
Unmount /tmp/grub-btrfs.gowjq4Lrc8 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
have no any kernel
$ mhwd-kernel -li
Currently running: 6.3.0-1-MANJARO (linux63)
The following kernels are installed in your system:
$ mhwd-kernel -l
available kernels:
   * linux419
   * linux510
   * linux515
   * linux54
   * linux61
   * linux62
   * linux63
   * linux515-rt
   * linux60-rt
the /etc/mkinitcpio.d/ contains only one file. removed.
$ /etc/mkinitcpio.d/linux63.preset.pacsave
# mkinitcpio preset file for the '%PKGBASE%' package

ALL_config="/etc/mkinitcpio.conf"
ALL_kver="/boot/vmlinuz-%PKGBASE%"
ALL_microcode=(/boot/*-ucode.img)

PRESETS=('default' 'fallback')

#default_config="/etc/mkinitcpio.conf"
default_image="/boot/initramfs-%PKGBASE%.img"
#default_uki="/efi/EFI/Linux/arch-%PKGBASE%.efi"
#default_options="--splash /usr/share/systemd/bootctl/splash-arch.bmp"

#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/boot/initramfs-%PKGBASE%-fallback.img"
#fallback_uki="/efi/EFI/Linux/arch-%PKGBASE%-fallback.efi"
fallback_options="-S autodetect"
$
$ sudo rm /etc/mkinitcpio.d/linux63.preset.pacsave
$
re-installed 6.3-rc3
$ sudo pacman -Syu linux63
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 chaotic-aur                                                                                         2.4 MiB  2.23 MiB/s 00:01 [############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)   New Version  Net Change

core/linux63  6.3.0rc3-1   177.81 MiB

Total Installed Size:  177.81 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                 [############################################################################] 100%
(1/1) checking package integrity                                                                                               [############################################################################] 100%
(1/1) loading package files                                                                                                    [############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [############################################################################] 100%
(1/1) checking available disk space                                                                                            [############################################################################] 100%
:: Processing package changes...
(1/1) installing linux63                                                                                                       [############################################################################] 100%
Optional dependencies for linux63
    wireless-regdb: to set the correct wireless channels of your country
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'default'
  -> -k /boot/vmlinuz-6.3-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.3-x86_64.img --microcode /boot/intel-ucode.img
==> Starting build: '6.3.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: 'qat_4xxx'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.3-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux63.preset: 'fallback'
  -> -k /boot/vmlinuz-6.3-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-6.3-x86_64-fallback.img -S autodetect --microcode /boot/intel-ucode.img
==> Starting build: '6.3.0-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> 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: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [encrypt]
==> WARNING: Possibly missing firmware for module: 'qat_4xxx'
  -> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.3-x86_64-fallback.img'
==> Image generation successful
(4/5) Refreshing PackageKit...
(5/5) Updating Grub-Bootmenu
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.3-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.3-x86_64.img
Found initrd fallback image: /boot/initramfs-6.3-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
Found snapshot: 2023-03-24 09:27:15 | timeshift-btrfs/snapshots/2023-03-24_09-27-15/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2023-03-23 23:20:19 | timeshift-btrfs/snapshots/2023-03-23_23-20-19/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 2 snapshot(s)
Unmount /tmp/grub-btrfs.0qNDLGy56u .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Looks like got no problems.
Thanks, Mark, Freggel!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.