我试图lsscsi
在运行 Ubuntu 20.04 的 Raspberry Pi 4 上安装。我没有发生情况的详细日志,但它到了最后,显示“处理触发器”,然后显示“update-initramfs:生成 /boot/initrd.img”,然后它开始反复打印“分段错误(核心转储)”。
现在,每当我尝试用apt
它做任何事情时,都会发生非常类似的事情,例如:
$ sudo apt-get -f install
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-1058-raspi
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
<repeated>
它似乎正在尝试完成失败的安装。我不知道该怎么办。需要一些帮助。
编辑:我尝试过的另一件事:
$ sudo dpkg --configure -a
Setting up initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-1058-raspi
Illegal instruction (core dumped)
Illegal instruction (core dumped)
Illegal instruction (core dumped)
<repeated>