安装 linux-image-5.15.0-46-generic 时出现“符号链接级别过多”

安装 linux-image-5.15.0-46-generic 时出现“符号链接级别过多”

Too many levels of symbolic links当我尝试安装时,我收到一堆信息linux-image-5.15.0-46-generic

我在升级到 22.04 LTS 时遇到了这个问题。

Setting up linux-image-5.15.0-46-generic (5.15.0-46.49) ...
Processing triggers for linux-image-5.15.0-46-generic (5.15.0-46.49) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.15.0-46-generic
cp: failed to access '/var/tmp/mkinitramfs_fnyMFS//usr/sbin/reiserfsck': Too many levels of symbolic links
ln: failed to create symbolic link '/var/tmp/mkinitramfs_fnyMFS/sbin/reiserfsck': File exists
cp: failed to access '/var/tmp/mkinitramfs_fnyMFS//usr/sbin/reiserfsck': Too many levels of symbolic links
E: /usr/share/initramfs-tools/hooks/reiserfsprogs failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.0-46-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.15.0-46-generic (--configure):
 installed linux-image-5.15.0-46-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.15.0-46-generic

答案1

apt reinstall reiserfsprogs似乎已经修复了。

感谢 Libera.Chat 的 #ubuntu 上的 EriC^^!

相关内容