尝试在运行 Devuan Chimaera 的 Raspberry Pi3b 上安装wireguard/wireguard-tools。
生成系统映像时受阻 --- 见下文:
dpkg: error processing package linux-image-rt-arm64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-5.10.0-27-rt-arm64
linux-image-rt-arm64
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@there:~# dpkg --configure linux-image-5.10.0-27-rt-arm64
Setting up linux-image-5.10.0-27-rt-arm64 (5.10.205-2) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 5.10.0-27-rt-arm64:.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.10.0-27-rt-arm64
Creating initrd.gz.
cp: target '/boot/initrd.gz': No such file or directory
run-parts: /etc/initramfs/post-update.d//99-initrd exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-5.10.0-27-rt-arm64 (--configure):
installed linux-image-5.10.0-27-rt-arm64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-5.10.0-27-rt-arm64
--- 这是经过几次运行后,使用apt-get satisfy
、 或后尝试的dpkg --configure
。我最终得到了上面的跟踪或类似的结果 - 但总是无法构建linux-image-5.10.0-27-rt-arm64
我最终只会重建,但我不想在那个小盒子上重新安装所有的东西:-(
谢谢!
答案1
OP - 发现问题了!
显然,我的 /boot 空间不足。删除了两个内核副本(未使用“autoremove”删除),并且在两次“apt -y升级”之后看起来像是完成了(第二次没有错误或警告)。而且,哈利路亚,它可以正常运行并且可以重新启动。
谢谢大家的帮助。