由于某种原因,Ubuntu 无法将我的 Pi 升级到最新/要求的内核 6.5.0-1007。无论多少sudo apt upgrade
或sudo apt fullupgrade
都无法解决这个问题。我提到了吗sudo reboot
?这个 pi 的靴子比我的衣柜还多!!!
你知道该怎么做吗?
额外信息
sudo apt 更新
运行这些命令后...
- 一切都是
InRelease
(预言) - 所有包裹都正常。这里没有问题
恰当的政策
运行这些命令后...
- 一切都是
release a=now
- 这里没有什么不寻常的
按照评论部分的建议,运行后sudo apt policy linux-image-raspi
我得到了这个:
linux-image-raspi:
Installed: 6.5.0.1007.8
Candidate: 6.5.0.1007.8
Version table:
*** 6.5.0.1007.8 500
500 http://ports.ubuntu.com/ubuntu-ports mantic-updates/main arm64 Packages
500 http://ports.ubuntu.com/ubuntu-ports mantic-security/main arm64 Packages
100 /var/lib/dpkg/status
6.5.0.1005.6 500
500 http://ports.ubuntu.com/ubuntu-ports mantic/main arm64 Packages
然而却needrestart
显示出这一点:
sudo needrestart -b
sudo needrestart -u NeedRestart::UI::stdio -r l
sudo needrestart -u NeedRestart::UI::stdio -r a
使用此输出
NEEDRESTART-VER: 3.6
NEEDRESTART-KCUR: 6.5.0-1005-raspi
NEEDRESTART-KEXP: 6.5.0-1007-raspi
NEEDRESTART-KSTA: 3
NEEDRESTART-UCSTA: 0
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Pending kernel upgrade!
Running kernel version:
6.5.0-1005-raspi
Diagnostics:
The currently running kernel version is not the expected kernel version 6.5.0-1007-raspi.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. [Return]
有效地确认我需要将内核更新到 6.5.0-1007...我认为