I am not able to update my OMV6 for a while. This is the error :
Upgrade system
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be REMOVED: linux-image-6.1.0-0.deb11.6-amd64
The following NEW packages will be installed: linux-headers-6.1.0-0.deb11.13-amd64 linux-headers-6.1.0-0.deb11.13-common linux-image-6.1.0-0.deb11.13-amd64
The following packages will be upgraded: adduser amd64-microcode base-files bind9-host bind9-libs conmon containerd.io cpio crun curl dbus distro-info-data docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin dpkg dpkg-dev grub-common grub-pc grub-pc-bin grub2-common intel-microcode libbsd0 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcuda1 libcups2 libcurl4 libdbus-1-3 libdpkg-perl libglib2.0-0 libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libncurses6 libncursesw6 libnftables1 libnghttp2-14 libnvcuvid1 libnvidia-encode1 libnvidia-ml1 libnvidia-ptxjitcompiler1 libperl5.32 libssl1.1 libtiff5 libtinfo6 libx11-6 libx11-data libxpm4 libyajl2 libzmq5 linux-compiler-gcc-10-x86 linux-headers-amd64 linux-image-amd64 linux-kbuild-6.1 linux-libc-dev locales logrotate ncurses-base ncurses-bin nftables nvidia-alternative nvidia-kernel-dkms nvidia-kernel-support nvidia-legacy-check nvidia-smi openmediavault openmediavault-compose openmediavault-ftp openmediavault-omvextrasorg openssh-client openssh-server openssh-sftp-server openssl perl perl-base perl-modules-5.32 podman postfix salt-common salt-minion tar tzdata
Preconfiguring packages ...
/tmp/grub-pc.config.H9s3R7: 39: /etc/default/grub: iommu.passthrough=1: not found
grub-pc failed to preconfigure, with exit status 127
89 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/324 MB of archives.
After this operation, 74.9 MB of additional disk space will be used.
(Reading database ... (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 112813 files and directories currently installed.)
Removing linux-image-6.1.0-0.deb11.6-amd64 (6.1.15-1~bpo11+1) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-6.1.0-0.deb11.6-amd64
/etc/kernel/postrm.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 39: /etc/default/grub: iommu.passthrough=1: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-6.1.0-0.deb11.6-amd64 (--remove): installed linux-image-6.1.0-0.deb11.6-amd64 package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing: linux-image-6.1.0-0.deb11.6-amd64
Processing was halted because there were too many errors.
** CONNECTION LOST **
ANY Ideas what is happening?