Today got the message to update pipewire and linux 515. I started this using pamac GUI. Now its running since more than 15 Minutes without any progress in Post-Transaction-Hooks 4/5:
Vorbereitung...
Synchronisiere Paketdatenbanken...
Aktualisierung von AUR...
Warnung: libreoffice-fresh-rpm: ignoriere Paket-Upgrade (6.4.7-2 => 7.4.1-1)
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Herunterladen von lib32-libpipewire (1:0.3.70-0) gestartet
Herunterladen von libpipewire (1:0.3.70-0) gestartet
Herunterladen von lib32-libpipewire (1:0.3.70-0) beendet
Herunterladen von grub-theme-manjaro (20.2-15) gestartet
Herunterladen von libpipewire (1:0.3.70-0) beendet
Herunterladen von grub-theme-manjaro (20.2-15) beendet
Herunterladen von pipewire (1:0.3.70-0) gestartet
Herunterladen von lib32-pipewire (1:0.3.70-0) gestartet
Herunterladen von lib32-pipewire (1:0.3.70-0) beendet
Herunterladen von linux510 (5.10.178-1) gestartet
Herunterladen von pipewire (1:0.3.70-0) beendet
Herunterladen von linux510-virtualbox-host-modules (7.0.6-21) gestartet
Herunterladen von linux510-virtualbox-host-modules (7.0.6-21) beendet
Herunterladen von linux515 (5.15.108-1) gestartet
Herunterladen von linux510 (5.10.178-1) beendet
Herunterladen von linux515-virtualbox-host-modules (7.0.6-24) gestartet
Herunterladen von linux515-virtualbox-host-modules (7.0.6-24) beendet
Herunterladen von linux54 (5.4.241-1) gestartet
Herunterladen von linux515 (5.15.108-1) beendet
Herunterladen von linux54-virtualbox-host-modules (7.0.6-17) gestartet
Herunterladen von linux54-virtualbox-host-modules (7.0.6-17) beendet
Herunterladen von linux54 (5.4.241-1) beendet
Überprüfe Schlüsselring...
Integrität wird überprüft...
Paketdateien werden geladen...
Dateikonflikte werden überprüft...
Überprüfe verfügbaren Speicherplatz...
Starte Pre-Transaction-Hooks...
Removing linux initcpios...
Save Linux kernel modules
Erneuere grub-theme-manjaro (20.2-13 -> 20.2-15)...
Erneuere libpipewire (1:0.3.68-1 -> 1:0.3.70-0)...
Erneuere lib32-libpipewire (1:0.3.68-1 -> 1:0.3.70-0)...
Erneuere pipewire (1:0.3.68-1 -> 1:0.3.70-0)...
Erneuere lib32-pipewire (1:0.3.68-1 -> 1:0.3.70-0)...
Erneuere linux510 (5.10.177-1 -> 5.10.178-1)...
Erneuere linux510-virtualbox-host-modules (7.0.6-20 -> 7.0.6-21)...
In order to use the new version, reload all virtualbox modules manually.
Erneuere linux515 (5.15.106-1 -> 5.15.108-1)...
Erneuere linux515-virtualbox-host-modules (7.0.6-22 -> 7.0.6-24)...
In order to use the new version, reload all virtualbox modules manually.
Erneuere linux54 (5.4.240-1 -> 5.4.241-1)...
Erneuere linux54-virtualbox-host-modules (7.0.6-16 -> 7.0.6-17)...
In order to use the new version, reload all virtualbox modules manually.
Starte Post-Transaction-Hooks...
Arming ConditionNeedsUpdate...
Updating module dependencies...
Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: '5.10.178-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: '5.10.178-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.10-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> Starting build: '5.15.108-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.15-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
-> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> Starting build: '5.15.108-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.15-x86_64-fallback.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: '5.4.241-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.4-x86_64.img'
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: '5.4.241-1-MANJARO'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [resume]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: '/boot/initramfs-5.4-x86_64-fallback.img'
==> Image generation successful
Updating Grub-Bootmenu
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-5.15-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.10-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.4-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
Contrary to post title the kernel update did finish, initramfs were built for multiple kernels and it looks fine to me.
If the output correlates to your problem grub’s os-prober seems to stall.
If you don’t need it (no other operating systems on the machine), disable it in /etc/default/grub.
Try killing the os-prober process to let the update finish and re-generate your grub.cfg afterwards:
$ sudo update-grub
Friendly reminder: do not reboot or power off your machine until this is solved as grub.cfg is kinda important for booting up again.
$ sudo fdisk -l or blkid
fdisk: or kann nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
fdisk: blkid kann nicht geöffnet werden: Datei oder Verzeichnis nicht gefunden
$ sudo update-grub
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-5.15-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.10-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.4-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober ausgeführt.
Dessen Ausgabe wird zur Erkennung bootfähiger Programmdateien und Erzeugen neuer Boot-Einträge verwendet.
rmdir: konnte '/var/lib/os-prober/mount' nicht entfernen: Das Gerät oder die Ressource ist belegt
rmdir: konnte '/var/lib/os-prober/mount' nicht entfernen: Das Gerät oder die Ressource ist belegt
rmdir: konnte '/var/lib/os-prober/mount' nicht entfernen: Das Gerät oder die Ressource ist belegt
rmdir: konnte '/var/lib/os-prober/mount' nicht entfernen: Das Gerät oder die Ressource ist belegt
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen
# Uncomment this option to enable os-prober execution in the grub-mkconfig command
# GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_OS_PROBER=true
and
$ sudo update-grub
GRUB-Konfigurationsdatei wird erstellt …
Thema gefunden: /usr/share/grub/themes/manjaro/theme.txt
Linux-Abbild gefunden: /boot/vmlinuz-5.15-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.10-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Linux-Abbild gefunden: /boot/vmlinuz-5.4-x86_64
initrd-Abbild gefunden: /boot/amd-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Warnung: Zur Erkennung anderer bootfähiger Partitionen wird os-prober nicht ausgeführt.
Die darauf befindlichen Systeme werden nicht zur GRUB-Bootkonfiguration hinzugefügt.
Schauen Sie in den Dokumentationseintrag GRUB_DISABLE_OS_PROBER.
Bootmenü-Eintrag für UEFI-Firmware-Einstellungen wird hinzugefügt …
Found memtest86+ image: /boot/memtest86+/memtest.bin
/usr/bin/grub-probe: Warnung: Unbekannter Gerätetyp nvme0n1.
abgeschlossen
Then I tried to kill the os_process to let the update finalize, as described here