我想安装 openssl(已经安装了,但我忘了),执行后 sudo apt 安装 openssl在 bash 中,我的 shell 中出现了一些错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version (1.1.1f-1ubuntu2.16).
0 upgraded, 0 newly installed, 0 to remove and 103 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-5.4.0-128-generic (5.4.0-128.144) ...
Processing triggers for linux-image-5.4.0-128-generic (5.4.0-128.144) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-128-generic
dpkg: error processing package linux-image-5.4.0-128-generic (--configure):
installed linux-image-5.4.0-128-generic package post-installation script subprocess was killed by signal (Terminated)
Terminated
Errors were encountered while processing:
linux-image-5.4.0-128-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
我的操作系统是 ubuntu server 20.04